]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/sysfb: Add vesadrm for VESA displays
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 1 Apr 2025 09:37:19 +0000 (11:37 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 7 Apr 2025 09:02:07 +0000 (11:02 +0200)
commita84eb6abe2b6a7201610645749275c8ac999fd1a
treeb77970f459e7cdf76cf813c96453902939ec2231
parent305396ac7782c2f1aba407bab06e9da68588ffef
drm/sysfb: Add vesadrm for VESA displays

Add support for screen_info setups with VIDEO_TYPE_VLFB. Provide the
minimum functionality of reading modes, updating and clearing the display.

There is existing support for these displays provided by simpledrm with
CONFIG_SYSFB_SIMPLEFB=y. Using vesadrm over simpledrm will allow for the
use of additional functionality provided by VESA, such as EDID information,
gamma correction and palette modes. This enhances the user experience and
adds support for more display configuratons.

v4:
- depend on CONFIG_X86
v3:
- depend on !SYSFB_SIMPLEFB (Javier)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250401094056.32904-17-tzimmermann@suse.de
drivers/gpu/drm/sysfb/Kconfig
drivers/gpu/drm/sysfb/Makefile
drivers/gpu/drm/sysfb/vesadrm.c [new file with mode: 0644]