]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: user BO priority instead of self coding it (v2)
authorChristian König <christian.koenig@amd.com>
Tue, 10 Jan 2017 16:27:49 +0000 (17:27 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 17:20:33 +0000 (12:20 -0500)
commit669838d8fd42d20456899ff588effb1886245b72
tree29689d69c58bacf23601ef70a1adde165d3b1a88
parent88d7f36b49f71c153424c315b54a0b67f37dfd33
drm/amdgpu: user BO priority instead of self coding it (v2)

Keeping groups of BOs on the LRU is to time consuming on command submission.

Instead use the newly added BO priority to give a certain eviction order.

v2: agd: trivial warning fix

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Roger.He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h