diff options
author | Chris Wilson <[email protected]> | 2019-10-31 09:01:04 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-11-01 09:44:48 +0000 |
commit | 4a3174152147da1159f7135e90e1831fba74da34 (patch) | |
tree | cc2788285ac7ab1053c9d8b55e5a25fa6e4e85f1 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2b73b3503b0a1393ff1e4a214a3f815d2c6dbffb (diff) |
drm/i915/gem: Refine occupancy test in kill_context()
Don't just look at the very last request in a queue when deciding if we
need to evict the context from the GPU, as that request may still be in
the submission queue while the rest of the context is running!
Instead, walk back along the queued requests looking for the active
request and checking that.
Fixes: 2e0986a58cc4 ("drm/i915/gem: Cancel contexts when hangchecking is disabled")
Testcase: igt/gem_ctx_persistence/queued
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions