]> git.itanic.dy.fi Git - linux-stable/commitdiff
drm/amdgpu: use dev_dbg to print messages in runtime cycle
authorGuchun Chen <guchun.chen@amd.com>
Thu, 24 Nov 2022 05:23:09 +0000 (13:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Nov 2022 16:03:39 +0000 (11:03 -0500)
Runtime PM can happen pretty frequently, as these printings
may be annoyed, switch to dev_dbg.

Suggested-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

index 58b5779f292db9270cf7f2cb6a1c2a92be6e5bfa..5bd4e2dacee587e4b5d2a8e8abf88dd25133b58a 100644 (file)
@@ -2569,7 +2569,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;
 }
index 5f6c002aa0c88127b1649349b71874a129ea074c..7a2fc920739bb0fae42f0f445efe58af0e1d82ba 100644 (file)
@@ -858,7 +858,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);