diff options
author | Chris Wilson <[email protected]> | 2018-03-02 14:32:45 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-03-02 23:11:12 +0000 |
commit | a3e3883646c05828f96369f7809436f1b3247234 (patch) | |
tree | c2d2431dcea1baed12750012fb07caa1ec95976d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | aebbc2d7b3887202c9b02e69e2a470901d0eda71 (diff) |
drm/i915/execlists: Split spinlock from its irq disabling side-effect
During reset/wedging, we have to clean up the requests on the timeline
and flush the pending interrupt state. Currently, we are abusing the irq
disabling of the timeline spinlock to protect the irq state in
conjunction to the engine's timeline requests, but this is accidental
and conflates the spinlock with the irq state. A baffling state of
affairs for the reader.
Instead, explicitly disable irqs over the critical section, and separate
modifying the irq state from the timeline's requests.
Suggested-by: Mika Kuoppala <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Michel Thierry <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions