diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-15 14:55:22 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-19 14:43:17 +0200 |
commit | 5e2d7afcfefa7cda3f341ce78523bb9b0acdbacf (patch) | |
tree | 9d00293f7653117328eb9fe370ccd2dea6ed4785 /tools/perf/scripts/python | |
parent | 4b3a9526fc3228e74011b88f58088336acd2c9e2 (diff) |
drm/i915: Clarify event_lock locking, process context
It's good practice to use the more specific versions for irq save
spinlocks both as executable documentation and to enforce saner
design. The _irqsave version really should only be used if the calling
context is unknown and there's a good reason to call a function from
all kinds of places.
This is the first step whice replaces all occurances of _irqsave in
process context with the simpler irq disable/enable variants. We don't
have any funky spinlock nesting going on, especially since the
event_lock is the outermost of the irq/vblank related spinlocks.
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions