projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d6dfcf
)
drm/ttm: recognize ARM arch in ioprot handler
author
Lucas Stach
<dev@lynxeye.de>
Fri, 27 Jun 2014 11:29:09 +0000
(20:29 +0900)
committer
David Herrmann
<dh.herrmann@gmail.com>
Mon, 7 Jul 2014 22:34:18 +0000
(
00:34
+0200)
Nouveau can now be used on ARM, so add an ioprot handler for this
architecture.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
drivers/gpu/drm/ttm/ttm_bo_util.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/ttm/ttm_bo_util.c
b/drivers/gpu/drm/ttm/ttm_bo_util.c
index 1df856f7856821b31fe96e55dac5bc74bd74ed4b..30e5d90cb7bc6e17980d4da275d35416d131e012 100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_bo_util.c
+++ b/
drivers/gpu/drm/ttm/ttm_bo_util.c
@@
-500,7
+500,7
@@
pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp)
pgprot_val(tmp) |= _PAGE_GUARDED;
}
#endif
-#if defined(__ia64__)
+#if defined(__ia64__)
|| defined(__arm__)
if (caching_flags & TTM_PL_FLAG_WC)
tmp = pgprot_writecombine(tmp);
else