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)
commitb6415bd7386bcf9d2e0d6ee1d4ef4186e7a87b24
tree139f43d2cbf1fffc6fb070c1b9917d73c3d1ac23
parent98526c5bbe3267d447ddd076b685439e3e1396c6
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