drm/amdgpu: use dev_dbg to print messages in runtime cycle
Subsystems (2)
PATCH 1/1 drm/amdgpu: use dev_dbg to print messages in runtime cycle
Runtime PM can happen pretty frequently, as these printings may be annoyed, switch to dev_dbg.
Suggested-by Lijo Lazar <[email protected]>
Signed-off-by Guchun Chen <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +1 -1
@@ -2568,7 +2568,7 @@ static int amdgpu_pmops_runtime_suspend(struct device *dev)amdgpu_device_baco_enter (drm_dev); } -dev_info (&pdev->dev,"asic/device is runtime suspended\n" ); +dev_dbg (&pdev->dev,"asic/device is runtime suspended\n" );return 0 ; }
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +1 -1
@@ -861,7 +861,7 @@ static int psp_tmr_unload(struct psp_context *psp)struct psp_gfx_cmd_resp *cmd =acquire_psp_cmd_buf (psp);psp_prep_tmr_unload_cmd_buf (psp, cmd); -dev_info (psp->adev->dev,"free PSP TMR buffer\n" ); +dev_dbg (psp->adev->dev,"free PSP TMR buffer\n" ); ret =psp_cmd_submit_buf (psp,NULL , cmd, psp->fence_buf_mc_addr);
Signature · 1 line
2.25.1
Quoted 6 lines · Guchun Chen
Runtime PM can happen pretty frequently, as these printings may be annoyed, switch to
dev_dbg.Suggested-by Lijo Lazar <[email protected]>Signed-off-by Guchun Chen <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 34 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +1
-1@@ -2568,7 +2568,7 @@ static int amdgpu_pmops_runtime_suspend(struct device *dev)amdgpu_device_baco_enter (drm_dev); } -dev_info (&pdev->dev,"asic/device is runtime suspended\n" ); +dev_dbg (&pdev->dev,"asic/device is runtime suspended\n" );return 0 ; }drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +1
-2@@ -861,7 +861,7 @@ static int psp_tmr_unload(struct psp_context *psp)struct psp_gfx_cmd_resp *cmd =acquire_psp_cmd_buf (psp);psp_prep_tmr_unload_cmd_buf (psp, cmd); -dev_info (psp->adev->dev,"free PSP TMR buffer\n" ); +dev_dbg (psp->adev->dev,"free PSP TMR buffer\n" ); ret =psp_cmd_submit_buf (psp,NULL , cmd, psp->fence_buf_mc_addr); --2.25.1