[Intel-gfx] [PATCH 06/10] drm/i915: use __wait_seqno for ring throttle

Chris Wilson chris at chris-wilson.co.uk
Sun Apr 22 16:17:00 CEST 2012


On Fri, 20 Apr 2012 18:23:28 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> It turns out throttle had an almost identical  bit of code to do the
> wait. Now we can call the new helper directly.  This is just a bonus,
> and not needed for the overall series.

If you defer this patch to later in the series you can simply this
function even further by using i915_seqno_wait_timed(). As the only
known user of the API, I can vouch it will not change userspace
behaviour.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list