]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commita6c26af8a4348a0ba2eb146b08f4d4d908cd9222
treea4c7f906baf50094c998479a974c3127e551b053
parent44835a86276ac2c90661267d3a3738aa1fa159ef
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