diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2020-03-03 13:54:12 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2020-03-03 14:09:26 +0800 |
commit | 04d6067f1f19e70a418f92fa3170cf7fe53b7fdf (patch) | |
tree | b35830d3feed3b8046f6b079e9cbd0068015ce77 /drivers/gpu/drm/cirrus/Kconfig | |
parent | b549c252b1292aea959cd9b83537fcb9384a6112 (diff) |
drm/i915/gvt: Fix unnecessary schedule timer when no vGPU exits
From commit f25a49ab8ab9 ("drm/i915/gvt: Use vgpu_lock to protect per
vgpu access") the vgpu idr destroy is moved later than vgpu resource
destroy, then it would fail to stop timer for schedule policy clean
which to check vgpu idr for any left vGPU. So this trys to destroy
vgpu idr earlier.
Cc: Colin Xu <colin.xu@intel.com>
Fixes: f25a49ab8ab9 ("drm/i915/gvt: Use vgpu_lock to protect per vgpu access")
Acked-by: Colin Xu <colin.xu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200229055445.31481-1-zhenyuw@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/cirrus/Kconfig')
0 files changed, 0 insertions, 0 deletions