Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Packard <keithp@keithp.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm/i915: Remove use of the autoreported ringbuffer HEAD position
Date: Wed, 08 Feb 2012 11:13:28 -0800	[thread overview]
Message-ID: <8639alf89z.fsf@sumi.keithp.com> (raw)
In-Reply-To: <CAKMK7uFNUGf0oEf6MbygM803H=UFD8-Ci-8RHaafdmzz0a3JeA@mail.gmail.com>

<#part sign=pgpmime>
On Wed, 8 Feb 2012 19:02:47 +0100, Daniel Vetter <daniel@ffwll.ch> wrote:

> The issue is that the first one introduces a pretty decent perf
> regression, iirc Chris mentions something much large than 10x slowdown
> on certain cairo traces on sna. So we can only merge the first one
> together with the second one.

Is there any effect on mesa or uxa?

> Yeah, that's kinda the issue which I've failed to phrase clearly in my mail ;-)

Frightening patches with that kind of global scope need a reason far
more compelling than a performance regression caused by a separate
correctness fix.

If we need the correctness patch to resolve a known problem (especially
a regression), then we'll take the performance hit and fix that in the
next release.

> Without this issue being confirmed on older machines I'm leaning
> towards merging both patches to -next - after all snb never really
> regressed because the offending commit changed behaviour from "dies as
> soon as the ring wraps" to "sometimes corrupts the ring".

If we don't see any significant issues in 'normal' usage (mesa and uxa),
then I agree, we should push both patches to -next.

-- 
keith.packard@intel.com

  parent reply	other threads:[~2012-02-08 19:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08 13:34 [PATCH 1/2] drm/i915: Remove use of the autoreported ringbuffer HEAD position Chris Wilson
2012-02-08 13:34 ` [PATCH 2/2] drm/i915: Record the tail at each request and use it to estimate the head Chris Wilson
2012-02-08 14:51   ` Daniel Vetter
2012-02-08 18:06     ` [PATCH] " Chris Wilson
2012-02-08 18:28       ` Daniel Vetter
2012-02-08 18:56       ` Eugeni Dodonov
2012-02-08 19:21         ` Chris Wilson
2012-02-08 14:54 ` [PATCH 1/2] drm/i915: Remove use of the autoreported ringbuffer HEAD position Daniel Vetter
2012-02-08 17:36   ` Keith Packard
2012-02-08 18:02     ` Daniel Vetter
2012-02-08 18:17       ` Chris Wilson
2012-02-08 18:24         ` Daniel Vetter
2012-02-08 19:13       ` Keith Packard [this message]
2012-02-08 20:09   ` [PATCH 1/2] drm/i915: Record the in-flight requests at the time of a hang Chris Wilson
2012-02-08 20:09     ` [PATCH 2/2] drm/i915: Record the position of the request upon error Chris Wilson
2012-02-08 22:34       ` Daniel Vetter
2012-02-10 14:51       ` Eugeni Dodonov
2012-02-08 22:33     ` [PATCH 1/2] drm/i915: Record the in-flight requests at the time of a hang Daniel Vetter
2012-02-21 19:23 ` [PATCH 1/2] drm/i915: Remove use of the autoreported ringbuffer HEAD position Eric Anholt
2012-02-27 16:53 ` Jesse Barnes

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=8639alf89z.fsf@sumi.keithp.com \
    --to=keithp@keithp.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox