]> git.ipfire.org Git - thirdparty/linux.git/commit
sysfb: Move edid_info into sysfb_primary_display
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 26 Nov 2025 16:03:23 +0000 (17:03 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 16 Dec 2025 13:12:44 +0000 (14:12 +0100)
commit4fcae635887195d6ecc427d503d7671ca46bc11b
tree31a42454f03c299d19f655fe42a6328d4ef332f0
parent08e583ad68577ff5135d2b6fad1d3b4b400074a5
sysfb: Move edid_info into sysfb_primary_display

Move x86's edid_info into sysfb_primary_display as a new field named
edid. Adapt all users.

An instance of edid_info has only been defined on x86. With the move
into sysfb_primary_display, it becomes available on all architectures.
Therefore remove this contraint from CONFIG_FIRMWARE_EDID.

x86 fills the EDID data from boot_params.edid_info. DRM drivers pick
up the raw data and make it available to DRM clients. Replace the
drivers' references to edid_info and instead use the sysfb_display_info
as passed from sysfb.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/kernel/setup.c
drivers/gpu/drm/sysfb/efidrm.c
drivers/gpu/drm/sysfb/vesadrm.c
drivers/video/fbdev/core/fbmon.c
include/linux/sysfb.h
include/video/edid.h