diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-28 11:28:03 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-28 14:56:45 +0000 |
| commit | 0c33518db7d394d4eef1ce13f9dce32713f14beb (patch) | |
| tree | 60324b8bfd05ff41e03f54a28c431532eae22233 /scripts/docproc.c | |
| 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>
Diffstat (limited to 'scripts/docproc.c')
0 files changed, 0 insertions, 0 deletions
