diff options
| author | fred gao <[email protected]> | 2017-08-18 15:41:08 +0800 |
|---|---|---|
| committer | Zhenyu Wang <[email protected]> | 2017-09-08 14:21:14 +0800 |
| commit | 0cce2823ed37b75555749c0969528d8c74887ada (patch) | |
| tree | 8b5ee44138b30b48509cc2df0209440a91e201a4 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a3cfdca920b274618d6046d85a474308ee28e5bb (diff) | |
drm/i915/gvt: Refine error handling for prepare_execlist_workload
refine the error handling for prepare_execlist_workload to restore to the
original states once error occurs.
only release the shadowed batch buffer and wa ctx when the workload is
completed successfully.
v2:
- split the mixed several error paths for better review. (Zhenyu)
v3:
- handle prepare batch buffer/wa ctx pin errors and
- emulate_schedule_in null issue. (Zhenyu)
v4:
- no need to handle emulate_schedule_in null issue. (Zhenyu)
v5:
- release the shadowed batch buffer and wa ctx only for the
successful workload. (Zhenyu)
v6:
- polish the return style. (Zhenyu)
Signed-off-by: fred gao <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions