diff options
author | Damien Lespiau <[email protected]> | 2012-12-13 16:09:00 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2012-12-14 11:12:58 +0100 |
commit | b0ea7d37a8f63eeec5ae80b4a6403cfba01da02f (patch) | |
tree | d54a30f90184ab61225ff1f79ddf2eb8debc12c1 /tools/perf/scripts/python/sctop.py | |
parent | b696519e51910943f084ea0fc8bdceceae8383ef (diff) |
drm/i915/hdmi: Read the HPD status before trying to read the EDID
If you unplug the hdmi connector slowly enough, the hotplug interrupt
fires but then the kernel code tries to read the EDID and succeeds
(because the connector is still half connected, the HPD pin is shorter
than the others, and DDC works). Since EDID succeeds it thinks the
monitor is still connected.
To prevent that, read the live HPD status in the hotplug handler before
trying to read the EDID.
v2: Rename the function to ibx_ (Chris Wilson)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55372
Signed-off-by: Damien Lespiau <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions