JIRA: https://issues.redhat.com/browse/RHEL-23295 Upstream Status: v6.8-rc1 Conflicts: drivers/video/fbdev/au1200fb.c commit 76f92201b821dd2f442ebe37ec9b52b525855bac Author: Thomas Zimmermann <tzimmermann@suse.de> AuthorDate: Mon Nov 27 14:15:58 2023 +0100 Commit: Thomas Zimmermann <tzimmermann@suse.de> CommitDate: Wed Nov 29 12:20:44 2023 +0100 If a driver sets struct fb_ops.fb_mmap, the fbdev core automatically calls pgprot_decrypted(). But the default fb_mmap code doesn't handle pgprot_decrypted(). Move the call to pgprot_decrypted() into each drivers' fb_mmap function. This only concerns fb_mmap functions for system and DMA memory. For I/O memory, which is the default case, nothing changes. The fb_mmap for I/O-memory can later be moved into a helper as well. DRM's fbdev emulation handles pgprot_decrypted() internally via the Prime helpers. Fbdev doesn't have to do anything in this case. In cases where DRM uses deferred I/O, this patch updates fb_mmap correctly. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231127131655.4020-30-tzimmermann@suse.de Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
arm-charlcd.c | ||
cfag12864b.c | ||
cfag12864bfb.c | ||
charlcd.c | ||
charlcd.h | ||
hd44780.c | ||
hd44780_common.c | ||
hd44780_common.h | ||
ht16k33.c | ||
img-ascii-lcd.c | ||
ks0108.c | ||
lcd2s.c | ||
panel.c |