Re: [PATCH] drm/amd/pm: fix uninitialized variable warning for smu_v13

2024-04-29 Thread Alex Deucher
On Mon, Apr 29, 2024 at 3:52 AM Tim Huang wrote: > > Clear warning that using uninitialized variable when the dpm is > not enabled and reuse the code for SMU13 to get the boot frequency. > > Signed-off-by: Tim Huang Acked-by: Alex Deucher > --- > drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h

[PATCH] drm/amd/pm: fix uninitialized variable warning for smu_v13

2024-04-29 Thread Tim Huang
Clear warning that using uninitialized variable when the dpm is not enabled and reuse the code for SMU13 to get the boot frequency. Signed-off-by: Tim Huang --- drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 4 ++ .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c| 55 +-- .../drm/