diff options
author | Chris Wilson <[email protected]> | 2016-10-04 21:11:28 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-10-05 08:40:06 +0100 |
commit | 9e60ab0387817c6a9440f448aff7c8514b32d31b (patch) | |
tree | 49e73b825a6098bece43c4645650e7d9d54b1ab5 /tools/perf/scripts/python/stackcollapse.py | |
parent | c87d50cc9fcc634e09d239e6d10293319eafae5f (diff) |
drm/i915: Disable irqs across GPU reset
Whilst we reset the GPU, we want to prevent execlists from submitting
new work (which it does via an interrupt handler). To achieve this we
disable the irq (and drain the irq tasklet) around the reset. When we
enable it again afters, the interrupt queue should be empty and we can
reinitialise from a known state without fear of the tasklet running
concurrently.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions