diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-09-30 19:32:53 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-09-30 19:59:26 +0300 |
commit | b05734720de982a40676a14ddfdca5f87b4aab5e (patch) | |
tree | 3189e877764bcd1f3b981e5f32af60616450ae42 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | eb3afbe18eb193a6cbf6541b3876c3fe14ad2a51 (diff) | |
download | linux-b05734720de982a40676a14ddfdca5f87b4aab5e.tar.xz |
drm/i915/gt: Retire cancelled requests on unload
If we manage to hit the intel_gt_set_wedged_on_fini() while active, i.e.
module unload during a stress test, we may cancel the requests but not
clean up. This leads to a very slow module unload as we wait for
something or other to trigger the retirement flushing, or timeout and
unload with a bunch of warnings. Instead if we explicitly cancel then
cleanup on an active unload, it should be instant and quiet.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200930163253.2789-3-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions