drm/amd/powerplay: drop unnecessary "@" on OD sysfs output
Subsystems (2)
PATCH 1/1 drm/amd/powerplay: drop unnecessary "@" on OD sysfs output
To follow conventional style. And this unnecessary "@" confuses our userspace tool.
Change-Id Id4cdc611d63e800cf5a93449b6331a1e8323e727
Signed-off-by Evan Quan <[email protected]>
--- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/navi10_ppt.c +1 -1
@@ -1035,7 +1035,7 @@ static int navi10_print_clk_levels(struct smu_context *smu,default :break ; } - size +=sprintf (buf + size,"%d: %uMHz @ %umV\n" , i, curve_settings[0 ], curve_settings[1 ] /NAVI10_VOLTAGE_SCALE ); + size +=sprintf (buf + size,"%d: %uMHz %umV\n" , i, curve_settings[0 ], curve_settings[1 ] /NAVI10_VOLTAGE_SCALE ); }break ;case SMU_OD_RANGE :
Signature · 6 lines
2.27.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 6 lines · Evan Quan
To follow conventional style. And this unnecessary "@" confuses our userspace tool.
Change-Id Id4cdc611d63e800cf5a93449b6331a1e8323e727Signed-off-by Evan Quan <[email protected]>
Acked-by Alex Deucher <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/powerplay/navi10_ppt.c +1
-2@@ -1035,7 +1035,7 @@ static int navi10_print_clk_levels(struct smu_context *smu,default :break ; } - size +=sprintf (buf + size,"%d: %uMHz @ %umV\n" , i, curve_settings[0 ], curve_settings[1 ] /NAVI10_VOLTAGE_SCALE ); + size +=sprintf (buf + size,"%d: %uMHz %umV\n" , i, curve_settings[0 ], curve_settings[1 ] /NAVI10_VOLTAGE_SCALE ); }break ;case SMU_OD_RANGE : --2.27.0
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx