diff options
author | Ville Syrjälä <[email protected]> | 2018-04-24 16:02:50 +0300 |
---|---|---|
committer | Sean Paul <[email protected]> | 2018-04-25 15:03:13 -0400 |
commit | 1f6b8eef11c3d097bc8a6b2bbb868eb47ec6f7d8 (patch) | |
tree | 733fe38821e2be7a500a37560987e8c2a29f812c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d02d270014f70dcab0117776b81a37b6fca745ae (diff) |
drm/edid: Reset more of the display info
We're currently failing to reset everything in display_info.hdmi
which will potentially cause us to use stale information when
swapping monitors. Eg. if the user replaces a HDMI 2.0 monitor
with a HDMI 1.x monitor we will continue to think that the monitor
supports scrambling. That will lead to a black screen since the
HDMI 1.x monitor won't understand the scrambled signal.
Fix the problem by clearing display_info.hdmi fully. And while at
eliminate some duplicated code by calling drm_reset_display_info()
in drm_add_display_info().
Cc: [email protected]
Cc: Antony Chen <[email protected]>
Cc: Shashank Sharma <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105655
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Tested-by: Antony Chen <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions