Bug 43732 - [snb DP dongle] Blank screen after displayport re-hotplug on MBA4,1
Summary: [snb DP dongle] Blank screen after displayport re-hotplug on MBA4,1
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-11 22:48 UTC by David.Cock
Modified: 2017-07-24 23:03 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg output after triggering (123.04 KB, text/plain)
2011-12-11 22:48 UTC, David.Cock
no flags Details
intel_reg_dumper output before (11.38 KB, text/plain)
2011-12-11 22:49 UTC, David.Cock
no flags Details
intel_reg_dumper output after (11.38 KB, text/plain)
2011-12-11 22:50 UTC, David.Cock
no flags Details
xorg log (30.93 KB, text/plain)
2011-12-11 22:50 UTC, David.Cock
no flags Details
VBIOS dump before (64.00 KB, application/octet-stream)
2011-12-11 22:52 UTC, David.Cock
no flags Details
VBIOS dump after (64.00 KB, application/octet-stream)
2011-12-11 22:53 UTC, David.Cock
no flags Details

Description David.Cock 2011-12-11 22:48:02 UTC
Created attachment 54335 [details]
dmesg output after triggering

When an external monitor (DVI via. displayport and Apple DP->DVI dongle) is
disconnected, re-probing the connected displays fails and one is left with a
blank display on the laptop panel, which xrandr --auto fails to restore.  If
the X server is killed and restarted, displays are probed correctly and the
system is usable.

chipset:               Sandybridge mobile (GT2)
system architecture:   x86_64
software versions:
    xf86-video-intel = 2.17.0
    xorg             = 1.11.1.902 (1.11.2 RC 2)
    libdrm           = 2.4.27
    mesa             = 7.11-6
kernel version:        3.2.0-rc2i915drm-00143-ga767835
Linux distribution:    Debian (wheezy)
machine:               MacbookAir4,1 (mid-2011 11")
display connector:     Displayport (eDP1)

Steps to reproduce:
* Connect (via Displayport) and enable (xrandr --auto) external display.
* Disconnect Displayport connector.

Additional info:
Problem exists in Debian kernel 3.0.0-1-amd64 also.
Comment 1 David.Cock 2011-12-11 22:49:03 UTC
Created attachment 54336 [details]
intel_reg_dumper output before
Comment 2 David.Cock 2011-12-11 22:50:07 UTC
Created attachment 54337 [details]
intel_reg_dumper output after
Comment 3 David.Cock 2011-12-11 22:50:45 UTC
Created attachment 54338 [details]
xorg log
Comment 4 David.Cock 2011-12-11 22:52:37 UTC
Created attachment 54339 [details]
VBIOS dump before
Comment 5 David.Cock 2011-12-11 22:53:10 UTC
Created attachment 54340 [details]
VBIOS dump after
Comment 6 Daniel Vetter 2013-03-20 11:45:00 UTC
Shot in the dark: Can you please test the below patch? It should apply on top of drm-intel-nightly.

http://cgit.freedesktop.org/~danvet/drm/commit/?h=pll-limits-mess&id=64ac8695df0df5e9937da1b55ddb0e3fa37e6258
Comment 7 Jani Nikula 2013-09-12 08:35:40 UTC
David, ping. Have you tried the latest kernels, and/or Daniel's patch?
Comment 8 David.Cock 2013-09-13 00:51:11 UTC
Sorry, I'd forgotten about this bug report.  I can confirm that the problem is resolved in recent kernels.  Specifically, running 3.2.46-1+deb7u1 and xorg intel driver 1.12.3.902, hotplugging now works correctly.
Comment 9 Jani Nikula 2013-09-13 06:41:52 UTC
(In reply to comment #8)
> Sorry, I'd forgotten about this bug report.

Well, uh, looks like we'd forgotten about it a few times too... Sorry.

> I can confirm that the problem
> is resolved in recent kernels.  Specifically, running 3.2.46-1+deb7u1 and
> xorg intel driver 1.12.3.902, hotplugging now works correctly.

Thanks for the confirmation.


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.