Bug 85641

Summary: [SNB/BSW]DP monitor unable to light up after rotation and hot plug
Product: DRI Reporter: Guo Jinxian <jinxianx.guo>
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: christophe.prigent, hengx.ding, intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: BSW/CHT, SNB i915 features: display/Other
Attachments:
Description Flags
dmesg
none
run xrandr --verbose after unplug DP monitor
none
run xrandr --verbose before unplug DP monitor none

Description Guo Jinxian 2014-10-30 09:23:42 UTC
Created attachment 108680 [details]
dmesg

==System Environment==
--------------------------
Regression: No,
The test always fails

Non-working platforms: BSW

==kernel==
--------------------------
origin/drm-intel-nightly: bd21cf795cf5dc278f1451d0f7a597cb1d13c2ba(fails)
    drm-intel-nightly: 2014y-10m-29d-08h-35m-03s UTC integration manifest
origin/drm-intel-next-queued: 421d82916774361a4840018fc3ab3a15751c3ea6(fails)
    drm/i915: use intel_fb_obj() macros to assign gem objects
origin/drm-intel-fixes: b2a9601c587dbc5536546aa54009d1130adedd72(fails)
    drm/i915: Ignore VBT backlight check on Macbook 2, 1

==Bug detailed description==
DP monitor unable to light up after rotation and hot plug. If hot plug without rotation, this bug unable to reproduce.

==Reproduce steps==
---------------------------- 
1. Boot the device only eDP plugged.
2. Connect DP monitor
3. xinit &
4. xrandr --output DP1 --rotation left
5. Unplugged then plugged DP monitor, the monitor unable to light up
Comment 1 Jeff Zheng 2014-12-30 08:09:59 UTC
Tested on Sandybridge with drm-intel-testing-2014-12-19 commit 4fa23142a15526f4a4b5df61f26eacdd558a849a and saw the same issue.
Comment 2 Chris Wilson 2014-12-30 20:09:33 UTC
An Xorg.0.log would help here as well.
Comment 3 Chris Wilson 2014-12-31 10:45:04 UTC
Along with xrandr --verbose before/after step 5.
Comment 4 Ding Heng 2015-01-06 02:10:59 UTC
Created attachment 111801 [details]
run xrandr --verbose after unplug DP monitor
Comment 5 Ding Heng 2015-01-06 02:11:48 UTC
Created attachment 111802 [details]
run xrandr --verbose before unplug DP monitor
Comment 7 Jani Nikula 2016-01-14 09:09:21 UTC
Presumed fixed by

commit d14e7b6d1d8747826cb900db852351c550e00fdd
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Thu Aug 20 19:37:29 2015 +0300

    drm/i915: Check DP link status on long hpd too

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.