diff options
author | 2017-06-23 13:01:11 +0800 | |
---|---|---|
committer | 2017-07-11 13:47:09 +0800 | |
commit | 0cf5ec41839d82ee7f8fbb47f137b7afc562b9f1 (patch) | |
tree | 2ca74ff82683c071d561c54105c55e11e55573da /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gvt: remove scheduler_mutex in per-engine workload_thread (diff) | |
download | wireguard-linux-0cf5ec41839d82ee7f8fbb47f137b7afc562b9f1.tar.xz wireguard-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions