-
- Downloads
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>
Showing
- drivers/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c 1 addition, 1 deletion...rs/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn301/dcn301_resource.c 1 addition, 1 deletion.../gpu/drm/amd/display/dc/resource/dcn301/dcn301_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn302/dcn302_resource.c 1 addition, 1 deletion.../gpu/drm/amd/display/dc/resource/dcn302/dcn302_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn303/dcn303_resource.c 1 addition, 1 deletion.../gpu/drm/amd/display/dc/resource/dcn303/dcn303_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c 1 addition, 1 deletion...rs/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c 1 addition, 1 deletion.../gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn315/dcn315_resource.c 1 addition, 1 deletion.../gpu/drm/amd/display/dc/resource/dcn315/dcn315_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn316/dcn316_resource.c 1 addition, 1 deletion.../gpu/drm/amd/display/dc/resource/dcn316/dcn316_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c 1 addition, 1 deletion...rs/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c 1 addition, 1 deletion.../gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c 1 addition, 1 deletion...rs/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c
- drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c 1 addition, 1 deletion.../gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c
Loading
Please register or sign in to comment