[Letux-kernel] [small team RFC v3 06/10] XXX ARM: fbdev: force use of device memtype
H. Nikolaus Schaller
hns at goldelico.com
Mon Feb 5 17:21:01 CET 2018
From: Matthijs van Duin <matthijsvanduin at gmail.com>
This *really* doesn't belong here
I should just override fb_mmap for omapdrm fbdev
---
arch/arm/include/asm/fb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/fb.h b/arch/arm/include/asm/fb.h
index d92e99cd8c8a..b4974b825dc1 100644
--- a/arch/arm/include/asm/fb.h
+++ b/arch/arm/include/asm/fb.h
@@ -8,7 +8,7 @@
static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
unsigned long off)
{
- vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
+ vma->vm_page_prot = pgprot_device(vma->vm_page_prot);
}
static inline int fb_is_primary_device(struct fb_info *info)
--
2.12.2
More information about the Letux-kernel
mailing list