diff options
| author | Hans de Goede <[email protected]> | 2019-11-18 16:51:29 +0100 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2019-12-16 12:13:18 +0100 |
| commit | 7b1cce760afe38b40f0989cdf10b2190dccf9815 (patch) | |
| tree | 5553f3e3e1d12af18f1a2c8e64e85fe96054d926 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 6a2d163756545aa3180d7851d5f8322b865e72be (diff) | |
drm/modes: parse_cmdline: Allow specifying stand-alone options
Some options which can be specified on the commandline, such as
margin_right=..., margin_left=..., etc. are applied not only to the
specified mode, but to all modes. As such it would be nice if the user
can simply say e.g.
video=HDMI-1:margin_right=14,margin_left=24,margin_bottom=36,margin_top=42
This commit refactors drm_mode_parse_command_line_for_connector() to
add support for this, and as a nice side effect also cleans up the
function a bit.
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions