2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Drop unnecessary ret variable for enable_assr() 2025-03-10 13:35:49 -04:00
dc drm/amd/display: change kzalloc to kcalloc in dml1_validate() 2025-03-10 13:36:17 -04:00
dmub drm/amd/display: Add Support for reg inbox0 for host->DMUB CMDs 2025-03-10 13:28:47 -04:00
include drm/amdgpu: Remove unused pre_surface_trace 2025-03-05 10:44:40 -05:00
modules drm/amd/display: Fix BT2020 YCbCr limited/full range input 2025-02-19 15:14:10 -05:00
Kconfig drm/amd/display: add CEC notifier to amdgpu driver 2025-01-10 11:58:57 -05:00
Makefile drm/amd/display: Refactor DCN3X into component folder 2024-06-14 16:18:55 -04:00