summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2021-04-21 19:25:45 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-05-19 22:44:10 -0400
commite552ee40b02bb6d30b0278d03fa03fae357ec043 (patch)
treedb4ef5b693cc52706bcc41b35cf8c6e7fbf50df8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parent5ac3c3e45fb93d14102fc7cdc69ad909f6980388 (diff)
drm/amdgpu: Move dmabuf attach/detach to backend_(un)bind
The dmabuf attachment should be updated by moving the SG BO to DOMAIN_CPU and back to DOMAIN_GTT. This does not necessarily invoke the populate/unpopulate callbacks. Do this in backend_bind/unbind instead. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Acked-by: Oak Zeng <Oak.Zeng@amd.com> Acked-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions