]> 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)
commit0414a13aa5bd788b8b89112f96dd0e30449f1623
tree13dcc7268b51c68ab00b294d261848f466cac21f
parentc3f8b406e5b7438475d63a4813433a49f6207842
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: f48da028cdd0 ("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