aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2018-03-29 23:45:18 +0100
committerChris Wilson <[email protected]>2018-03-30 10:05:59 +0100
commit5807e1c21dbd56c87f0e86ae6fe49ec745660c0d (patch)
tree7b7ca68eb59f19da3bedf317323bdb7a6ebf32cf /tools/perf/scripts/python/bin
parent9bd9be666008499bb9071e9e5472ded24e522f0b (diff)
drm/i915: Avoid sleeping inside per-engine reset
Only sleep and repeat when asked for a full device reset (ALL_ENGINES) and avoid using sleeping waits when asked for a per-engine reset. The goal is to be able to use a per-engine reset from hardirq/softirq/timer context. A consequence is that our individual wait timeouts are a thousand times shorter, on the order of a hundred microseconds rather than hundreds of millisecond. This may make hitting the timeouts more common, but hopefully the fallover to the full-device reset will be sufficient to pick up the pieces. Note, that the sleeps inside older gen (pre-gen8) have been left as they are only used in full device reset mode. Signed-off-by: Chris Wilson <[email protected]> Cc: Mika Kuoppala <[email protected]> Cc: MichaƂ Winiarski <[email protected]> CC: Michel Thierry <[email protected]> Cc: Jeff McGee <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Michel Thierry <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions