summaryrefslogtreecommitdiff
path: root/drivers/ptp/ptp_kvm.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-07-03 01:43:06 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2020-07-03 10:13:13 +0100
commitf7ce8639f6ff7f9445cb18114282371a41ceb840 (patch)
tree238fa406949ccfa253a0ffadc32798f6eecd0944 /drivers/ptp/ptp_kvm.c
parent03fca66b7a36b52da8915341eee388267f6d5b73 (diff)
drm/i915/gem: Split the context's obj:vma lut into its own mutex
Rather than reuse the common ctx->mutex for locking the execbuffer LUT, split it into its own lock to avoid being taken [as part of ctx->mutex] at inappropriate times. In particular to avoid the inversion from taking the timeline->mutex for the whole execbuf submission in the next patch. 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/20200703004306.11117-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/ptp/ptp_kvm.c')
0 files changed, 0 insertions, 0 deletions