summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-15 14:55:23 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-19 14:43:18 +0200
commitf326038a29092534b59626f736a3c6e599bda017 (patch)
tree69379be06866ea3f634e4bb3431899b67db6f2b5 /tools/perf/scripts/python/check-perf-trace.py
parent5e2d7afcfefa7cda3f341ce78523bb9b0acdbacf (diff)
drm/i915: Clarify event_lock locking, irq&mixed context
Now we tackle the functions also called from interrupt handlers. - intel_check_page_flip is exclusively called from irq handlers, so a plain spin_lock is all we need. In i915_irq.c we have the convention to give all such functions an _irq_handler postfix, but that would look strange and als be a bit a misleading name. I've opted for a WARN_ON(!in_irq()) instead. - The other two places left are called both from interrupt handlers and from our reset work, so need the full irqsave dance. Annotate them with a short comment. Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions