drm/i915: problems after closing/opening lid

September 25th, 2011 - 05:00 pm ET by Dirk Gouders | Report spam
Hello,

on my Ideapad U160 I noticed a problem: after I close and reopen the
lid, Xorg behaves very strange. For example:

* firefox seems to hang, switching tabs seems to not work but actually
does after switching workspaces
* a menu in icewm that is displayed when changing window
focusses behaves incorrect: either it doesn't show up or it doesn't
visit every menu entry

This also happens after the display turns off after a while of
inactivity. If I then change to a text console and back to Xorg,
everything is fine.

I bisected this to commit 9aa73a51c91cb0d0af4caaa9823969c1a1179a12.
I played with the params that were inverted in that commit and if I
change both or one of them via command line, there is no problem, the
problem only occurs if both of them have the new values.

I will also attach the relevant output of lspci.

Dirk


commit 9aa73a51c91cb0d0af4caaa9823969c1a1179a12
Merge: c7c3694 a94919e
Author: Keith Packard <keithp@keithp.com>
Date: Tue Jul 12 10:40:25 2011 -0700

Merge branch 'drm-intel-fixes' into drm-intel-next

diff --cc drivers/gpu/drm/i915/i915_drv.c
index 629d24c,eb91e2d..6ed73ae
a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@@ -52,10 -52,10 +52,10 @@@ module_param_named(powersave, i915_powe
unsigned int i915_semaphores = 0;
module_param_named(semaphores, i915_semaphores, int, 0600);

- unsigned int i915_enable_rc6 = 1;
+ unsigned int i915_enable_rc6 = 0;
module_param_named(i915_enable_rc6, i915_enable_rc6, int, 0600);

-unsigned int i915_enable_fbc = 0;
+unsigned int i915_enable_fbc = 1;
module_param_named(i915_enable_fbc, i915_enable_fbc, int, 0600);

$ lspci -vv
...
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device 3920
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 42
Region 0: Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at d0000000 (64-bit, prefetchable) [size%6M]
Region 4: I/O ports at 1800 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0300c Data: 4171
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
Kernel modules: i915
...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Keith Packard
September 25th, 2011 - 07:00 pm ET | Report spam

On Sun, 25 Sep 2011 22:48:43 +0200, Dirk Gouders wrote:

I bisected this to commit 9aa73a51c91cb0d0af4caaa9823969c1a1179a12.
I played with the params that were inverted in that commit and if I
change both or one of them via command line, there is no problem, the
problem only occurs if both of them have the new values.



You should be good if you run the drm-intel-fixes branch of my repo at

git://people.freedesktop.org/~keithp/linux

That disables FBC on your Ironlake GPU.




To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Similar topics