summaryrefslogtreecommitdiffstats
path: root/drivers/mcb
diff options
context:
space:
mode:
authorChuanxiao Dong <chuanxiao.dong@intel.com>2017-06-23 07:01:11 +0200
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-07-11 07:47:09 +0200
commit0cf5ec41839d82ee7f8fbb47f137b7afc562b9f1 (patch)
tree2ca74ff82683c071d561c54105c55e11e55573da /drivers/mcb
parentdrm/i915/gvt: remove scheduler_mutex in per-engine workload_thread (diff)
downloadlinux-0cf5ec41839d82ee7f8fbb47f137b7afc562b9f1.tar.xz
linux-0cf5ec41839d82ee7f8fbb47f137b7afc562b9f1.zip
drm/i915/gvt: Use fence error from GVT request for workload status
The req->fence.error will be set if this request caused GPU hang so we can use this value to workload->status to indicate whether this GVT request caused any problem. If it caused GPU hang, we shouldn't trigger any context switch back to the guest. v2: - only take -EIO from fence->error. (Zhenyu) Fixes: 8f1117abb408 (drm/i915/gvt: handle workload lifecycle properly) Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com> Cc: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions