OSDN Git Service

drm/ttm: add lru notify to bo driver v2
authorChunming Zhou <david1.zhou@amd.com>
Thu, 10 Jan 2019 09:56:39 +0000 (17:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commitae6d343541bb75958e9535d056adaf4ff6a66d6a
tree686553f24f4646eba7c51ba82d524dc97d4feb5c
parent466bcb75b0791ba301817cdadeed20398f2224fe
drm/ttm: add lru notify to bo driver v2

allow driver do somethings when lru changed.
v2:
address Michel's comments.

Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_driver.h