diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-05-25 16:10:51 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-05-30 08:42:48 +0100 |
commit | 6796a604bab6df9c84af149e799902360afdd157 (patch) | |
tree | 3da3b6c65c6e941ad914951378c882b0da456fc1 /tools/intel_gpu_top.c | |
parent | 43f7a746ac092e41d4745ed190d4268ef1f82c55 (diff) |
igt/perf_pmu: Flush to idle after hang
We may not idle immediately after a hang, and indeed may send a pulse
down the pipeline periodically to become idle. Rather than make a flimsy
assumption about how long we need to sleep before the system idles,
wait for the system to declare itself idle; flushing it to idle in the
process!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Antonio Argenziano <antonio.argenziano@intel.com>
Diffstat (limited to 'tools/intel_gpu_top.c')
0 files changed, 0 insertions, 0 deletions