aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2022-10-26 20:01:44 +0300
committerVille Syrjälä <[email protected]>2022-10-27 20:19:22 +0300
commit1c0ab71acc83091f55f9c9091f9959d5be565dff (patch)
tree9fc52d57d73ed9c7a7412b41f79dbb54a97a3632 /tools/perf/scripts/python/flamegraph.py
parent6e22c35ddaa19dcaa57bf9bfb4ca747ee7ce98a6 (diff)
drm/i915/audio: Read ELD buffer size from hardware
We currently read the ELD buffer size from hardware on g4x, but on ilk+ we just hardcode it to 84 bytes. Let's unify this and just do the hardware readout on all platforms, in case the size changes in the future or something. TODO: should perhaps do the readout during driver init and stash the results somewhere so that we could check that the connector's ELD actually fits and not even try to enable audio in that case... v2: Document the size is in dwords (Jani) 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