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

2014-02-11 Thread Ben Widawsky
On Tue, Feb 11, 2014 at 10:53:40PM +0200, Ville Syrjälä wrote: > On Tue, Feb 11, 2014 at 12:20:42PM -0800, Ben Widawsky wrote: > > 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 sema

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

2014-02-11 Thread Ville Syrjälä
On Tue, Feb 11, 2014 at 12:20:42PM -0800, Ben Widawsky wrote: > 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. > > The

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

2014-02-11 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