All of lore.kernel.org
 help / color / mirror / Atom feed
* BISECTED: Suspend regression on drm-intel-next
@ 2010-12-18 20:02 Peter Clifton
  2010-12-18 21:42 ` Chris Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Clifton @ 2010-12-18 20:02 UTC (permalink / raw)
  To: Intel

Hi Chris,

I bisected the suspend regression I mentioned, and came to this commit:

commit 0cdab21f9a1fca50dd27e488839f5a6578e333b2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Dec 5 17:27:06 2010 +0000

    drm/i915: Uncouple render/power ctx before suspending
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


Disabling power context tear down on suspend with this diff:

diff --git a/drivers/gpu/drm/i915/i915_suspend.c
b/drivers/gpu/drm/i915/i915_suspend.c
index a311809..6e98764 100644
--- a/drivers/gpu/drm/i915/i915_suspend.c
+++ b/drivers/gpu/drm/i915/i915_suspend.c
@@ -820,7 +820,7 @@ int i915_save_state(struct drm_device *dev)
        if (HAS_PCH_SPLIT(dev))
                ironlake_disable_drps(dev);
 
-       intel_disable_clock_gating(dev);
+//     intel_disable_clock_gating(dev);
 
        /* Cache mode state */
        dev_priv->saveCACHE_MODE_0 = I915_READ(CACHE_MODE_0);



NB: I've not tested later than c57802706aad9f179f2219415717896b3c177845,
which does not suspend. (I'm actually pretty certain that I tested until
around a8e93126a6f10d0a14ba8407ec112b1b3a5e2e97, but it was still bad,
and I didn't need to include it in my bisect, I did not make any notes
about it.

Best regards,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: BISECTED: Suspend regression on drm-intel-next
  2010-12-18 20:02 BISECTED: Suspend regression on drm-intel-next Peter Clifton
@ 2010-12-18 21:42 ` Chris Wilson
  2010-12-19 10:05   ` Peter Clifton
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wilson @ 2010-12-18 21:42 UTC (permalink / raw)
  To: Peter Clifton, Intel

On Sat, 18 Dec 2010 20:02:21 +0000, Peter Clifton <pcjc2@cam.ac.uk> wrote:
> Hi Chris,
> 
> I bisected the suspend regression I mentioned, and came to this commit:
> 
> commit 0cdab21f9a1fca50dd27e488839f5a6578e333b2
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Sun Dec 5 17:27:06 2010 +0000
> 
>     drm/i915: Uncouple render/power ctx before suspending
>     
>     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> 
> 
> Disabling power context tear down on suspend with this diff:

And you verified the revert against drm-intel-next HEAD? I'll revert just
as soon as I see your confirmation. :)

[The patch was only trying to see if it made Ironlake stable on suspending
with renderctx, to no avail so there should be no repercussions in
reverting.]

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BISECTED: Suspend regression on drm-intel-next
  2010-12-18 21:42 ` Chris Wilson
@ 2010-12-19 10:05   ` Peter Clifton
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Clifton @ 2010-12-19 10:05 UTC (permalink / raw)
  To: Chris Wilson; +Cc: Intel

On Sat, 2010-12-18 at 21:42 +0000, Chris Wilson wrote:
> On Sat, 18 Dec 2010 20:02:21 +0000, Peter Clifton <pcjc2@cam.ac.uk> wrote:
> > Hi Chris,
> > 
> > I bisected the suspend regression I mentioned, and came to this commit:
> > 
> > commit 0cdab21f9a1fca50dd27e488839f5a6578e333b2
> > Author: Chris Wilson <chris@chris-wilson.co.uk>
> > Date:   Sun Dec 5 17:27:06 2010 +0000
> > 
> >     drm/i915: Uncouple render/power ctx before suspending
> >     
> >     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > 
> > 
> > Disabling power context tear down on suspend with this diff:
> 
> And you verified the revert against drm-intel-next HEAD? I'll revert just
> as soon as I see your confirmation. :)

Confirmed.. drm-intel-next is still broken.

I'm vaguely curious why it makes it lock up, but I'll settle for it not
doing so ;)  Only since suspend has been broken did I realise just how
much I rely upon it!

> [The patch was only trying to see if it made Ironlake stable on suspending
> with renderctx, to no avail so there should be no repercussions in
> reverting.]

Good to hear.

Best wishes,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-19 10:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-18 20:02 BISECTED: Suspend regression on drm-intel-next Peter Clifton
2010-12-18 21:42 ` Chris Wilson
2010-12-19 10:05   ` Peter Clifton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.