summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/hisilicon
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-01-12 11:50:13 +0100
committerAlex Deucher <alexander.deucher@amd.com>2017-01-27 12:20:34 -0500
commit260498f2cdfcf3a3a266b212a86c9059623ffa32 (patch)
treea13c67632d9acef4e4c7a7d9bab4b87c4751f01b /drivers/gpu/drm/hisilicon
parent373308a5f5f3f82656567481f688350887abb771 (diff)
downloadlinux-260498f2cdfcf3a3a266b212a86c9059623ffa32.tar.gz
linux-260498f2cdfcf3a3a266b212a86c9059623ffa32.tar.bz2
linux-260498f2cdfcf3a3a266b212a86c9059623ffa32.zip
drm/ttm: revert "implement LRU add callbacks v2"
The additional housekeeping had too much CPU overhead, let's use the BO priorities instead. agd: also revert hibmc changes Reviewed-by: Sinclair Yeh <syeh@vmware.com> Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-and-Tested-by: Roger.He <Hongbo.He@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/hisilicon')
-rw-r--r--drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c
index 3c6f750389fb..20732b62d4c9 100644
--- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c
+++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c
@@ -243,8 +243,6 @@ struct ttm_bo_driver hibmc_bo_driver = {
.verify_access = hibmc_bo_verify_access,
.io_mem_reserve = &hibmc_ttm_io_mem_reserve,
.io_mem_free = NULL,
- .lru_tail = &ttm_bo_default_lru_tail,
- .swap_lru_tail = &ttm_bo_default_swap_lru_tail,
};
int hibmc_mm_init(struct hibmc_drm_private *hibmc)