diff options
| author | Srinivasan Shanmugam <[email protected]> | 2024-10-17 02:04:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-22 21:50:37 +0000 |
| commit | a3fc44b98043df7a843e43eb217bc937f3d7a9d8 (patch) | |
| tree | 6c1264326cf104dcf67603e3def430686ad17ca5 /drivers/gpu/drm/amd/amdgpu/soc21.c | |
| parent | drm/amd/display: Add hpd_source index check for DCE60/80/100/110/112/120 link... (diff) | |
| download | kernel-a3fc44b98043df7a843e43eb217bc937f3d7a9d8.tar.gz kernel-a3fc44b98043df7a843e43eb217bc937f3d7a9d8.zip | |
drm/amd/display: Add hpd_source index check for dcn10 link encoder setup
This patch adds a boundary check for the hpd_source index during the
link encoder creation process for all dcn10 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 <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Roman Li <[email protected]>
Cc: Alex Hung <[email protected]>
Cc: Aurabindo Pillai <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Hamza Mahfooz <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Roman Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc21.c')
0 files changed, 0 insertions, 0 deletions
