Re: [Intel-gfx] [RFC v2] drm/i915: Emit to ringbuffer directly

2016-09-09 Thread Chris Wilson
On Fri, Sep 09, 2016 at 04:52:28PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > This removes the usage of intel_ring_emit in favour of > directly writing to the ring buffer. > > intel_ring_emit was preventing the compiler for optimising > fetch and increment

[Intel-gfx] [RFC v2] drm/i915: Emit to ringbuffer directly

2016-09-09 Thread Tvrtko Ursulin
From: Tvrtko Ursulin This removes the usage of intel_ring_emit in favour of directly writing to the ring buffer. intel_ring_emit was preventing the compiler for optimising fetch and increment of the current ring buffer pointer and therefore generating very verbose code