Bug 98323 - output always reported as connected
Summary: output always reported as connected
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 16:37 UTC by Rui Tiago Matos
Modified: 2017-07-24 22:40 UTC (History)
1 user (show)

See Also:
i915 platform: HSW
i915 features: display/DP MST


Attachments
boot disconnected, connect, disconnect (409.36 KB, text/plain)
2016-10-19 16:37 UTC, Rui Tiago Matos
no flags Details
boot connected, disconnect (345.84 KB, text/plain)
2016-10-19 16:38 UTC, Rui Tiago Matos
no flags Details
[PATCH] drm/i915: Refresh that status of MST capable connectors in ->detect() (2.24 KB, patch)
2016-10-19 17:27 UTC, Ville Syrjala
no flags Details | Splinter Review

Description Rui Tiago Matos 2016-10-19 16:37:51 UTC
Created attachment 127403 [details]
boot disconnected, connect, disconnect

Using kernel 4.9.0-0.rc1.git0.2.fc26.x86_64 on a docked haswell laptop, I'm seeing that the DVI connector on the dock is always reported as connected after disconnecting it. I'm attaching two dmesg drm.debug=0x3f logs, on the first I boot disconnected and then connect and disconnect, while on the second I boot up connected and then disconnect. On both the end result is

$ cat /sys/class/drm/card0/card0-DP-4/status 
connected
Comment 1 Rui Tiago Matos 2016-10-19 16:38:25 UTC
Created attachment 127404 [details]
boot connected, disconnect
Comment 2 Ville Syrjala 2016-10-19 17:27:59 UTC
Created attachment 127406 [details] [review]
[PATCH] drm/i915: Refresh that status of MST capable connectors in  ->detect()

I suspect this ought to help. Please test and report back.
Comment 3 Rui Tiago Matos 2016-10-20 14:13:50 UTC
(In reply to Ville Syrjala from comment #2)
> Created attachment 127406 [details] [review] [review]
> [PATCH] drm/i915: Refresh that status of MST capable connectors in 
> ->detect()
> 
> I suspect this ought to help. Please test and report back.

Tested, seems to be working fine. Thanks
Comment 4 Ville Syrjala 2016-10-26 09:19:49 UTC
commit 1aab956c7b8872fb6976328316bfad62c6e67cf8
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Fri Oct 21 16:44:38 2016 +0300

    drm/i915: Refresh that status of MST capable connectors in ->detect()


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.