All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: "Stéphane Marchesin" <marcheu@chromium.org>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 1/2] drm/i915: tune the RC6 threshold for stability
Date: Fri, 14 Jun 2013 21:32:09 +0200	[thread overview]
Message-ID: <CAKMK7uGp7JzLyFacG39+epM12hE8GfxxpjdnqPj3EjWzYbwTSQ@mail.gmail.com> (raw)
In-Reply-To: <CADMs+9aqQ1hWF1W5wwg9JquKg2vFG_ZyUjiVkojNN3GedTykGQ@mail.gmail.com>

On Fri, Jun 14, 2013 at 9:13 PM, Stéphane Marchesin
<marcheu@chromium.org> wrote:
> On Wed, Jun 12, 2013 at 2:41 AM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
>> On Tue, Jun 11, 2013 at 03:49:26PM -0700, Stéphane Marchesin wrote:
>>> It's basically the same deal as the RC6+ issues on ivy bridge
>>> except this time with RC6 on sandy bridge. Like last time the
>>> core of the issue is that the timings don't work 100% with our
>>> voltage regulator. So from time to time, the kernel will print
>>> a warning message about the GPU not getting out of RC6. In
>>> particular, I found this fairly easy to reproduce during
>>> suspend/resume.
>>>
>>> Changing the threshold to 150000 instead of 50000 seems to fix
>>> the issue.
>>>
>>> I also measured the idle power usage before/after this patch and
>>> didn't see a difference on a sandy bridge laptop.
>>>
>>> Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
>>
>> One magic number for another with no idea what is blowing up - I fear we
>> are just changing the frequency of the hang. I've pinged a number of snb
>> rc6 bug reports to see if we get a bite.
>
> Yup, if only Intel documented those registers :)

We've spammed rc6 bugs in bugzilla, one reporter says that this patch
breaks rc6 from "sometimes it doesn't work after resume" to "always
broken":

https://bugs.freedesktop.org/show_bug.cgi?id=54089#c63

So I guess I can't merge this :(
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

  reply	other threads:[~2013-06-14 19:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11 22:49 [PATCH 1/2] drm/i915: tune the RC6 threshold for stability Stéphane Marchesin
2013-06-11 22:49 ` [PATCH 2/2] drm/i915: repin bound framebuffers on resume Stéphane Marchesin
2013-06-11 22:57   ` Chris Wilson
2013-06-11 23:01     ` Stéphane Marchesin
2013-06-11 23:48       ` Chris Wilson
2013-06-12  9:15         ` [PATCH] drm/i915: Restore fences after resume and GPU resets Chris Wilson
2013-06-12 20:51           ` Daniel Vetter
2013-06-12 22:06         ` [PATCH 2/2] drm/i915: repin bound framebuffers on resume Jesse Barnes
2013-06-12 22:41           ` Chris Wilson
2013-06-14 19:12           ` Stéphane Marchesin
2013-06-14 19:21             ` Daniel Vetter
2013-06-12  9:41 ` [PATCH 1/2] drm/i915: tune the RC6 threshold for stability Chris Wilson
2013-06-14 19:13   ` Stéphane Marchesin
2013-06-14 19:32     ` Daniel Vetter [this message]
2013-06-20  0:43       ` Stéphane Marchesin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKMK7uGp7JzLyFacG39+epM12hE8GfxxpjdnqPj3EjWzYbwTSQ@mail.gmail.com \
    --to=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=marcheu@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.