]> 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)
commit1deb6f91273cfb5315ae0e61a1cb7a2787c682b2
tree29689d69c58bacf23601ef70a1adde165d3b1a88
parent27bf1d92de56ccf942404f87136ba613153f9ce8
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