[PATCH 14/18] drm/sysfb: Add efidrm for EFI displays

Javier Martinez Canillas javierm at redhat.com
Mon Mar 31 09:35:28 UTC 2025


Thomas Zimmermann <tzimmermann at suse.de> writes:

> Add support for screen_info setups with VIDEO_TYPE_EFI. 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 efidrm over simpledrm will allows for the
> mapping of video memory with correct caching. Simpledrm always assumes WC
> caching, while fully cached memory is possible with efidrm. Efidrm will
> also allow for the use of additional functionality provided by EFI, such
> as EDID information.
>
> In addition to efidrm, add struct pixel_format plus initializer macros.
> The type and macros describe pixel formats in a generic way on order to
> find the DRM format from the screen_info settings. Similar existing code
> in SIMPLEFB_FORMATS and fbdev is not really what is needed in efidrm,
> but SIMPLEFB_FORMATS can later be converted to struct pixel_format.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---

Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list