PROBLEM: i915 regression between 2.6.39-rc6 and 2.6.39-rc7

2011-05-19 Thread Keith Packard
On Wed, 18 May 2011 20:15:05 +0200, Eric Leblond  wrote:

> I confirm that it is working fine when enabling semaphore. Thanks a lot
> for the workaround, it is a pleasure to have a real laptop again ;)

And, we'll keep trying to make it work without per-laptop
configuration...

-- 
keith.packard at intel.com
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 



Re: PROBLEM: i915 regression between 2.6.39-rc6 and 2.6.39-rc7

2011-05-19 Thread Keith Packard
On Wed, 18 May 2011 20:15:05 +0200, Eric Leblond e...@regit.org wrote:

 I confirm that it is working fine when enabling semaphore. Thanks a lot
 for the workaround, it is a pleasure to have a real laptop again ;)

And, we'll keep trying to make it work without per-laptop
configuration...

-- 
keith.pack...@intel.com


pgpBxyb6YkmzT.pgp
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


PROBLEM: i915 regression between 2.6.39-rc6 and 2.6.39-rc7

2011-05-18 Thread Eric Leblond
Hello,

On Wed, 2011-05-18 at 11:22 -0500, Michael Larabel wrote:
> Try booting the latest kernel with "i915.semaphores=1" and it should be 
> fixed, at least for my SNB hardware. When I had it auto-bisected it came 
> down to this commit 087fbc9962e10a65fb0b542ecfc116ebf6cf1735 that 
> disabled semaphores.

I confirm that it is working fine when enabling semaphore. Thanks a lot
for the workaround, it is a pleasure to have a real laptop again ;)

Good luck for the bisect.

BR,

> 
> -- Michael Larabel
> 
> On 05/17/2011 07:06 AM, Eric Leblond wrote:
> > Hello,
> >
> > When running the 2.6.39-rc7, I've observed a problem on my laptop (DELL
> > XPS15) which uses the i915 driver. Frequently, when moving the mouse
> > over, the cursor does only trigger the modification on the desktop after
> > a few seconds (like icons
> > highligthing). When this occurs, the following message appear in the
> > kernel log at the moment when the waited action occurs:
> >
> > [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt ring 
> > idle [waiting on 905, at 905], missed IRQ?
> >
> > Switching back to 2.6.39-rc6 fixes the issue.
> >
> > It runs gnome 3 which uses glx to add some effect. Maybe this is linked.
> > When using the simple twm window manager, the problem does not seem to
> > occur.
> >
> > Keywords: drm, i915
> > Kernel version: Linux version 2.6.39-rc7+ (eric at tiger) (gcc version 
> > 4.6.1 20110507 (prerelease) (Debian 4.6.0-7) ) #3 SMP Sun May 15 11:31:14 
> > CEST 2011
> > Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
> >
> > Kernel log for i915:
> > May 17 13:30:36 tiger kernel: [   15.458754] i915 :00:02.0: PCI INT A 
> > ->  GSI 16 (level, low) ->  IRQ 16
> > May 17 13:30:36 tiger kernel: [   15.458760] i915 :00:02.0: setting 
> > latency timer to 64
> > May 17 13:30:36 tiger kernel: [   15.513847] i915 :00:02.0: irq 52 for 
> > MSI/MSI-X
> > May 17 13:30:36 tiger kernel: [   16.011208] [drm] Initialized i915 1.6.0 
> > 20080730 for :00:02.0 on minor 0
> > May 17 13:31:12 tiger kernel: [   59.343937] [drm:i915_hangcheck_ring_idle] 
> > *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 905, at 905], 
> > missed IRQ?
> > May 17 13:31:17 tiger kernel: [   63.998439] [drm:i915_hangcheck_ring_idle] 
> > *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 947, at 947], 
> > missed IRQ?
> > May 17 13:32:27 tiger kernel: [  134.591975] [drm:i915_hangcheck_ring_idle] 
> > *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 49015, at 
> > 49015], missed IRQ?
> > May 17 13:32:29 tiger kernel: [  136.127493] [drm:i915_hangcheck_ring_idle] 
> > *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 49154, at 
> > 49154], missed IRQ?
> >
> > lspci - for i915:
> > 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
> > Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA 
> > controller])
> >  Subsystem: Dell Device 04b6
> >  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
> > ParErr- Stepping- SERR- FastB2B- DisINTx+
> >  Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- 
> > DEVSEL=fast>TAbort-  Latency: 0
> >  Interrupt: pin A routed to IRQ 52
> >  Region 0: Memory at f140 (64-bit, non-prefetchable) [size=4M]
> >  Region 2: Memory at e000 (64-bit, prefetchable) [size=256M]
> >  Region 4: I/O ports at 4000 [size=64]
> >  Expansion ROM at  [disabled]
> >  Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
> >  Address: fee0300c  Data: 41c9
> >  Capabilities: [d0] Power Management version 2
> >  Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
> > PME(D0-,D1-,D2-,D3hot-,D3cold-)
> >  Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
> >  Capabilities: [a4] PCI Advanced Features
> >  AFCap: TP+ FLR+
> >  AFCtrl: FLR-
> >  AFStatus: TP-
> >  Kernel driver in use: i915
> >
> > lspci:
> > 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family 
> > DRAM Controller (rev 09)
> > 00:01.0 PCI bridge: Intel Corporation 2nd Generation Core Processor Family 
> > PCI Express Root Port (rev 09)
> > 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
> > Processor Family Integrated Graphics Controller (rev 09)
> > 00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family 
> > MEI Controller #1 (rev 04)
> > 00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB 
> > Enhanced Host Controller #2 (rev 05)
> > 00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High 
> > Definition Audio Controller (rev 05)
> > 00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express 
> > Root Port 1 (rev b5)
> > 00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express 
> > Root Port 

PROBLEM: i915 regression between 2.6.39-rc6 and 2.6.39-rc7

2011-05-18 Thread Michael Larabel
Try booting the latest kernel with "i915.semaphores=1" and it should be 
fixed, at least for my SNB hardware. When I had it auto-bisected it came 
down to this commit 087fbc9962e10a65fb0b542ecfc116ebf6cf1735 that 
disabled semaphores.

-- Michael Larabel

On 05/17/2011 07:06 AM, Eric Leblond wrote:
> Hello,
>
> When running the 2.6.39-rc7, I've observed a problem on my laptop (DELL
> XPS15) which uses the i915 driver. Frequently, when moving the mouse
> over, the cursor does only trigger the modification on the desktop after
> a few seconds (like icons
> highligthing). When this occurs, the following message appear in the
> kernel log at the moment when the waited action occurs:
>
> [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt ring 
> idle [waiting on 905, at 905], missed IRQ?
>
> Switching back to 2.6.39-rc6 fixes the issue.
>
> It runs gnome 3 which uses glx to add some effect. Maybe this is linked.
> When using the simple twm window manager, the problem does not seem to
> occur.
>
> Keywords: drm, i915
> Kernel version: Linux version 2.6.39-rc7+ (eric at tiger) (gcc version 4.6.1 
> 20110507 (prerelease) (Debian 4.6.0-7) ) #3 SMP Sun May 15 11:31:14 CEST 2011
> Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
>
> Kernel log for i915:
> May 17 13:30:36 tiger kernel: [   15.458754] i915 :00:02.0: PCI INT A ->  
> GSI 16 (level, low) ->  IRQ 16
> May 17 13:30:36 tiger kernel: [   15.458760] i915 :00:02.0: setting 
> latency timer to 64
> May 17 13:30:36 tiger kernel: [   15.513847] i915 :00:02.0: irq 52 for 
> MSI/MSI-X
> May 17 13:30:36 tiger kernel: [   16.011208] [drm] Initialized i915 1.6.0 
> 20080730 for :00:02.0 on minor 0
> May 17 13:31:12 tiger kernel: [   59.343937] [drm:i915_hangcheck_ring_idle] 
> *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 905, at 905], 
> missed IRQ?
> May 17 13:31:17 tiger kernel: [   63.998439] [drm:i915_hangcheck_ring_idle] 
> *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 947, at 947], 
> missed IRQ?
> May 17 13:32:27 tiger kernel: [  134.591975] [drm:i915_hangcheck_ring_idle] 
> *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 49015, at 
> 49015], missed IRQ?
> May 17 13:32:29 tiger kernel: [  136.127493] [drm:i915_hangcheck_ring_idle] 
> *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 49154, at 
> 49154], missed IRQ?
>
> lspci - for i915:
> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
> Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA 
> controller])
>  Subsystem: Dell Device 04b6
>  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B- DisINTx+
>  Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- 
> DEVSEL=fast>TAbort-  Interrupt: pin A routed to IRQ 52
>  Region 0: Memory at f140 (64-bit, non-prefetchable) [size=4M]
>  Region 2: Memory at e000 (64-bit, prefetchable) [size=256M]
>  Region 4: I/O ports at 4000 [size=64]
>  Expansion ROM at  [disabled]
>  Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>  Address: fee0300c  Data: 41c9
>  Capabilities: [d0] Power Management version 2
>  Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>  Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
>  Capabilities: [a4] PCI Advanced Features
>  AFCap: TP+ FLR+
>  AFCtrl: FLR-
>  AFStatus: TP-
>  Kernel driver in use: i915
>
> lspci:
> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family 
> DRAM Controller (rev 09)
> 00:01.0 PCI bridge: Intel Corporation 2nd Generation Core Processor Family 
> PCI Express Root Port (rev 09)
> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
> Processor Family Integrated Graphics Controller (rev 09)
> 00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family 
> MEI Controller #1 (rev 04)
> 00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB 
> Enhanced Host Controller #2 (rev 05)
> 00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High 
> Definition Audio Controller (rev 05)
> 00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express 
> Root Port 1 (rev b5)
> 00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express 
> Root Port 2 (rev b5)
> 00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express 
> Root Port 4 (rev b5)
> 00:1c.4 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express 
> Root Port 5 (rev b5)
> 00:1c.5 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express 
> Root Port 6 (rev b5)
> 00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB 
> Enhanced Host Controller #1 (rev 05)
> 00:1f.0 ISA 

PROBLEM: i915 regression between 2.6.39-rc6 and 2.6.39-rc7

2011-05-18 Thread Eric Leblond
Hello,

When running the 2.6.39-rc7, I've observed a problem on my laptop (DELL
XPS15) which uses the i915 driver. Frequently, when moving the mouse
over, the cursor does only trigger the modification on the desktop after
a few seconds (like icons
highligthing). When this occurs, the following message appear in the
kernel log at the moment when the waited action occurs:

[drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt ring idle 
[waiting on 905, at 905], missed IRQ?

Switching back to 2.6.39-rc6 fixes the issue.

It runs gnome 3 which uses glx to add some effect. Maybe this is linked.
When using the simple twm window manager, the problem does not seem to
occur.

Keywords: drm, i915
Kernel version: Linux version 2.6.39-rc7+ (eric@tiger) (gcc version 4.6.1 
20110507 (prerelease) (Debian 4.6.0-7) ) #3 SMP Sun May 15 11:31:14 CEST 2011
Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz

Kernel log for i915:
May 17 13:30:36 tiger kernel: [   15.458754] i915 :00:02.0: PCI INT A - 
GSI 16 (level, low) - IRQ 16
May 17 13:30:36 tiger kernel: [   15.458760] i915 :00:02.0: setting latency 
timer to 64
May 17 13:30:36 tiger kernel: [   15.513847] i915 :00:02.0: irq 52 for 
MSI/MSI-X
May 17 13:30:36 tiger kernel: [   16.011208] [drm] Initialized i915 1.6.0 
20080730 for :00:02.0 on minor 0
May 17 13:31:12 tiger kernel: [   59.343937] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 905, at 905], 
missed IRQ?
May 17 13:31:17 tiger kernel: [   63.998439] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 947, at 947], 
missed IRQ?
May 17 13:32:27 tiger kernel: [  134.591975] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 49015, at 49015], 
missed IRQ?
May 17 13:32:29 tiger kernel: [  136.127493] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 49154, at 49154], 
missed IRQ?

lspci - for i915:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA 
controller])
Subsystem: Dell Device 04b6
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 52
Region 0: Memory at f140 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at e000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 4000 [size=64]
Expansion ROM at unassigned [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0300c  Data: 41c9
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a4] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: i915

lspci:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family 
DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation 2nd Generation Core Processor Family PCI 
Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI 
Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced 
Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition 
Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced 
Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC 
Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA 
AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 
05)
01:00.0 VGA compatible controller: nVidia Corporation Device 0df5 (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
04:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host 

Re: PROBLEM: i915 regression between 2.6.39-rc6 and 2.6.39-rc7

2011-05-18 Thread Michael Larabel
Try booting the latest kernel with i915.semaphores=1 and it should be 
fixed, at least for my SNB hardware. When I had it auto-bisected it came 
down to this commit 087fbc9962e10a65fb0b542ecfc116ebf6cf1735 that 
disabled semaphores.


-- Michael Larabel

On 05/17/2011 07:06 AM, Eric Leblond wrote:

Hello,

When running the 2.6.39-rc7, I've observed a problem on my laptop (DELL
XPS15) which uses the i915 driver. Frequently, when moving the mouse
over, the cursor does only trigger the modification on the desktop after
a few seconds (like icons
highligthing). When this occurs, the following message appear in the
kernel log at the moment when the waited action occurs:

[drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt ring idle 
[waiting on 905, at 905], missed IRQ?

Switching back to 2.6.39-rc6 fixes the issue.

It runs gnome 3 which uses glx to add some effect. Maybe this is linked.
When using the simple twm window manager, the problem does not seem to
occur.

Keywords: drm, i915
Kernel version: Linux version 2.6.39-rc7+ (eric@tiger) (gcc version 4.6.1 
20110507 (prerelease) (Debian 4.6.0-7) ) #3 SMP Sun May 15 11:31:14 CEST 2011
Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz

Kernel log for i915:
May 17 13:30:36 tiger kernel: [   15.458754] i915 :00:02.0: PCI INT A -  GSI 
16 (level, low) -  IRQ 16
May 17 13:30:36 tiger kernel: [   15.458760] i915 :00:02.0: setting latency 
timer to 64
May 17 13:30:36 tiger kernel: [   15.513847] i915 :00:02.0: irq 52 for 
MSI/MSI-X
May 17 13:30:36 tiger kernel: [   16.011208] [drm] Initialized i915 1.6.0 
20080730 for :00:02.0 on minor 0
May 17 13:31:12 tiger kernel: [   59.343937] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 905, at 905], 
missed IRQ?
May 17 13:31:17 tiger kernel: [   63.998439] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 947, at 947], 
missed IRQ?
May 17 13:32:27 tiger kernel: [  134.591975] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 49015, at 49015], 
missed IRQ?
May 17 13:32:29 tiger kernel: [  136.127493] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 49154, at 49154], 
missed IRQ?

lspci - for i915:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA 
controller])
 Subsystem: Dell Device 04b6
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- 
DEVSEL=fastTAbort-TAbort-MAbort-SERR-PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 52
 Region 0: Memory at f140 (64-bit, non-prefetchable) [size=4M]
 Region 2: Memory at e000 (64-bit, prefetchable) [size=256M]
 Region 4: I/O ports at 4000 [size=64]
 Expansion ROM atunassigned  [disabled]
 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
 Address: fee0300c  Data: 41c9
 Capabilities: [d0] Power Management version 2
 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
 Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [a4] PCI Advanced Features
 AFCap: TP+ FLR+
 AFCtrl: FLR-
 AFStatus: TP-
 Kernel driver in use: i915

lspci:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family 
DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation 2nd Generation Core Processor Family PCI 
Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI 
Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced 
Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition 
Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced 
Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC 
Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA 
AHCI 

PROBLEM: i915 regression between 2.6.39-rc6 and 2.6.39-rc7

2011-05-17 Thread Eric Leblond
Hello,

When running the 2.6.39-rc7, I've observed a problem on my laptop (DELL
XPS15) which uses the i915 driver. Frequently, when moving the mouse
over, the cursor does only trigger the modification on the desktop after
a few seconds (like icons
highligthing). When this occurs, the following message appear in the
kernel log at the moment when the waited action occurs:

[drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt ring idle 
[waiting on 905, at 905], missed IRQ?

Switching back to 2.6.39-rc6 fixes the issue.

It runs gnome 3 which uses glx to add some effect. Maybe this is linked.
When using the simple twm window manager, the problem does not seem to
occur.

Keywords: drm, i915
Kernel version: Linux version 2.6.39-rc7+ (eric at tiger) (gcc version 4.6.1 
20110507 (prerelease) (Debian 4.6.0-7) ) #3 SMP Sun May 15 11:31:14 CEST 2011
Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz

Kernel log for i915:
May 17 13:30:36 tiger kernel: [   15.458754] i915 :00:02.0: PCI INT A -> 
GSI 16 (level, low) -> IRQ 16
May 17 13:30:36 tiger kernel: [   15.458760] i915 :00:02.0: setting latency 
timer to 64
May 17 13:30:36 tiger kernel: [   15.513847] i915 :00:02.0: irq 52 for 
MSI/MSI-X
May 17 13:30:36 tiger kernel: [   16.011208] [drm] Initialized i915 1.6.0 
20080730 for :00:02.0 on minor 0
May 17 13:31:12 tiger kernel: [   59.343937] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 905, at 905], 
missed IRQ?
May 17 13:31:17 tiger kernel: [   63.998439] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 947, at 947], 
missed IRQ?
May 17 13:32:27 tiger kernel: [  134.591975] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 49015, at 49015], 
missed IRQ?
May 17 13:32:29 tiger kernel: [  136.127493] [drm:i915_hangcheck_ring_idle] 
*ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 49154, at 49154], 
missed IRQ?

lspci - for i915:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA 
controller])
Subsystem: Dell Device 04b6
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR-  [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0300c  Data: 41c9
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a4] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: i915

lspci:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family 
DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation 2nd Generation Core Processor Family PCI 
Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI 
Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced 
Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition 
Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root 
Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced 
Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC 
Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA 
AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 
05)
01:00.0 VGA compatible controller: nVidia Corporation Device 0df5 (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
04:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 
04)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI 
Express Gigabit Ethernet controller (rev 06)

ver_linux output:
Linux tiger 2.6.39-rc7+ #3 SMP Sun May 15 11:31:14 CEST 2011 x86_64 GNU/Linux

Gnu C  4.6.1
Gnu make   3.81
binutils