drm/amdgpu: fix lru size grouping v2
authorChristian König <christian.koenig@amd.com>
Wed, 17 Aug 2016 11:44:20 +0000 (13:44 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Aug 2016 17:47:23 +0000 (13:47 -0400)
commit1fdc0b76ea9b6f6a50aa76b7cb7a025f87c1319d
tree9c387a6cb4ef2029946a1167a9ef66847eefd419
parent8cc5e80641ed5e3973bd44c170529a756742e990
drm/amdgpu: fix lru size grouping v2

Adding a BO can make it the insertion point for larger sizes as well.

v2: add a comment about the guard structure.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h