Centos-kernel-stream-9/drivers/auxdisplay
Jocelyn Falempe 7f17640608 fbdev: Push pgprot_decrypted() into mmap implementations
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>
2024-05-20 11:00:12 +02:00
..
Kconfig auxdisplay: Fix duplicate CHARLCD config symbol 2021-01-25 22:14:19 +01:00
Makefile auxdisplay: add a driver for lcd2s character display 2020-11-04 11:04:05 +01:00
arm-charlcd.c auxdisplay: Replace HTTP links with HTTPS ones 2020-08-08 16:10:03 +02:00
cfag12864b.c treewide: Miguel has moved 2021-02-26 09:41:03 -08:00
cfag12864bfb.c fbdev: Push pgprot_decrypted() into mmap implementations 2024-05-20 11:00:12 +02:00
charlcd.c auxdisplay: Remove in_interrupt() usage. 2021-03-16 16:32:40 +01:00
charlcd.h auxdisplay: Change gotoxy calling interface 2020-11-04 11:04:04 +01:00
hd44780.c auxdisplay: Move char redefine code to hd44780_common 2020-11-04 11:04:04 +01:00
hd44780_common.c auxdisplay: Change gotoxy calling interface 2020-11-04 11:04:04 +01:00
hd44780_common.h auxdisplay: Change gotoxy calling interface 2020-11-04 11:04:04 +01:00
ht16k33.c fbdev: Push pgprot_decrypted() into mmap implementations 2024-05-20 11:00:12 +02:00
img-ascii-lcd.c auxdisplay: img-ascii-lcd: convert to devm_platform_ioremap_resource 2020-03-06 22:07:10 +01:00
ks0108.c treewide: Miguel has moved 2021-02-26 09:41:03 -08:00
lcd2s.c auxdisplay: fix platform_no_drv_owner.cocci warnings 2020-11-14 09:52:35 +01:00
panel.c treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00