commit | 0c33518db7d394d4eef1ce13f9dce32713f14beb | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Feb 28 11:28:03 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Tue Feb 28 14:56:45 2017 +0000 |
tree | 60324b8bfd05ff41e03f54a28c431532eae22233 | |
parent | 349ab9192cc32e578ce981936c6ab99ae3a96165 [diff] |
drm/i915/guc: Reorder __i915_guc_submit to reduce spinlock holdtime A couple of operations, the flushes and the tracepoint, do not require serialisation by client->wq_lock, so move them before we take it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170228112803.11646-3-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>