diff options
author | Maxime Ripard <[email protected]> | 2019-08-27 13:58:48 +0200 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2019-08-30 10:19:15 +0200 |
commit | 728a257f652aee5dd03ecde90b11f414a255e08b (patch) | |
tree | 1dd8343e79f614da77ff95359b5f5fd72d6d17ce /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 325d0ab3a1d1ad8b8c4f9f03fd866e55b0e24254 (diff) |
drm/modes: Fix the command line parser to take force options into account
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 <[email protected]>
Reported-by: Thomas Graichen <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Tested-by: Thomas Graichen <[email protected]>
Reviewed-by: Jernej Skrabec <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions