summaryrefslogtreecommitdiff
path: root/mm/slab.h
diff options
context:
space:
mode:
authorTan Xiaojun <tanxiaojun@huawei.com>2017-12-25 06:43:23 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-12-27 19:34:37 +0300
commitc67fa6edc8b11afe22c88a23963170bf5f151acf (patch)
tree852082dd9eac2f8d47380e045ea18b2aa597fc60 /mm/slab.h
parent727ffdf2ac6d165f611b1accdf7f6ca770595aea (diff)
downloadlinux-c67fa6edc8b11afe22c88a23963170bf5f151acf.tar.xz
drm/ttm: add ttm_bo_io_mem_pfn to check io_mem_pfn
The io_mem_pfn field was added in commit ea642c3216cb ("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>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions