diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2024-10-09 19:53:59 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-15 11:21:22 -0400 |
commit | 1791bd09af633aa40e8dbcb8e09bd62a0a2f35da (patch) | |
tree | ac343f1c9239cf5818744ba96ee87c893552fc75 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
parent | 144df260f3daab42c4611021f929b3342de516e5 (diff) | |
download | linux-1791bd09af633aa40e8dbcb8e09bd62a0a2f35da.tar.gz linux-1791bd09af633aa40e8dbcb8e09bd62a0a2f35da.tar.bz2 linux-1791bd09af633aa40e8dbcb8e09bd62a0a2f35da.zip |
drm/amd/display: Add hpd_source index out-of-bounds check for dcn3x link encoder creation
This patch adds a boundary check for the hpd_source index during the
link encoder creation process for dcn3x 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_mes.c')
0 files changed, 0 insertions, 0 deletions