diff options
author | Matthew Brost <[email protected]> | 2022-01-13 10:13:50 -0800 |
---|---|---|
committer | John Harrison <[email protected]> | 2022-01-18 16:56:17 -0800 |
commit | 4e68354667716e62089ce3032a3c7e1b6c07e669 (patch) | |
tree | 5e0eb92d6b4558de322a0f012956988b80b68234 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | b5cfe6f7a6e17c6bc7c802d382cf22c4dc405477 (diff) |
drm/i915/selftests: Add a cancel request selftest that triggers a reset
Add a cancel request selftest that results in an engine reset to cancel
the request as it is non-preemptable. Also insert a NOP request after
the cancelled request and confirm that it completes successfully.
v2:
(Tvrtko)
- Skip test if preemption timeout compiled out
- Skip test if engine reset isn't supported
- Update debug prints to be more descriptive
v3:
- Add comment explaining test
v4:
(John Harrison)
- Fix typos in comment explaining test
- goto out_rq is NOP creation fails
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: John Harrison <[email protected]>
Signed-off-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions