diff options
author | Egbert Eich <eich@suse.de> | 2015-09-23 17:15:27 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-23 17:56:30 +0300 |
commit | 0706f17c307b056ff6f1848320ba82d76945a6ff (patch) | |
tree | 8cbb6ee4a94746516faac04e1eb43363aa088cee /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8204502a6aa2eab8cd5779020c2881fbc6361a96 (diff) | |
download | linux-0706f17c307b056ff6f1848320ba82d76945a6ff.tar.xz |
drm/i915: Avoid race of intel_crt_detect_hotplug() with HPD interrupt, v2
An HPD interrupt may fire while we are in a function that changes
the PORT_HOTPLUG_EN register - especially when an HPD interrupt
storm occurs.
Since the interrupt handler changes the enabled HPD lines when it
detects such a storm the read-modify-write cycles may interfere.
To avoid this, shiled the rmw cycles with IRQ save spinlocks.
Changes since v1:
- Implement a function which takes care of accessing PORT_HOTPLUG_EN.
Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions