Re: 2.6.35-rc6+: i915: Bisected regression

Previous thread: [PATCH mmotm] vmscan: raise the bar to PAGEOUT_IO_SYNC stalls by Wu Fengguang on Sunday, August 1, 2010 - 1:51 am. (6 messages)

Next thread: [PATCH] firewire: core: add forgotten dummy driver methods, remove unused ones by Stefan Richter on Sunday, August 1, 2010 - 3:23 am. (1 message)
From: Thomas Meyer
Date: Sunday, August 1, 2010 - 2:01 am

This commit makes suspend to ram unreliable for me:

commit d1b851fc0d105caa6b6e3e7c92d2987dfb52cbe0
Author: Zou Nan hai <nanhai.zou@intel.com>
Date:   Fri May 21 09:08:57 2010 +0800

    drm/i915: implement BSD ring buffer V2
    
    The BSD (bit stream decoder) ring is used for accessing the BSD engine
    which decodes video bitstream for H.264 and VC1 on G45+.  It is
    asynchronous with the render ring and has access to separate parts of
    the GPU from it, though the render cache is coherent between the two.
    
    Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
    Signed-off-by: Xiang Hai hao <haihao.xiang@intel.com>
    Signed-off-by: Eric Anholt <eric@anholt.net>

git revert didn't work on 2.6.35-rc6 so I just changed the HAS_BSD thing to:

#define HAS_BSD(dev)            (0)

with this change applied suspend to ram is back to the reliability of 2.6.34.y

with kind regards
thomas
--

From: Stefan Richter
Date: Sunday, August 1, 2010 - 4:42 am

Added CCs.

Thomas, on what hardware did you observe the regression?  Is it suspend
or resume that is unreliable?  What are the particular symptoms --- does
not suspend, crashes during suspend, crashes during resume...?
-- 
Stefan Richter
-=====-==-=- =--- ----=
http://arcgraph.de/sr/
--

From: Thomas Meyer
Date: Sunday, August 1, 2010 - 3:51 am

From: Paul Rolland
Date: Sunday, August 1, 2010 - 6:14 am

Hello Thomas,

On Sun, 1 Aug 2010 12:51:36 +0200

My machine has :
00:02.0 0300: 8086:2a42 (rev 07)
00:02.1 0380: 8086:2a43 (rev 07)

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

and is randomly suffering from exactly the same problems...

So, I've applied your hint (in i915_drv.h), rebuilt a kernel, booted, and
I've now successfully managed to go thru several suspend/resume cycles
without having the machine hanging while suspend !

Will check in the long term, but so far, it's a win !

Thx,
Paul

--

From: Roberto Oppedisano
Date: Sunday, August 1, 2010 - 8:17 am

I have to add a me too (HP 6730B, same PCI ids).
I was suffering from the same problem which seem completely gone with 
the suggested hint.

R


--

From: Thomas Meyer
Date: Tuesday, August 24, 2010 - 10:36 am

Seems to be fixed in 2.6.36-rc2. Probably by merge commit 
4238a417a91643e1162a98770288f630e37f0484.

Paul, Roberto: Could you please confirm this on your hardware?

kind regards
thomas
--

From: Roberto Oppedisano
Date: Tuesday, August 24, 2010 - 8:02 pm

The problem seems fixed for me too.
--

From: Paul Rolland
Date: Wednesday, August 25, 2010 - 6:41 am

Hello Thomas,

On Tue, 24 Aug 2010 19:36:18 +0200

I've just installed 2.6.36-rc2 on my machine, and I've tested a few
"Sleep", and so far, no problem any more...

So, I can't help you on the "is this the exact commit ?", but it is fixed
(or at least it looks as if ;)

Regards,
Paul
--

From: Shuang He
Date: Wednesday, August 4, 2010 - 10:43 pm

Could you help report a bug for this issue by following 
http://intellinuxgraphics.org/how_to_report_bug.html

Thanks

--

From: David John
Date: Thursday, August 5, 2010 - 8:26 pm

I have the same issue on a GM45 and Thomas's hack works in fixing it. It
is still present in 2.6.35.

Regards,
David.
--

Previous thread: [PATCH mmotm] vmscan: raise the bar to PAGEOUT_IO_SYNC stalls by Wu Fengguang on Sunday, August 1, 2010 - 1:51 am. (6 messages)

Next thread: [PATCH] firewire: core: add forgotten dummy driver methods, remove unused ones by Stefan Richter on Sunday, August 1, 2010 - 3:23 am. (1 message)