diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2024-10-15 18:12:39 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-23 00:50:12 +0300 |
commit | 40d7299c72666e0ec21426ded2a5c8abec36c35b (patch) | |
tree | c3c428f423a6b95cbc9faac2597d624ca1c0dba8 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
parent | df9174ef4a7cbb162891ea4dc1252a451bc05772 (diff) | |
download | linux-40d7299c72666e0ec21426ded2a5c8abec36c35b.tar.xz |
drm/amd/display: Ensure HPD source index is valid for dcn20/dcn201 link encoders
This patch adds a boundary check for the hpd_source index during the
link encoder creation process for dcn20/dcn201 IP's. The check ensures
that the index is within the valid range of the link_enc_hpd_regs array
to prevent out-of-bounds access.
Cc: Tom Chung <chiahsuan.chung@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Roman Li <roman.li@amd.com>
Cc: Alex Hung <alex.hung@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions