diff options
author | Ville Syrjälä <[email protected]> | 2022-10-26 20:01:42 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2022-10-27 20:19:10 +0300 |
commit | 9f4a51256f439265f28d729a8866692337d58505 (patch) | |
tree | 7a9b7519b5be3bdaf13ae500fdc30e1c47f15314 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 985a74d8ecc675e7e0535de1ad5812076d040569 (diff) |
drm/i915/audio: Protect singleton register with a lock
On the "ilk" platforms AUD_CNTL_ST2 is a singleton. Protect
it with the audio mutex in case we ever want to do parallel
RMW access to it.
Currently that should not happen since we only do audio
enable/disable from full modesets, and those are fully
serialized. But we probably want to think about toggling
audio on/off from fastsets too.
The hsw codepaths already have the same locking.
g4x should not need it since it can only do audio to a
single port at a time, which means it's actually broken
in more ways than this atm.
Cc: Chaitanya Kumar Borah <[email protected]>
Cc: Kai Vehmanen <[email protected]>
Cc: Takashi Iwai <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions