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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 14, 2013 at 6:52 PM, Roland Dreier <roland@xxxxxxxxxx> wrote:
> On Wed, Oct 9, 2013 at 1:47 AM, Daniel Vetter <daniel.vetter@xxxxxxxx> wrote:
>> It's a pain for two reasons:
>> - The vga plane redisablign requires actual legacy vgao i/o to pull
>>   of. The hw engineers really botched this one here :(
>> - There seem to be some BIOS out there which send out lid events when
>>   unplugging. Together with our broken DP code, which disables the
>>   port when the cable is lost, this results in an immediate modeset
>>   call, which can hang on the wait for outstanding flips.
>
> Unfortunately this still leads to a (different-looking) hang.  I
> captured the following dmesg after undocking my laptop and leaving it
> sitting there for a while.
>
> BTW, this seems to be a regression ... I used to be able to undock
> without this hang at least until 3.10 or so.

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 ...
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux