Bug 98323

Summary: output always reported as connected
Product: DRI Reporter: Rui Tiago Matos <tiagomatos>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: HSW i915 features: display/DP MST
Attachments:
Description Flags
boot disconnected, connect, disconnect
none
boot connected, disconnect
none
[PATCH] drm/i915: Refresh that status of MST capable connectors in ->detect() none

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.