diff options
author | Chris Wilson <[email protected]> | 2018-03-02 13:12:46 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-03-02 23:11:11 +0000 |
commit | aebbc2d7b3887202c9b02e69e2a470901d0eda71 (patch) | |
tree | c9c80087ae6c56d95882df847e4870e32434577a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 963ddd63c314e9b5d9cd999873d473a93aed5380 (diff) |
drm/i915/execlists: Move irq state manipulation inside irq disabled region
Although this state (execlists->active and engine->irq_posted) itself is
not protected by the engine->timeline spinlock, it does conveniently
ensure that irqs are disabled. We can use this to protect our
manipulation of the state and so ensure that the next IRQ to arrive sees
consistent state and (hopefully) ignores the reset engine.
Suggested-by: Mika Kuoppala <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Michel Thierry <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions