diff options
author | 2019-11-18 16:51:28 +0100 | |
---|---|---|
committer | 2019-12-16 12:13:18 +0100 | |
commit | 6a2d163756545aa3180d7851d5f8322b865e72be (patch) | |
tree | 7bf6ccfcb5aa5eb3491a60a58530392f8a09c8de /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | drm/modes: parse_cmdline: Add freestanding argument to drm_mode_parse_cmdline_options() (diff) | |
download | linux-dev-6a2d163756545aa3180d7851d5f8322b865e72be.tar.xz linux-dev-6a2d163756545aa3180d7851d5f8322b865e72be.zip |
drm/modes: parse_cmdline: Set bpp/refresh_specified after successful parsing
drm_connector_get_cmdline_mode() calls
drm_mode_parse_command_line_for_connector() with &connector->cmdline_mode
as mode argument, so anything which we store in the mode arguments gets
kept even if we return false.
Avoid storing a possibly false-postive bpp/refresh_specified setting
in connector->cmdline_mode by moving the setting of these to after
successful parsing of the bpp/refresh parts of the video= argument.
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-7-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions