RE: [PATCH v2 10/10] drm/amdgpu: Move dmabuf attach/detach to backend_(un)bind

2021-05-10 Thread Errabolu, Ramesh
v2 10/10] drm/amdgpu: Move dmabuf attach/detach to backend_(un)bind Am 22.04.21 um 03:30 schrieb Felix Kuehling: > 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. D

Re: [PATCH v2 10/10] drm/amdgpu: Move dmabuf attach/detach to backend_(un)bind

2021-04-22 Thread Christian König
Am 22.04.21 um 03:30 schrieb Felix Kuehling: 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 Reviewed-by:

[PATCH v2 10/10] drm/amdgpu: Move dmabuf attach/detach to backend_(un)bind

2021-04-21 Thread Felix Kuehling
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 --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 3 -- d