summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/gbefb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/gbefb.c')
-rw-r--r--drivers/video/fbdev/gbefb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/gbefb.c b/drivers/video/fbdev/gbefb.c
index e89e557925..8463de833d 100644
--- a/drivers/video/fbdev/gbefb.c
+++ b/drivers/video/fbdev/gbefb.c
@@ -1000,6 +1000,8 @@ static int gbefb_mmap(struct fb_info *info,
unsigned long phys_addr, phys_size;
u16 *tile;
+ vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
+
/* check range */
if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT))
return -EINVAL;