[Intel-gfx] [PATCH 2/2] drm/i915: ringbuffer: Add a helper function to update ring buffer space

Chris Wilson chris at chris-wilson.co.uk
Mon Aug 23 13:13:29 CEST 2010


On Tue, 24 Aug 2010 18:27:33 +0800, Yuanhan Liu <yuanhan.liu at intel.com> wrote:
> There are several places will calc the space of ring buffer. To make it clear
> and simple, define a helper function called intel_ring_update_space to do this.
> 
> Signed-off-by: Yuanhan Liu <yuanhan.liu at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list