diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-14 13:56:11 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-15 08:00:03 +0000 |
commit | 2d60d3e0a2a286b8d0ff7102fc7555dd33ad3faf (patch) | |
tree | 39d96492c32f2d88b8f2cf3e16a4a76ac09ced96 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1a72e7414d15ca417e60649b5dc7375f302e4cdf (diff) |
drm/i915/gem: Reduce ctx->engines_mutex for get_engines()
Take a snapshot of the ctx->engines, so we can avoid taking the
ctx->engines_mutex for a mere read in get_engines().
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210114135612.13210-4-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions