drm/amd/display: Fix spelling mistake "SMC_MSG_AllowZstatesEntr" -> "SMC_MSG_AllowZstatesEntry"
PATCH 1/1 drm/amd/display: Fix spelling mistake "SMC_MSG_AllowZstatesEntr" -> "SMC_MSG_AllowZstatesEntry"
There is a spelling mistake in a smu_print message. Fix it.
Signed-off-by Colin Ian King <[email protected]>
--- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_smu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_smu.c +4 -4
@@ -361,26 +361,26 @@ void dcn35_smu_set_zstate_support(struct clk_mgr_internal *clk_mgr, enum dcn_zstcase DCN_ZSTATE_SUPPORT_ALLOW : msg_id = VBIOSSMC_MSG_AllowZstatesEntry; param = (1 <<10 ) | (1 <<9 ) | (1 <<8 ); -smu_print ("%s: SMC_MSG_AllowZstatesEntr msg = ALLOW, param = %d\n" , __func__, param); +smu_print ("%s: SMC_MSG_AllowZstatesEntry msg = ALLOW, param = %d\n" , __func__, param);break ;case DCN_ZSTATE_SUPPORT_DISALLOW : msg_id = VBIOSSMC_MSG_AllowZstatesEntry; param =0 ; -smu_print ("%s: SMC_MSG_AllowZstatesEntr msg_id = DISALLOW, param = %d\n" , __func__, param); +smu_print ("%s: SMC_MSG_AllowZstatesEntry msg_id = DISALLOW, param = %d\n" , __func__, param);break ;case DCN_ZSTATE_SUPPORT_ALLOW_Z10_ONLY : msg_id = VBIOSSMC_MSG_AllowZstatesEntry; param = (1 <<10 ); -smu_print ("%s: SMC_MSG_AllowZstatesEntr msg = ALLOW_Z10_ONLY, param = %d\n" , __func__, param); +smu_print ("%s: SMC_MSG_AllowZstatesEntry msg = ALLOW_Z10_ONLY, param = %d\n" , __func__, param);break ;case DCN_ZSTATE_SUPPORT_ALLOW_Z8_Z10_ONLY : msg_id = VBIOSSMC_MSG_AllowZstatesEntry; param = (1 <<10 ) | (1 <<8 ); -smu_print ("%s: SMC_MSG_AllowZstatesEntr msg = ALLOW_Z8_Z10_ONLY, param = %d\n" , __func__, param); +smu_print ("%s: SMC_MSG_AllowZstatesEntry msg = ALLOW_Z8_Z10_ONLY, param = %d\n" , __func__, param);break ;case DCN_ZSTATE_SUPPORT_ALLOW_Z8_ONLY :
Signature · 1 line
2.39.2
Alex Deucher
AppliedApplied. Thanks!
Alex
Quoted 46 lines · Colin Ian King
There is a spelling mistake in a
smu_printmessage. Fix it.Signed-off-by Colin Ian King <[email protected]>--- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_smu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_smu.c +4
-5@@ -361,26 +361,26 @@ void dcn35_smu_set_zstate_support(struct clk_mgr_internal *clk_mgr, enum dcn_zstcase DCN_ZSTATE_SUPPORT_ALLOW : msg_id = VBIOSSMC_MSG_AllowZstatesEntry; param = (1 <<10 ) | (1 <<9 ) | (1 <<8 ); -smu_print ("%s: SMC_MSG_AllowZstatesEntr msg = ALLOW, param = %d\n" , __func__, param); +smu_print ("%s: SMC_MSG_AllowZstatesEntry msg = ALLOW, param = %d\n" , __func__, param);break ;case DCN_ZSTATE_SUPPORT_DISALLOW : msg_id = VBIOSSMC_MSG_AllowZstatesEntry; param =0 ; -smu_print ("%s: SMC_MSG_AllowZstatesEntr msg_id = DISALLOW, param = %d\n" , __func__, param); +smu_print ("%s: SMC_MSG_AllowZstatesEntry msg_id = DISALLOW, param = %d\n" , __func__, param);break ;case DCN_ZSTATE_SUPPORT_ALLOW_Z10_ONLY : msg_id = VBIOSSMC_MSG_AllowZstatesEntry; param = (1 <<10 ); -smu_print ("%s: SMC_MSG_AllowZstatesEntr msg = ALLOW_Z10_ONLY, param = %d\n" , __func__, param); +smu_print ("%s: SMC_MSG_AllowZstatesEntry msg = ALLOW_Z10_ONLY, param = %d\n" , __func__, param);break ;case DCN_ZSTATE_SUPPORT_ALLOW_Z8_Z10_ONLY : msg_id = VBIOSSMC_MSG_AllowZstatesEntry; param = (1 <<10 ) | (1 <<8 ); -smu_print ("%s: SMC_MSG_AllowZstatesEntr msg = ALLOW_Z8_Z10_ONLY, param = %d\n" , __func__, param); +smu_print ("%s: SMC_MSG_AllowZstatesEntry msg = ALLOW_Z8_Z10_ONLY, param = %d\n" , __func__, param);break ;case DCN_ZSTATE_SUPPORT_ALLOW_Z8_ONLY : --2.39.2