Bug 156781

Summary: Laptop stopped automatically switching from docking station video to standalone and back with 4.7.2-201
Product: Drivers Reporter: Gianfranco Cecconi (giacecco)
Component: Video(Other)Assignee: drivers_video-other
Status: RESOLVED INVALID    
Severity: normal CC: giacecco
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.7.2-201 Subsystem:
Regression: No Bisected commit-id:

Description Gianfranco Cecconi 2016-09-14 06:21:09 UTC
I believe the issue is related in some way to the kernel as I could test 4.7.2-201 vs 4.6.7-300 on the same laptop, and the latter version has no issues.

The following has been tested using Fedora 24 on a Thinkpad T450s (Intel Core i7-5600U, Intel HD Graphics 5500).The docking station is Lenovo's "90 W Pro Dock", connected to a Dell UltraSharp U2913WM monitor. The laptop is configured to ignore if the lid is closed. 

To reproduce the issue:

a) turn on laptop connected to docking station with the lid closed, and proceed until logging into Gnome
b) "hot-undock" from the docking station and open the lid

In kernels up to 4.6.7-300 the display automatically has switched to the laptop's.

In kernel 4.7.2-201 nothing happens and the laptop's display is dark, as if the laptop was still trying to use the monitor connected to the docking station.

c) close the lid (this correctly does not suspend the laptop) and "hot-dock" back to the docking station

In kernels up to 4.6.7-300 the display automatically switches back to the external display.

In kernel 4.7.2-201 the behaviour is erratic. Sometimes it activates the external display back, some other time it does but the resolution is wrong etc.

Other notes:
- the issue can be reproduced also starting with the laptop undocked
- when having the issue, suspending the laptop and waking it back up sends the video to the correct display
- after having the issue, shutting down hangs on 4.7.2-201 but completes successfully with 4.6.7-300

Sorry if I did not attach any log files etc. but I'm a noob and I wouldn't know where to start, but please ask and I will try to provide you with what you need.
Comment 1 Jani Nikula 2016-09-15 08:12:08 UTC
Please file new drm/i915 bugs at
https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel