[PATCH 2/4] drm/modes: Fix the command line parser to take force options into account

Jernej Škrabec jernej.skrabec at gmail.com
Thu Aug 29 18:14:08 UTC 2019


Hi!

Dne torek, 27. avgust 2019 ob 13:58:48 CEST je Maxime Ripard napisal(a):
> From: Maxime Ripard <maxime.ripard at bootlin.com>
> 
> The command line parser when it has been rewritten introduced a regression
> when the only thing on the command line is an option to force the detection
> of a connector (such as video=HDMI-A-1:d), which are completely valid.
> 
> It's been further broken by the support for the named modes which take
> anything that is not a resolution as a named mode.
> 
> Let's fix this by running the extra command line option parser on the named
> modes if they only take a single character.
> 
> Fixes: e08ab74bd4c7 ("drm/modes: Rewrite the command line parser")
> Reported-by: Jernej Škrabec <jernej.skrabec at gmail.com>
> Reported-by: Thomas Graichen <thomas.graichen at googlemail.com>
> Signed-off-by: Maxime Ripard <maxime.ripard at bootlin.com>

Reviewed-by: Jernej Skrabec <jernej.skrabec at siol.net>

Best regards,
Jernej




More information about the dri-devel mailing list