]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/gvt: Don't submit request for error workload dispatch
authorZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 1 Mar 2019 07:55:04 +0000 (15:55 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 1 Mar 2019 07:55:04 +0000 (15:55 +0800)
commitf552e7bd028f93157b206bd1c7e3e195e919e8c2
treed8db93e5386d1464f94da389ef01deaea4a1c5ce
parent9f4984773240cf004cbffb99316af3269bbb5e26
drm/i915/gvt: Don't submit request for error workload dispatch

As vGPU shadow ctx is loaded with guest context state, arbitrarily
submitting request in error workload dispatch path would cause trouble.
So don't try to submit in error path now like in previous code.
This is to fix VM failure when GPU hang happens.

Fixes: f0e994372518 ("drm/i915/gvt: Fix workload request allocation before request add")
Reviewed-by: Xiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/scheduler.c