drm/ttm: add helper structures for bulk moves on lru list
authorChristian König <christian.koenig@amd.com>
Mon, 6 Aug 2018 08:46:26 +0000 (16:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:20 +0000 (11:11 -0500)
commit8c7655a0fdd32ab39cfef604403dbe1013df213b
tree935aa634e65b548661c89bb34742c3f326c757e1
parent11c3a249ff7a1c710011bd06a451956f2a40c30c
drm/ttm: add helper structures for bulk moves on lru list

Add bulk move pos to store the pointer of first and last buffer object.
The list in between will be bulk moved on lru list.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/drm/ttm/ttm_bo_driver.h