drm/amd/pm: fix the print_clk_levels issue for SMU v13.0.6
authorLe Ma <le.ma@amd.com>
Tue, 26 Sep 2023 10:56:50 +0000 (18:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2023 19:36:32 +0000 (15:36 -0400)
commit2b44d0a417630929d12de355ea4fa48dc80ace18
tree002f7babbde85e026af8023e16ecbca9292e07d1
parent3152d01e881602406ce5aa1f0ef154da56d69fc8
drm/amd/pm: fix the print_clk_levels issue for SMU v13.0.6

Pass the correct size to smu_v13_0_6_print_clks, otherwise
the same place in buf will be re-written.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c