diff options
author | 2019-11-18 16:51:24 +0100 | |
---|---|---|
committer | 2019-12-16 12:13:17 +0100 | |
commit | c2ed3e941901810ad3d55ce1935fa22c5007fee4 (patch) | |
tree | 4faa37a30d5e5eae68f6b847854ad2e862e1bdb1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | drm/modes: parse_cmdline: Make various char pointers const (diff) | |
download | linux-dev-c2ed3e941901810ad3d55ce1935fa22c5007fee4.tar.xz linux-dev-c2ed3e941901810ad3d55ce1935fa22c5007fee4.zip |
drm/modes: parse_cmdline: Stop parsing extras after bpp / refresh at ', '
Before this commit it was impossible to add an extra mode argument after
a bpp or refresh specifier, combined with an option, e.g.
video=HDMI-1:720x480-24e,rotate=180 would not work, either the "e" to
force enable would need to be dropped or the ",rotate=180", otherwise
the mode_option would not be accepted.
This commit fixes this by fixing the length calculation if extras_ptr
is set to stop the extra parsing at the start of the options (stop at the
',' options_ptr points to).
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191118155134.30468-3-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions