Re: [Intel-gfx] [PATCH] drm/i915: Write RING_TAIL once per-request

2013-09-10 Thread Daniel Vetter
On Tue, Sep 10, 2013 at 02:01:20PM +0100, Chris Wilson wrote: > On Mon, Aug 26, 2013 at 01:42:12PM -0700, Ben Widawsky wrote: > > On Sat, Aug 10, 2013 at 10:16:32PM +0100, Chris Wilson wrote: > > > Ignoring the legacy DRI1 code, and a couple of special cases (to be > > > discussed later), all acces

Re: [Intel-gfx] [PATCH] drm/i915: Write RING_TAIL once per-request

2013-09-10 Thread Chris Wilson
On Mon, Aug 26, 2013 at 01:42:12PM -0700, Ben Widawsky wrote: > On Sat, Aug 10, 2013 at 10:16:32PM +0100, Chris Wilson wrote: > > Ignoring the legacy DRI1 code, and a couple of special cases (to be > > discussed later), all access to the ring is mediated through requests. > > The first write to a r

Re: [Intel-gfx] [PATCH] drm/i915: Write RING_TAIL once per-request

2013-08-26 Thread Ben Widawsky
On Sat, Aug 10, 2013 at 10:16:32PM +0100, Chris Wilson wrote: > Ignoring the legacy DRI1 code, and a couple of special cases (to be > discussed later), all access to the ring is mediated through requests. > The first write to a ring will grab a seqno and mark the ring as having > an outstanding_laz

[Intel-gfx] [PATCH] drm/i915: Write RING_TAIL once per-request

2013-08-10 Thread Chris Wilson
Ignoring the legacy DRI1 code, and a couple of special cases (to be discussed later), all access to the ring is mediated through requests. The first write to a ring will grab a seqno and mark the ring as having an outstanding_lazy_request. Either through explicitly adding a request after an execbuf