]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add amdgpu_sync_wait
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Mon, 15 May 2017 19:09:15 +0000 (15:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2017 15:29:46 +0000 (11:29 -0400)
commit847883261ada7887c45af73de90956dd35957d16
tree823acf78c3721a78a31972ba8f02472f1e67171c
parentc096f0b5bb06921aca4a80d69527f22e12e47013
drm/amdgpu: Add amdgpu_sync_wait

v2: Add intr option

Helper function useful for CPU update of VM page tables. Also useful if
kernel have to synchronously wait till VM page tables are updated.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@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_sync.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h