]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: remove ttm_bo_default_io_mem_pfn
authorTan Xiaojun <tanxiaojun@huawei.com>
Mon, 25 Dec 2017 03:43:34 +0000 (11:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jan 2018 20:44:51 +0000 (15:44 -0500)
commitdde5874fb8795a0c8c01a02fa482b735aff4bc68
tree484942a973b923bd7a1fbcc5a8af243bf6f82f03
parent5292db4fe46e71d0908ff6bb4086aa98413bbea1
drm/ttm: remove ttm_bo_default_io_mem_pfn

No one will use this function except ttm_bo_io_mem_pfn() now, so move
the calculation of ttm_bo_default_io_mem_pfn() into ttm_bo_io_mem_pfn()
and do some cleanup.

Signed-off-by: Tan Xiaojun <tanxiaojun@huawei.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_vm.c
include/drm/ttm/ttm_bo_api.h