]> git.proxmox.com Git - mirror_ubuntu-disco-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>
Wed, 24 Aug 2016 14:27:49 +0000 (10:27 -0400)
commit5661538749511d4c2f7d33e1e179f10c545b24d5
tree7cbe9ecc1964dae99010dd013e2309f4712150ff
parentbdf001374bfe12677ae6ec5076452493fb682012
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c