drm/i915: Split intel_ring_begin
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Tue, 4 Dec 2012 13:12:03 +0000 (15:12 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Dec 2012 12:14:34 +0000 (13:14 +0100)
commitcbcc80dff3896015385c67d6be0beb3399999e5c
tree692fbb95d8a119d19446566d762cc561338fdb73
parent43a7b924a920729ff775e6a847f671d0ea456801
drm/i915: Split intel_ring_begin

In preparation for handling ring seqno wrapping, split
intel_ring_begin into helper part which doesn't allocate
seqno.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c