summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/au1100fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/au1100fb.c')
-rw-r--r--drivers/video/fbdev/au1100fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/au1100fb.c b/drivers/video/fbdev/au1100fb.c
index a9c8d33a6e..08109ce535 100644
--- a/drivers/video/fbdev/au1100fb.c
+++ b/drivers/video/fbdev/au1100fb.c
@@ -342,6 +342,8 @@ int au1100fb_fb_mmap(struct fb_info *fbi, struct vm_area_struct *vma)
{
struct au1100fb_device *fbdev = to_au1100fb_device(fbi);
+ vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
+
pgprot_val(vma->vm_page_prot) |= (6 << 9); //CCA=6
return dma_mmap_coherent(fbdev->dev, vma, fbdev->fb_mem, fbdev->fb_phys,