Re: [Intel-gfx] [RFC] drm/i915: Reduce locking in command submission

2015-01-14 Thread Tvrtko Ursulin
On 12/15/2014 01:06 PM, Daniel Vetter wrote: On Thu, Dec 11, 2014 at 03:41:34PM +, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Eliminate six needless spin lock/unlock pairs when writing ELSP. RFC for now with some #define copy and paste. Signed-off-by: Tvrtko Ursulin Cc: Dave Gordon

Re: [Intel-gfx] [RFC] drm/i915: Reduce locking in command submission

2014-12-16 Thread Tvrtko Ursulin
On 12/15/2014 01:06 PM, Daniel Vetter wrote: On Thu, Dec 11, 2014 at 03:41:34PM +, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Eliminate six needless spin lock/unlock pairs when writing ELSP. RFC for now with some #define copy and paste. Signed-off-by: Tvrtko Ursulin Cc: Dave Gordon

Re: [Intel-gfx] [RFC] drm/i915: Reduce locking in command submission

2014-12-15 Thread Daniel Vetter
On Thu, Dec 11, 2014 at 03:41:34PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Eliminate six needless spin lock/unlock pairs when writing ELSP. > > RFC for now with some #define copy and paste. > > Signed-off-by: Tvrtko Ursulin > Cc: Dave Gordon Yeah makes sense. I'm on the fence

[Intel-gfx] [RFC] drm/i915: Reduce locking in command submission

2014-12-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Eliminate six needless spin lock/unlock pairs when writing ELSP. RFC for now with some #define copy and paste. Signed-off-by: Tvrtko Ursulin Cc: Dave Gordon --- drivers/gpu/drm/i915/intel_lrc.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff