summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-target.c
diff options
context:
space:
mode:
authorHang Yuan <hang.yuan@linux.intel.com>2018-08-29 11:15:56 +0200
committerZhenyu Wang <zhenyuw@linux.intel.com>2018-08-30 06:54:32 +0200
commitb2b599fb54f90ae395ddc51f0d49e4f28244a8f8 (patch)
tree203bdb7cd72ab203716a90b6bc8f8c7fa71f351e /drivers/md/dm-target.c
parentdrm/i915/gvt: Handle GEN9_WM_CHICKEN3 with F_CMD_ACCESS. (diff)
downloadlinux-b2b599fb54f90ae395ddc51f0d49e4f28244a8f8.tar.xz
linux-b2b599fb54f90ae395ddc51f0d49e4f28244a8f8.zip
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>
Diffstat (limited to 'drivers/md/dm-target.c')
0 files changed, 0 insertions, 0 deletions