mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm/powerplay
Samasth Norway Ananda 3e22174603 drm/amdgpu: fix wrong sizeof argument
voltage_parameters is a point to a struct of type
SET_VOLTAGE_PARAMETERS_V1_3. Passing just voltage_parameters would
not print the right size of the struct variable. So we need to pass
*voltage_parameters to sizeof().

Fixes: 4630d5031c ("drm/amdgpu: check PS, WS index")
Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-01-22 17:13:25 -05:00
..
hwmgr drm/amdgpu: fix wrong sizeof argument 2024-01-22 17:13:25 -05:00
inc drm/amd/pm: Fix return value and drop redundant param 2023-11-17 09:29:53 -05:00
smumgr drm/amd: Add missing definitions for SMU_MAX_LEVELS_VDDGFX 2023-12-19 14:48:23 -05:00
amd_powerplay.c drm/amd/pm: Fix return value and drop redundant param 2023-11-17 09:29:53 -05:00
Makefile drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00