* drm/i915: problems after closing/opening lid
@ 2011-09-25 20:48 Dirk Gouders
2011-09-25 22:58 ` Keith Packard
0 siblings, 1 reply; 3+ messages in thread
From: Dirk Gouders @ 2011-09-25 20:48 UTC (permalink / raw)
To: Keith Packard; +Cc: linux-kernel
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=256M]
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
...
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: drm/i915: problems after closing/opening lid
2011-09-25 20:48 drm/i915: problems after closing/opening lid Dirk Gouders
@ 2011-09-25 22:58 ` Keith Packard
2011-09-26 10:15 ` Dirk Gouders
0 siblings, 1 reply; 3+ messages in thread
From: Keith Packard @ 2011-09-25 22:58 UTC (permalink / raw)
To: Dirk Gouders; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
On Sun, 25 Sep 2011 22:48:43 +0200, Dirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de> 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.
--
keith.packard@intel.com
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: drm/i915: problems after closing/opening lid
2011-09-25 22:58 ` Keith Packard
@ 2011-09-26 10:15 ` Dirk Gouders
0 siblings, 0 replies; 3+ messages in thread
From: Dirk Gouders @ 2011-09-26 10:15 UTC (permalink / raw)
To: Keith Packard; +Cc: linux-kernel
Keith Packard <keithp@keithp.com> writes:
> On Sun, 25 Sep 2011 22:48:43 +0200, Dirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de> 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.
Thanks, Keith, with that branch the problem has gone.
Dirk
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-26 10:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-25 20:48 drm/i915: problems after closing/opening lid Dirk Gouders
2011-09-25 22:58 ` Keith Packard
2011-09-26 10:15 ` Dirk Gouders
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox