linux/drivers/gpu/drm/ttm
Tan Xiaojun c67fa6edc8 drm/ttm: add ttm_bo_io_mem_pfn to check io_mem_pfn
The io_mem_pfn field was added in commit ea642c3216 ("drm/ttm: add
io_mem_pfn callback") and is called unconditionally. However, not all
drivers were updated to set it.

Use the ttm_bo_default_io_mem_pfn function if a driver did not set its
own. And add new function ttm_bo_io_mem_pfn() as wrapper.

Signed-off-by: Michal Srb <msrb@suse.com>
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>
2017-12-27 11:34:37 -05:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ttm_agp_backend.c
ttm_bo.c drm/ttm: drop the spin in delayed delete if the trylock doesn't work 2017-12-27 11:34:25 -05:00
ttm_bo_manager.c drm/ttm: make ttm_mem_type_manager_func debug more useful 2017-08-17 15:45:59 -04:00
ttm_bo_util.c drm/ttm: cleanup some more resv->lock uses 2017-12-18 11:52:54 -05:00
ttm_bo_vm.c drm/ttm: add ttm_bo_io_mem_pfn to check io_mem_pfn 2017-12-27 11:34:37 -05:00
ttm_execbuf_util.c drm/ttm: consistently use reservation_object_unlock 2017-12-06 12:47:19 -05:00
ttm_lock.c
ttm_memory.c drm/ttm: add support for different pool sizes 2017-10-06 17:44:16 -04:00
ttm_module.c
ttm_object.c drm/ttm: Avoid calling drm_ht_remove from atomic context 2017-03-30 11:43:40 +02:00
ttm_page_alloc.c drm/ttm: max_cpages is in unit of native page 2017-12-12 14:48:52 -05:00
ttm_page_alloc_dma.c drm/ttm: Use a static string instead of an array of char * 2017-12-06 12:48:27 -05:00
ttm_tt.c drm: drop drm_[cm]alloc* helpers 2017-05-18 17:22:39 +02:00