]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Always warn if user-defined modes are not supported
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 11 May 2022 18:31:23 +0000 (20:31 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 16 May 2022 11:42:49 +0000 (13:42 +0200)
commitf25d91f4ddee12ed7d0ad77ae0126f2294d222c6
tree139f43d2cbf1fffc6fb070c1b9917d73c3d1ac23
parente54fb1e8b7b38bf7bd0bb2625cf3613bde908004
drm: Always warn if user-defined modes are not supported

Print a warning if a user-specifed display mode is not supported by
the display pipeline. Users specified the display mode on the kernel
command line with the use of the video= parameter. Setting an
unsupported mode will leave the console blank, so we should at least
let the user know why.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220511183125.14294-2-tzimmermann@suse.de
drivers/gpu/drm/drm_modes.c