]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: drop VMID per ring tracking
authorChristian König <christian.koenig@amd.com>
Thu, 6 Apr 2017 13:18:21 +0000 (15:18 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:17 +0000 (17:32 -0400)
commit633f1bec913f8a75771ed8a75701c8e61cf2dc35
tree63e5c415af74d010610887d3c3d6260181f12d71
parente184ee28f8b0a578835358e737dd351b29ccd5aa
drm/amdgpu: drop VMID per ring tracking

David suggested this a long time ago, instead of checking
each ring just walk over all the VMIDs in reverse LRU order.

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