drm/i915: Reduce locking in execlist command submission
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Apr 2015 15:21:02 +0000 (16:21 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Apr 2015 08:31:44 +0000 (10:31 +0200)
commita6111f7b6604e6cf98856839b56a2ae436fc0bab
treef926ae6556b0598f1eab020c6b1606f2a0da0bb2
parent19ee66af15a59f405bfca9949af552d9ec0b03f4
drm/i915: Reduce locking in execlist command submission

This eliminates six needless spin lock/unlock pairs when writing out
ELSP.

v2: Respin with my preferred colour.
v3: Mostly back to the original colour

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> [v1]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_uncore.c