OrangePi_CM5/drivers/gpu/drm/amd/display/dc
Harry Wentland 466721d767 drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT
commit 3dfe85fa87b2a26bdbd292b66653bba065cf9941 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-12 12:25:31 +02:00
..
basics
…
bios
…
calcs
…
clk_mgr
…
core drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT 2022-05-12 12:25:31 +02:00
dce
…
dce60
…
dce80
…
dce100
…
dce110
…
dce112
…
dce120
…
dcn10 drm/amd/display: don't ignore alpha property on pre-multiplied mode 2022-04-20 09:23:28 +02:00
dcn20 drm/amd/display: don't ignore alpha property on pre-multiplied mode 2022-04-20 09:23:28 +02:00
dcn21 drm/amd/display: Fix memory leak in dcn21_clock_source_create 2022-05-09 09:05:05 +02:00
dcn30
…
dml drm/amd/display: Update swizzle mode enums 2021-11-26 10:39:20 +01:00
dsc
…
gpio
…
hdcp
…
inc
…
irq drm/amd/display: Remove vupdate_int_entry definition 2022-04-08 14:40:17 +02:00
virtual
…
Makefile
…
dc.h
…
dc_bios_types.h
…
dc_ddc_types.h
…
dc_dmub_srv.c
…
dc_dmub_srv.h
…
dc_dp_types.h
…
dc_dsc.h
…
dc_helper.c
…
dc_hw_types.h
…
dc_link.h
…
dc_stream.h
…
dc_types.h
…
dm_cp_psp.h
…
dm_event_log.h
…
dm_helpers.h
…
dm_pp_smu.h
…
dm_services.h
…
dm_services_types.h
…
irq_types.h
…
os_types.h
…