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)
commite83bf4adf54ad39d85cb58de0b1495c93936f4a2
tree484942a973b923bd7a1fbcc5a8af243bf6f82f03
parente42b93758bde103b6585ed0af7b37494464ec493
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