[Intel-gfx] [PATCH] drm/i915/lvds: don't restore hw state in the lid notifier for pch platforms

Daniel Vetter daniel.vetter at ffwll.ch
Mon Oct 14 23:13:13 CEST 2013

On Mon, Oct 14, 2013 at 7:31 PM, Roland Dreier <roland at kernel.org> wrote:
> On Mon, Oct 14, 2013 at 10:14 AM, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
>> It's not a crash, and it's been there since forever - we've simply
>> added tons more self-consistency checks to the driver in 3.10 (and
>> extended those checks even more in recent kernels). At least the
>> current patch will duct-tape over the hang, fixing these DP woes for
>> real will take a bit longer ...
> Not sure I follow.  Nothing crashed -- but with your patch applied, I
> still get a (different) hang (in the dmesg I sent you), so if I undock
> my laptop and open it up, I just get a unrecoverable black screen
> because the Xorg process is stuck.

Oops, I've missed the stuck task warning at the end. That's still the
same hang as before, just moved around a little. One thing you can try
is to manually disable the DP output with xrandr before you unplug:

xrandr --output DP3 --off

That should work around the hang (presuming your desktop enviroment
doesn't immediately reenable the output again).
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

More information about the Intel-gfx mailing list