]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: call ttm_bo_swapout directly when ttm shrink
authorRoger He <Hongbo.He@amd.com>
Mon, 18 Dec 2017 11:50:08 +0000 (19:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Dec 2017 16:38:11 +0000 (11:38 -0500)
commit270067ded123fa6647071af111286f7bda136dea
treea4c7f906baf50094c998479a974c3127e551b053
parentd38fbf178852d84294d9efcb58d067c4a270962e
drm/ttm: call ttm_bo_swapout directly when ttm shrink

remove the extra indirection because we have only one implementation anyway

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_memory.c
include/drm/ttm/ttm_bo_api.h
include/drm/ttm/ttm_bo_driver.h
include/drm/ttm/ttm_memory.h