diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2024-10-17 07:36:46 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-22 17:50:37 -0400 |
commit | 86b5be6ea20a9c8f4b23bf4377be48e5d7facfcb (patch) | |
tree | 3a5625a736d38be4e67c8c345dbf30130db20be6 /drivers/rtc/rtc-ssd202d.c | |
parent | a3fc44b98043df7a843e43eb217bc937f3d7a9d8 (diff) |
drm/amd/display: Add hpd_source index check for dcn401 link encoder setup
This patch adds a boundary check for the hpd_source index during the
link encoder creation process for all dcn401 ip. 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/rtc/rtc-ssd202d.c')
0 files changed, 0 insertions, 0 deletions