Bug 73687

Summary: [IVB DP Dongle] Apple miniDP-to-DP dongle hotplug fail after start X
Product: DRI Reporter: Qingshuai Tian <qingshuai.tian>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED NOTABUG QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg of DP dongle plugged in after X starting none

Description Qingshuai Tian 2014-01-16 07:53:30 UTC
Created attachment 92207 [details]
dmesg of DP dongle plugged in after X starting

Environment:
-------------------
  Kernel: (drm-intel-next-queued) f1fcde49872f390a4060fa9ee8b02d3f2a8508b7
  Hardware name: Apple Inc. MacBookPro10,2/Mac-AFD8A9D944EA4843, 
  BIOS MBP102.88Z.0106.B03.1211161133 11/16/2012

Description:
--------------------
When I plugged the miniDP-to-DP dongle in the machine after booting up and starting X, the DP monitor was black, while xrandr command showed "DP2 connected (normal left inverted right x axis y axis)".

After I set command "xrandr --output DP2 --preferred" , the monitor can show correctly. And the hotplug will also work well since then.

The miniDP-to-DP dongle hotplug works well without starting X.

Test Step:
--------------------
1.reboot machine
2.start X
3.plug in miniDP-to-DP
Comment 1 Chris Wilson 2014-01-16 08:51:24 UTC
If you plug in a monitor after X is started, it is up to userspace to decide what it wants to do with the monitor. Your userspace left it disabled until you manually enabled it with xrandr.
Comment 2 Qingshuai Tian 2014-01-16 08:53:31 UTC
Got it! Thanks!

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.