diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-17 13:10:05 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-17 13:38:13 +0100 |
commit | 349bdb68bd48f4e1861058ac2dbaa0aafd4ca38d (patch) | |
tree | 47313c4d515f04daf17f46cb798cd1a8ba20d53c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c5cf9a9147ff6fc9f87251a8f8a5b6ac8b8bdcdc (diff) |
drm/i915/execlists: Reduce lock contention between schedule/submit_request
If we do not require to perform priority bumping, and we haven't yet
submitted the request, we can update its priority in situ and skip
acquiring the engine locks -- thus avoiding any contention between us
and submit/execute.
v2: Remove the stack element from the list if we can do the early
assignment.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170517121007.27224-10-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions