summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_format_helper.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-01-02 14:29:25 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2023-01-03 16:27:12 +0300
commit37c90d589dc06c1ae19b5eb4ed79e7a70ccc21bf (patch)
treedcab9760a789aa2a46a56d6d4e6e7df6446a04d7 /drivers/gpu/drm/drm_format_helper.c
parentcff84bac99220029ca2e3fd974281cd760ca35c0 (diff)
downloadlinux-37c90d589dc06c1ae19b5eb4ed79e7a70ccc21bf.tar.xz
drm/fb-helper: Fix single-probe color-format selection
Fix the color-format selection of the single-probe helper. Go through all user-specified values and test each for compatibility with the driver. If none is supported, use the driver-provided default. This guarantees that the console is always available in any color format at least. Until now, the format selection of the single-probe helper tried to either use a user-specified format or a 32-bit default format. If the user-specified format was not supported by the driver, the selection failed and the display remained blank. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230102112927.26565-12-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/drm_format_helper.c')
0 files changed, 0 insertions, 0 deletions