diff options
author | 2022-04-19 13:03:12 -0400 | |
---|---|---|
committer | 2022-05-04 12:21:41 -0400 | |
commit | 3dfe85fa87b2a26bdbd292b66653bba065cf9941 (patch) | |
tree | 7d85235b7042fd3d3281121d7cecf8f1b2b63a68 /tools/perf/scripts/python/stackcollapse.py | |
parent | drm/amdgpu: do not use passthrough mode in Xen dom0 (diff) | |
download | linux-dev-3dfe85fa87b2a26bdbd292b66653bba065cf9941.tar.xz linux-dev-3dfe85fa87b2a26bdbd292b66653bba065cf9941.zip |
drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT
A faulty receiver might report an erroneous channel count. We
should guard against reading beyond AUDIO_CHANNELS_COUNT as
that would overflow the dpcd_pattern_period array.
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions