OSDN Git Service

drm/amd/powerplay: change dmesg log level in powerplay
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 25 Sep 2017 13:18:19 +0000 (21:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2017 20:03:35 +0000 (16:03 -0400)
Use pr_debug to prevent spamming unimportant dmesg.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c

index 73bb99d..189f3b5 100644 (file)
@@ -704,7 +704,7 @@ static int cz_update_sclk_limit(struct pp_hwmgr *hwmgr)
 
        clock = hwmgr->display_config.min_core_set_clock;
        if (clock == 0)
-               pr_info("min_core_set_clock not set\n");
+               pr_debug("min_core_set_clock not set\n");
 
        if (cz_hwmgr->sclk_dpm.hard_min_clk != clock) {
                cz_hwmgr->sclk_dpm.hard_min_clk = clock;