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)
commit4f618e737fafed22302d4b660eecfe1dce971b0f
tree63e5c415af74d010610887d3c3d6260181f12d71
parent0eeb68b390377148e31f000db1c533a9a49bf950
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