Re: [Intel-gfx] [PATCH 06/15] drm/i915: Make semaphore updates more precise

2013-12-17 Thread Chris Wilson
On Mon, Dec 16, 2013 at 08:50:42PM -0800, Ben Widawsky wrote: > @@ -2054,7 +2052,8 @@ int intel_init_bsd_ring_buffer(struct drm_device *dev) > gen6_ring_dispatch_execbuffer; > } > ring->semaphore.sync_to = gen6_ring_sync; > - rin

[Intel-gfx] [PATCH 06/15] drm/i915: Make semaphore updates more precise

2013-12-16 Thread Ben Widawsky
With the ring mask we now have an easy way to know the number of rings in the system, and therefore can accurately predict the number of dwords to emit for semaphore signalling. This was not possible (easily) previously. There should be no functional impact, simply fewer instructions emitted. Whi