Hang Yuan b2b599fb54 drm/i915/gvt: move intel_runtime_pm_get out of spin_lock in stop_schedule
pm_runtime_get_sync in intel_runtime_pm_get might sleep if i915
device is not active. When stop vgpu schedule, the device may be
inactive. So need to move runtime_pm_get out of spin_lock/unlock.

Fixes: b24881e0b0b6("drm/i915/gvt: Add runtime_pm_get/put into gvt_switch_mmio
Cc: <stable@vger.kernel.org>
Signed-off-by: Hang Yuan <hang.yuan@linux.intel.com>
Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2018-08-30 12:54:32 +08:00
..
2018-08-06 11:18:01 -07:00
2018-07-20 12:29:24 +10:00
2018-08-06 11:18:01 -07:00
2018-07-20 12:29:24 +10:00
2017-10-07 10:11:41 +01:00
2018-08-06 11:18:01 -07:00
2017-08-03 18:18:05 +01:00
2017-08-03 18:18:05 +01:00
2017-08-03 18:18:05 +01:00
2017-08-03 18:18:05 +01:00
2017-08-03 18:18:05 +01:00
2018-08-15 17:39:07 -07:00
2018-03-08 10:07:18 +00:00
2017-07-09 18:48:37 -07:00
2018-08-20 15:38:44 -07:00
2018-07-20 10:46:49 +10:00
2018-07-20 12:29:24 +10:00
2018-08-20 15:38:44 -07:00
2018-06-12 16:19:22 -07:00
2018-07-12 17:31:28 +02:00
2018-08-15 17:39:07 -07:00
2018-07-20 12:29:24 +10:00
2018-08-06 11:18:01 -07:00
2018-07-20 10:46:49 +10:00
2018-07-20 12:29:24 +10:00
2018-08-20 15:38:44 -07:00