]> git.baikalelectronics.ru Git - kernel.git/commit
drm/client: Look for command-line modes first
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 11 May 2022 18:31:24 +0000 (20:31 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 16 May 2022 11:43:21 +0000 (13:43 +0200)
commite22a185b992e6df4d5b8460612133808f386763d
treef5a29ba81ab6ea052c73c7bca518d92d536b5377
parentf25d91f4ddee12ed7d0ad77ae0126f2294d222c6
drm/client: Look for command-line modes first

When picking a mode, first look for modes that have been specified
by the user on the kernel's command line. Only if that fails, use
the existing heuristic of picking a nearby mode from it's various
parameters.

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-3-tzimmermann@suse.de
drivers/gpu/drm/drm_client_modeset.c