aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/ci_dpm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-11-17 11:52:48 -0500
committerAlex Deucher <alexander.deucher@amd.com>2014-11-20 13:00:11 -0500
commit66648b81ce6a1ea713e299d2074d81d36cff4c94 (patch)
tree4071abe2fe354f9b747d11c186856edc2c2a3fe2 /drivers/gpu/drm/radeon/ci_dpm.c
parentdrm/radeon/dpm: add thermal dpm support for CI (diff)
downloadlinux-dev-66648b81ce6a1ea713e299d2074d81d36cff4c94.tar.xz
linux-dev-66648b81ce6a1ea713e299d2074d81d36cff4c94.zip
drm/radeon: fix PCC debugging message for CI DPM
Add missing newline and print the bad gpio shift. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ci_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/ci_dpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c
index 83121403ce3b..c9963b589336 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.c
+++ b/drivers/gpu/drm/radeon/ci_dpm.c
@@ -5773,7 +5773,7 @@ int ci_dpm_init(struct radeon_device *rdev)
tmp |= DPM_ENABLED;
break;
default:
- DRM_ERROR("Invalid PCC GPIO!");
+ DRM_ERROR("Invalid PCC GPIO: %u!\n", gpio.shift);
break;
}
WREG32_SMC(CNB_PWRMGT_CNTL, tmp);