Searched hist:"3 e22174603daeddeb98f5d7f317cf4b3d7afbef8" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomctrl.c | diff 3e22174603daeddeb98f5d7f317cf4b3d7afbef8 Thu Jan 18 08:53:53 CET 2024 Samasth Norway Ananda <samasth.norway.ananda@oracle.com> 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: 4630d5031cd8 ("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>
|