linux/drivers/gpu/drm/amd/display/dc/resource
Ethan Carter Edwards 315ce6c41a drm/amd/display: change kzalloc to kcalloc in dml1_validate()
We are trying to get rid of all multiplications from allocation
functions to prevent integer overflows. Here the multiplication is
probably safe, but using kcalloc() is more appropriate and improves
readability. This patch has no effect on runtime behavior.

Reviewed-by: Rodrigo Siqueira <siqueira@igalia.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-10 13:36:17 -04:00
..
dce80 drm/amd/display: Add hpd_source index check for DCE60/80/100/110/112/120 link encoders 2024-10-22 17:50:37 -04:00
dce100 drm/amd/display: Add hpd_source index check for DCE60/80/100/110/112/120 link encoders 2024-10-22 17:50:37 -04:00
dce110 drm/amd/display: Add hpd_source index check for DCE60/80/100/110/112/120 link encoders 2024-10-22 17:50:37 -04:00
dce112 drm/amd/display: Add hpd_source index check for DCE60/80/100/110/112/120 link encoders 2024-10-22 17:50:37 -04:00
dce120 drm/amd/display/dc: enable oem i2c support for DCE 12.x 2025-02-12 21:02:54 -05:00
dcn10 drm/amd/display: DML2.1 Post-Si Cleanup 2025-01-10 12:00:34 -05:00
dcn20 drm/amd/display: replace dio encoder access 2025-02-25 11:44:02 -05:00
dcn21 drm/amd/display: Expose 3 secondary planes for supported ASICs 2025-02-12 21:04:09 -05:00
dcn30 drm/amd/display: change kzalloc to kcalloc in dcn30_validate_bandwidth() 2025-03-10 13:36:04 -04:00
dcn31 drm/amd/display: change kzalloc to kcalloc in dcn31_validate_bandwidth() 2025-03-10 13:36:08 -04:00
dcn32 drm/amd/display: change kzalloc to kcalloc in dml1_validate() 2025-03-10 13:36:17 -04:00
dcn35 drm/amd/display: limit coverage of optimization skip 2025-02-12 21:04:09 -05:00
dcn36 drm/amd/display: Add DCN36 Resource 2025-02-12 21:04:07 -05:00
dcn201 drm/amd/display: DML2.1 Post-Si Cleanup 2025-01-10 12:00:34 -05:00
dcn301 drm/amd/display: DML2.1 Post-Si Cleanup 2025-01-10 12:00:34 -05:00
dcn302 drm/amd/display: DML2.1 Post-Si Cleanup 2025-01-10 12:00:34 -05:00
dcn303 drm/amd/display: DML2.1 Post-Si Cleanup 2025-01-10 12:00:34 -05:00
dcn314 drm/amd/display: change kzalloc to kcalloc in dcn314_validate_bandwidth() 2025-03-10 13:36:14 -04:00
dcn315 drm/amd/display: calculate the remain segments for all pipes 2025-03-10 13:30:31 -04:00
dcn316 drm/amd/display: DML2.1 Post-Si Cleanup 2025-01-10 12:00:34 -05:00
dcn321 drm/amd/display: DML2.1 Post-Si Cleanup 2025-01-10 12:00:34 -05:00
dcn351 drm/amd/display: limit coverage of optimization skip 2025-02-12 21:04:09 -05:00
dcn401 drm/amd/display: replace dio encoder access 2025-02-25 11:44:02 -05:00
Makefile drm/amd/display: Add DCN36 Resource 2025-02-12 21:04:07 -05:00