diff options
| author | Chris Wilson <[email protected]> | 2019-06-24 10:20:09 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-06-24 11:42:37 +0100 |
| commit | 8db7933ee3d442627c716ee49a70fa3aef18640d (patch) | |
| tree | 641a60ede14b59fad74a0a8c3bb1ef540ff59417 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b2dbf8d982a4f02a00261a5f8f75d2f0bf765de4 (diff) | |
drm/i915/execlists: Always clear ring_pause if we do not submit
In the unlikely case (thank you CI!), we may find ourselves wanting to
issue a preemption but having no runnable requests left. In this case,
we set the semaphore before computing the preemption and so must unset
it before forgetting (or else we leave the machine busywaiting until the
next request comes along and so likely hang).
v2: Replace readback with only a wmb after asserting the semaphore
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions