All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Widawsky <ben@bwidawsk.net>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Handle sync_seqno correctly when seqno has wrapped.
Date: Tue, 13 Nov 2012 08:52:59 -0800	[thread overview]
Message-ID: <20121113085259.448df5cb@bwidawsk.net> (raw)
In-Reply-To: <CAKMK7uGY17_1WVOgqDz7ZDO8mLwQYZK076Bh32g3u_=mp_sWZg@mail.gmail.com>

On Tue, 13 Nov 2012 17:45:14 +0100
Daniel Vetter <daniel@ffwll.ch> wrote:

> On Tue, Nov 13, 2012 at 5:39 PM, Ben Widawsky <ben@bwidawsk.net> wrote:
> >
> > Also as an overall comment, I want the patches to guarantee to catch
> > the bug you found, which I think with the randomness of
> > gem_stress - isn't. Specifically, we want the waiting ring to be
> > waiting on a pre-wrapped value. Maybe I missed that guarantee, but if
> > there is a quick/dirty way to make that happen, that would better than
> > running an arbitrary number of gem_stress tests.
> 
> I think running just gem_stress is ok - as long as the test has a
> reasonable good chance of blowing up. On future platforms something
> else than semaphores might blow up, or we might simply botch a seqno
> comparison. So imo having a test that just beats a bit on the
> systems+the wrap-around after each boot/resume should give us
> excellent coverage, and trying to engineer a perfect test for the
> single failure mode we now have in front of us might actually reduce
> coverage.
> -Daniel

I didn't say don't run gem_stress...

-- 
Ben Widawsky, Intel Open Source Technology Center

  reply	other threads:[~2012-11-13 16:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13 13:51 [PATCH] drm/i915: Handle sync_seqno correctly when seqno has wrapped Mika Kuoppala
2012-11-13 14:15 ` Chris Wilson
2012-11-13 16:39 ` Ben Widawsky
2012-11-13 16:45   ` Daniel Vetter
2012-11-13 16:52     ` Ben Widawsky [this message]
2012-11-13 16:54     ` Chris Wilson
2012-11-19 10:55   ` Mika Kuoppala
2012-11-19 17:21     ` Ben Widawsky
2012-11-29  8:43       ` Mika Kuoppala

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=20121113085259.448df5cb@bwidawsk.net \
    --to=ben@bwidawsk.net \
    --cc=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.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.