diff options
author | 2021-01-14 13:56:11 +0000 | |
---|---|---|
committer | 2021-01-15 08:00:03 +0000 | |
commit | 2d60d3e0a2a286b8d0ff7102fc7555dd33ad3faf (patch) | |
tree | 39d96492c32f2d88b8f2cf3e16a4a76ac09ced96 /drivers/gpu/drm/i915/i915_request.c | |
parent | drm/i915/gem: Reduce ctx->engine_mutex for reading the clone source (diff) | |
download | wireguard-linux-2d60d3e0a2a286b8d0ff7102fc7555dd33ad3faf.tar.xz wireguard-linux-2d60d3e0a2a286b8d0ff7102fc7555dd33ad3faf.zip |
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 'drivers/gpu/drm/i915/i915_request.c')
0 files changed, 0 insertions, 0 deletions