]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c3e439a58ec2818e8c4c9c958b53265af9263bd
treeb0fad4a9f12c52fb919b64fa3cf7afaf18147195
parentb83dee92bf75f8b774006033483510a68b451908
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: c406fe9b1814 ("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