drm/i915/gvt: Wean off struct_mutex
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 Oct 2019 18:39:01 +0000 (19:39 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Oct 2019 07:57:27 +0000 (08:57 +0100)
commit952f89f098c75ae4147fc440aaa3b9a209240cea
tree121f410d0115dd5398c48a8bceea2b23abe61914
parent0dc3c562aa95e029f40779c5c9709c7c1bdeb415
drm/i915/gvt: Wean off struct_mutex

Use the local vgpu_lock while preparing workloads to avoid taking the
obsolete i915->drm.struct_mutex

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191016183902.13614-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gvt/scheduler.c