]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add helper to wait for BO fences using a sync object
authorFelix Kuehling <Felix.Kuehling@amd.com>
Mon, 4 Feb 2019 22:46:35 +0000 (17:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Feb 2019 22:50:32 +0000 (17:50 -0500)
commit631b998a980914dcba7b1cd888c89182b01779b5
tree3b5e4047acc9f3f7e679472f000e448deeb9c6e5
parentff853bccd9350985544a3afe646d2c16a55ca475
drm/amdgpu: Add helper to wait for BO fences using a sync object

Creates a temporary sync object to wait for the BO reservation. This
generalizes amdgpu_vm_wait_pd.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c