]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: cache the fence to wait for a VMID
authorChristian König <christian.koenig@amd.com>
Wed, 31 Jan 2018 15:03:19 +0000 (16:03 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:18 +0000 (14:19 -0500)
commit3115143b97baa653743e299584c4faeb9e744ced
tree869c184af030c2b386101e5f4b92200836ab74ca
parentf6388681306de2f66bc7336a89699eeff56c1818
drm/amdgpu: cache the fence to wait for a VMID

Beneficial when a lot of processes are waiting for VMIDs.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h