summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-09-04 17:47:23 +1000
committerDave Airlie <airlied@redhat.com>2014-09-23 15:00:26 +1000
commit94318d50ffc84a1ebaf1a83a0a56bbbaf415bacf (patch)
tree33615cd5feabb051b2f8f54614a297d8e4ccd2af /include/drm
parent6bd3110ce6e50fb15c975b26f068d606f4434431 (diff)
drm/ttm: Clean usage of ttm_io_prot() with TTM_PL_FLAG_CACHED
Today, most callers of ttm_io_prot() check TTM_PL_FLAG_CACHED before calling it since on some archs it will unconditionally create non-cached mappings. But not all callers do which is incorrect as far as I can tell. Instead, move that check inside ttm_io_port() itself for all archs and make powerpc use the same implementation as ia64 and arm Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions