drm/amdgpu: refine smu send msg debug log format
Subsystems (3)
PATCH 1/1 drm/amdgpu: refine smu send msg debug log format
remove unnecessary line breaks.
[ 51.280860] amdgpu 0000:24:00.0: amdgpu: smu send message: GetEnabledSmuFeaturesHigh(13) param: 0x00000000, resp: 0x00000001, readval: 0x00003763
Fixes a364c014a2c1 ("drm/amd/pm: enable amdgpu smu send message log")
Signed-off-by Yang Wang <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c +1 -2
@@ -459,8 +459,7 @@ int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, }if (read_arg) {smu_cmn_read_arg (smu, read_arg); -dev_dbg (adev->dev,"smu send message: %s(%d) param: 0x%08x, resp: 0x%08x,\ -readval: 0x%08x\n" , +dev_dbg (adev->dev,"smu send message: %s(%d) param: 0x%08x, resp: 0x%08x, readval: 0x%08x\n" ,smu_get_message_name (smu, msg), index, param, reg, *read_arg); }else { dev_dbg(adev->dev, "smu send message: %s(%d) param: 0x%08x, resp: 0x%08x\n",
Signature · 1 line
2.34.1
[AMD Official Use Only - AMD Internal Distribution Only]
Reviewed-by Kenneth Feng [email protected]
-----Original Message-----
From: Wang, Yang(Kevin) <[email protected]>
Sent: Wednesday, February 5, 2025 3:51 PM
To: [email protected]
Cc: Feng, Kenneth <[email protected]>
Subject: [PATCH] drm/amdgpu: refine smu send msg debug log format
remove unnecessary line breaks.
[ 51.280860] amdgpu 0000:24:00.0: amdgpu: smu send message: GetEnabledSmuFeaturesHigh(13) param: 0x00000000, resp: 0x00000001, readval: 0x00003763
Fixes a364c014a2c1 ("drm/amd/pm: enable amdgpu smu send message log")
Signed-off-by Yang Wang <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c +1 -2
@@ -459,8 +459,7 @@ int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, }if (read_arg) {smu_cmn_read_arg (smu, read_arg); -dev_dbg (adev->dev,"smu send message: %s(%d) param: 0x%08x, resp: 0x%08x,\ -readval: 0x%08x\n" , +dev_dbg (adev->dev,"smu send message: %s(%d) param: 0x%08x, resp: 0x%08x, readval: 0x%08x\n" ,smu_get_message_name (smu, msg), index, param, reg, *read_arg); }else { dev_dbg(adev->dev, "smu send message: %s(%d) param: 0x%08x, resp: 0x%08x\n",
--
2.34.1