OSDN Git Service

drm/amdgpu: explicitely sync to VM updates v2
authorChristian König <christian.koenig@amd.com>
Fri, 29 Nov 2019 10:33:54 +0000 (11:33 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Dec 2019 22:02:07 +0000 (17:02 -0500)
commite095fc17bbd216ccac7fe06132067ae6e91f01c3
treedc3982890af6a159e6b2316ad1b44bb831dd840d
parent6ceeb144b1d6952a36afa6c29718beac575f2a3f
drm/amdgpu: explicitely sync to VM updates v2

Allows us to reduce the overhead while syncing to fences a bit.

v2: also drop adev parameter from the functions

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c