]> git.baikalelectronics.ru Git - kernel.git/commit
drm/modes: Add a switch to differentiate free standing options
authorMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 27 Aug 2019 11:58:47 +0000 (13:58 +0200)
committerMaxime Ripard <mripard@kernel.org>
Fri, 30 Aug 2019 08:18:15 +0000 (10:18 +0200)
commitff7241aeb97ee3af73d636f15d659d0d2b46d641
tree13dcc7268b51c68ab00b294d261848f466cac21f
parent35c669b70b3ec7d38daa0da1961d8089812ca6ce
drm/modes: Add a switch to differentiate free standing options

Some extra command line options can be either specified without anything
else on the command line (basically all the force connection options), but
some other are only relevant when matched with a resolution (margin and
interlace).

Let's add a switch to restrict if needed the available option set.

Fixes: 184e8e2bdc12 ("drm/modes: Rewrite the command line parser")
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Thomas Graichen <thomas.graichen@gmail.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190827115850.25731-1-mripard@kernel.org
drivers/gpu/drm/drm_modes.c