]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite39cb05dc1f7f7f9a6b7f0b97db4451449ce15e7
tree9c387a6cb4ef2029946a1167a9ef66847eefd419
parent7687a8a9d536b3a56be985b2ffb9087817182838
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