Zhi A Wang d168cd7979 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: 67f1120381df ("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>
2021-09-13 21:59:31 +08:00
..
2021-05-06 11:43:46 +02:00
2021-04-27 13:13:19 +02:00
2021-06-23 10:07:48 +10:00
2021-04-13 23:15:09 +02:00
2021-07-08 12:28:15 -07:00
2021-04-13 23:15:09 +02:00
2021-06-23 10:07:48 +10:00
2021-06-23 14:24:37 +10:00
2021-03-16 17:08:46 +10:00
2021-04-29 18:53:05 -03:00
2021-04-13 23:15:09 +02:00
2021-06-23 10:07:48 +10:00
2021-01-04 12:59:33 +01:00
2021-01-07 13:40:20 +01:00
2021-05-17 21:19:48 +02:00
2021-03-18 14:22:50 +01:00