OSDN Git Service

drm/i915/gvt: Add VM healthy check for workload_thread
authorfred gao <fred.gao@intel.com>
Tue, 19 Sep 2017 07:11:28 +0000 (15:11 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:46:51 +0000 (11:46 +0800)
commite011c6ce2b4fc7c577ade41485d74431a4e6ea1a
treefaa451deb09b28c1d086f6c44563532f43cc3b4c
parent5c56883a9531cd89561fb9a11a33697f2847c82a
drm/i915/gvt: Add VM healthy check for workload_thread

When a scan error occurs in dispatch_workload, this patch is to
check the healthy state and free all the queued workloads before
the failsafe mode is entered.

Signed-off-by: fred gao <fred.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/scheduler.c