mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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: Rex Zhu <[email protected]> Reviewed-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
This commit is contained in:
parent
78d0e182b6
commit
9441f964f8
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue