]> 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)
commit29032922789a423985e3c0ef879ba53c31aff13a
tree63e5c415af74d010610887d3c3d6260181f12d71
parente5c870b90d6535062d18f8ee4d076bc6792c2e95
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