OSDN Git Service

drm/i915/gvt: fix dead locking in early workload shadow
authorZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 23 Oct 2019 09:43:27 +0000 (17:43 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Oct 2019 22:55:29 +0000 (23:55 +0100)
commit8eb8e322ec07392e8c8008437216c38c310ff6c7
treeb0fad4a9f12c52fb919b64fa3cf7afaf18147195
parent058179e72e0956a2dfe4927db6cbe5fbfb2406aa
drm/i915/gvt: fix dead locking in early workload shadow

As early workload scan and shadow happens in execlist mmio handler,
which has already taken vgpu_lock. So remove extra lock taking here.

Fixes: 952f89f098c7 ("drm/i915/gvt: Wean off struct_mutex")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/gvt/scheduler.c