Skip to content

Commit

Permalink
drm/ttm: recognize ARM arch in ioprot handler
Browse files Browse the repository at this point in the history
Nouveau can now be used on ARM, so add an ioprot handler for this
architecture.

Signed-off-by: Lucas Stach <[email protected]>
Signed-off-by: Alexandre Courbot <[email protected]>
Signed-off-by: David Herrmann <[email protected]>
  • Loading branch information
lynxeye-dev authored and David Herrmann committed Jul 7, 2014
1 parent 6d6dfcf commit 2fc2dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/ttm/ttm_bo_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fc2dd7

Please sign in to comment.