diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-01-20 18:15:09 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-01-22 16:49:42 +0100 |
commit | 9441f964f8e39374ab175e0a8fe870e1a2f02af1 (patch) | |
tree | 3b3d81898a878ffed5270fec08fe599a840f2799 /drivers/gpu | |
parent | drm/amdgpu: fix amdgpu_bo_pin_restricted VRAM placing v2 (diff) | |
download | linux-9441f964f8e39374ab175e0a8fe870e1a2f02af1.tar.xz linux-9441f964f8e39374ab175e0a8fe870e1a2f02af1.zip |
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 <Rex.Zhu@amd.com>
Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c index 8f5d5edcf193..aa67244a77ae 100644 --- a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c +++ b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c @@ -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; } |