From: Chris Wilson <chris@chris-wilson.co.uk>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Initialize ring->obj last and use it as a marker
Date: Sat, 14 Apr 2012 23:27:39 +0100 [thread overview]
Message-ID: <1334442471_862@CP5-2952> (raw)
In-Reply-To: <20120414221524.GF4215@phenom.ffwll.local>
On Sun, 15 Apr 2012 00:15:24 +0200, Daniel Vetter <daniel@ffwll.ch> wrote:
> On Sat, Apr 14, 2012 at 12:39:44PM +0100, Chris Wilson wrote:
> > Use the assignment of ring->obj as a marker that the ring is active, and
> > so be careful not to initialise that value too early in case we need to
> > perform some workarounds that would ordinarily require touching the ring
> > whilst prepping the object.
> >
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>
> I guess we don't need this with the actual workaround that needs this
> patch (i.e. that try-to-make-i845 patch)? Or is other stuff in the works?
It's relevant for the quirk where we might need to idle the gpu whilst
manipulating the GATT, but I'm still chasing the magic to make it work
for 845g. I also thought it relevant in the light of your other
ringbuffer cleanups. There's probably a few other places where we
could make the code more architecture agnostic and just operate on what
has been setup.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
prev parent reply other threads:[~2012-04-14 22:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-14 11:39 [PATCH] drm/i915: Initialize ring->obj last and use it as a marker Chris Wilson
2012-04-14 22:15 ` Daniel Vetter
2012-04-14 22:27 ` Chris Wilson [this message]
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=1334442471_862@CP5-2952 \
--to=chris@chris-wilson.co.uk \
--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.