summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/ci_dpm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-11-17 19:52:48 +0300
committerAlex Deucher <alexander.deucher@amd.com>2014-11-20 21:00:11 +0300
commit66648b81ce6a1ea713e299d2074d81d36cff4c94 (patch)
tree4071abe2fe354f9b747d11c186856edc2c2a3fe2 /drivers/gpu/drm/radeon/ci_dpm.c
parent0e4ed1c1908e48ee66d9e955ce824bc1f34d103e (diff)
downloadlinux-66648b81ce6a1ea713e299d2074d81d36cff4c94.tar.xz
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);