Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

authored by

Guchun Chen and committed by
Alex Deucher
abcb2ace f6015da7

+2 -2
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
··· 2569 2569 amdgpu_device_baco_enter(drm_dev); 2570 2570 } 2571 2571 2572 - dev_info(&pdev->dev, "asic/device is runtime suspended\n"); 2572 + dev_dbg(&pdev->dev, "asic/device is runtime suspended\n"); 2573 2573 2574 2574 return 0; 2575 2575 }
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
··· 858 858 struct psp_gfx_cmd_resp *cmd = acquire_psp_cmd_buf(psp); 859 859 860 860 psp_prep_tmr_unload_cmd_buf(psp, cmd); 861 - dev_info(psp->adev->dev, "free PSP TMR buffer\n"); 861 + dev_dbg(psp->adev->dev, "free PSP TMR buffer\n"); 862 862 863 863 ret = psp_cmd_submit_buf(psp, NULL, cmd, 864 864 psp->fence_buf_mc_addr);