[Intel-gfx] [PATCH] i915: Fix CRT hotplug regression in 2.6.35-rc1

Eric Anholt eric at anholt.net
Fri Jul 2 00:36:14 CEST 2010


On Sat, 12 Jun 2010 05:21:18 -0400, Andy Lutomirski <luto at MIT.EDU> wrote:
> Commit 7a772c492fcfffae812ffca78a628e76fa57fe58 has two bugs which
> made the hotplug problems on my laptop worse instead of better.
> 
> First, it did not, in fact, disable the CRT plug interrupt -- it
> disabled all the other hotplug interrupts.  It seems rather doubtful
> that that bit of the patch fixed anything, so let's just remove it.
> (If you want to add it back, you probably meant ~CRT_HOTPLUG_INT_EN.)
> 
> Second, on at least my GM45, setting CRT_HOTPLUG_ACTIVATION_PERIOD_64
> and CRT_HOTPLUG_VOLTAGE_COMPARE_50 (when they were previously unset)
> causes a hotplug interrupt about three seconds later.  The old code
> never restored PORT_HOTPLUG_EN so this could only happen once, but
> they new code restores those registers.  So just set those bits when
> we set up the interrupt in the first place.
> 
> Signed-off-by: Andy Lutomirski <luto at mit.edu>

Applied to for-linus.  Thanks for tracking this down!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100701/95524ae9/attachment.sig>


More information about the Intel-gfx mailing list