diff options
author | 2020-03-11 22:17:39 +0000 | |
---|---|---|
committer | 2020-03-11 22:24:02 +0000 | |
commit | 70c96e3978e5b693cf926e6f26fb07bfa440f1f3 (patch) | |
tree | 514db7bed13c2ed9438395d307afd92a1cfce992 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gem: Mark up sw-fence notify function (diff) | |
download | linux-rng-70c96e3978e5b693cf926e6f26fb07bfa440f1f3.tar.xz linux-rng-70c96e3978e5b693cf926e6f26fb07bfa440f1f3.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions