Files
linux/drivers/gpu/drm/i915
Zhi A Wang af6c83ae25 drm/i915/gvt: fix the usage of ww lock in gvt scheduler.
As the APIs related to ww lock in i915 was changed recently, the usage of
ww lock in GVT-g scheduler needs to be changed accrodingly. We noticed a
deadlock when GVT-g scheduler submits the workload to i915. After some
investigation, it seems the way of how to use ww lock APIs has been
changed. Releasing a ww now requires a explicit i915_gem_ww_ctx_fini().

Fixes: 67f1120381 ("drm/i915/gvt: Introduce per object locking in GVT scheduler.")
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhi A Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20210826143834.25410-1-zhi.a.wang@intel.com
Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
(cherry picked from commit d168cd7979)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2021-11-01 16:38:12 -04:00
..
2021-10-27 21:35:06 -04:00
2021-10-04 13:11:31 -04:00
2021-10-07 11:04:05 -07:00
2021-09-20 08:06:36 -07:00
2021-10-07 11:04:05 -07:00
2021-10-15 10:45:50 -07:00
2021-10-15 10:45:50 -07:00
2021-07-22 09:28:58 -07:00
2021-10-15 14:22:11 -04:00
2021-03-26 09:24:31 +01:00