summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-01-12 11:54:11 +0100
committerAlex Deucher <alexander.deucher@amd.com>2017-01-27 12:20:35 -0500
commit896d630d240e90850fdb094f75445823fe0e0849 (patch)
tree638c3a75326cfb3d1233dbe124b9ae64b078d995 /include/drm
parent260498f2cdfcf3a3a266b212a86c9059623ffa32 (diff)
downloadlinux-896d630d240e90850fdb094f75445823fe0e0849.tar.gz
linux-896d630d240e90850fdb094f75445823fe0e0849.tar.bz2
linux-896d630d240e90850fdb094f75445823fe0e0849.zip
drm/ttm: revert "add optional LRU removal callback v2"
Without the custom LRU management the callback is not used any more. agd: fix trivial warning 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 'include/drm')
-rw-r--r--include/drm/ttm/ttm_bo_driver.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index f1b243f112aa..7e75fa053473 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -462,12 +462,6 @@ struct ttm_bo_driver {
struct ttm_mem_reg *mem);
void (*io_mem_free)(struct ttm_bo_device *bdev,
struct ttm_mem_reg *mem);
-
- /**
- * Optional driver callback for when BO is removed from the LRU.
- * Called with LRU lock held immediately before the removal.
- */
- void (*lru_removal)(struct ttm_buffer_object *bo);
};
/**