diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-12 01:17:39 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-12 01:24:02 +0300 |
commit | 70c96e3978e5b693cf926e6f26fb07bfa440f1f3 (patch) | |
tree | 514db7bed13c2ed9438395d307afd92a1cfce992 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c02aac25f150d1b7215b9481f8cdd30cc607bedf (diff) | |
download | linux-70c96e3978e5b693cf926e6f26fb07bfa440f1f3.tar.xz |
drm/i915/gem: Take a copy of the engines for context_barrier_task
When applying the context-barrier, we only care about the current
engines, as the next set of engines will be naturally after the barrier.
So we can skip holding the ctx->engines_mutex while constructing the
request by taking a sneaky reference to the i915_gem_engines instead.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200311221739.30375-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions