aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-04-03 11:51:24 +0100
committerChris Wilson <[email protected]>2017-04-04 11:03:33 +0100
commitb1becb88268beb72df6495e35d3d76c138d215bb (patch)
tree96842133a2630ea8d862733a2c4e2768e55f16c7 /tools/perf/scripts/python
parent7a3ee5deb46e1350b2c290d2b1fe0a2bc4087bff (diff)
drm/i915: Park the signaler before sleeping
If the signal to park arrives before we sleep, then we need to check kthread_should_park() before sleeping to avoid missing the signal. Otherwise, if the signal arrives whilst we are processing completed requests, we will reset the current->state back to TASK_INTERRUPTIBLE and so miss the wakeup. Fixes: fe3288b5da2c ("drm/i915: Park the breadcrumbs signaler across a GPU reset") Signed-off-by: Chris Wilson <[email protected]> Cc: Mika Kuoppala <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions