diff options
author | Ville Syrjälä <[email protected]> | 2022-10-26 20:01:45 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2022-10-27 20:19:26 +0300 |
commit | 0234cda2ceb9b90da55e3bc43dfda451b152acb1 (patch) | |
tree | 2ba7f10dc70598807ea07f8c6ad06f4d6be31fbb /tools/perf/scripts/python/flamegraph.py | |
parent | 1c0ab71acc83091f55f9c9091f9959d5be565dff (diff) |
drm/i915/audio: Make sure we write the whole ELD buffer
Currently we only write as many dwords into the hardware
ELD buffers as drm_eld_size() tells us. That could mean the
remainder of the hardware buffer is left with whatever
stale garbage it had before, which doesn't seem entirely
great. Let's zero out the remainder of the buffer in case
the provided ELD doesn't fill it fully.
We can also sanity check out idea of the hardware ELD buffer's
size by making sure the address wrapped back to zero once
we wrote the entire buffer.
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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions