diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-02-17 16:56:20 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-02-20 14:38:23 +0100 |
| commit | b3728905dca29ea4e00c0587f27c3a637b13b2d8 (patch) | |
| tree | bc24a11dc730e101e8b362c5de26f8a5fce0102f /include/linux | |
| parent | 27fc52b5505a3acca96b884a4bf1345344e5a566 (diff) | |
drm/sysfb: Generalize pixel-format matching
Provide drm_sysfb_get_format(), a helper that finds a specific DRM
format from a list of pixel formats. The new function builds upon
drm_sysfb_get_format_si(), which finds the DRM format from a given
instance of struct screen_info. Now get the screen_info's pixel format
in the caller. Allows for matching pixel formats in drivers without
screen_info.
Convert the callers in efidrm and vesadrm to the new interface.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Julius Werner <jwerner@chromium.org>
Link: https://patch.msgid.link/20260217155836.96267-11-tzimmermann@suse.de
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
