drm/amdgpu: drop VMID per ring tracking
authorChristian König <[email protected]>
Thu, 6 Apr 2017 13:18:21 +0000 (15:18 +0200)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Reviewed-by: Andres Rodriguez <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h