提交 9441f964 编写于 作者: A Alex Deucher

drm/amdgpu: add a message to indicate when powerplay is enabled (v2)

Makes it clear to the user which power management path is in
use.

v2: make consistent with dpm
Reviewed-by: NRex Zhu <Rex.Zhu@amd.com>
Reviewed-by: NTom St Denis <tom.stdenis@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 78d0e182
......@@ -64,6 +64,11 @@ static int pp_sw_init(void *handle)
if (ret == 0)
ret = hwmgr->hwmgr_func->backend_init(hwmgr);
if (ret)
printk("amdgpu: powerplay initialization failed\n");
else
printk("amdgpu: powerplay initialized\n");
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册