Skip to content

Commit 2fc2dd7

Browse files
lynxeye-devDavid Herrmann
authored andcommitted
drm/ttm: recognize ARM arch in ioprot handler
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>
1 parent 6d6dfcf commit 2fc2dd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/ttm/ttm_bo_util.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp)
500500
pgprot_val(tmp) |= _PAGE_GUARDED;
501501
}
502502
#endif
503-
#if defined(__ia64__)
503+
#if defined(__ia64__) || defined(__arm__)
504504
if (caching_flags & TTM_PL_FLAG_WC)
505505
tmp = pgprot_writecombine(tmp);
506506
else

0 commit comments

Comments
 (0)