diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-06-08 00:25:21 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-06-08 01:36:09 +0200 |
commit | 0fcbe9473ac9c53463a61c9c83db8293bee15d12 (patch) | |
tree | 711241858abd2ab3652bcbbe7b58674103129f05 /drivers/gpu/drm/radeon/radeon_pm.c | |
parent | drm/radeon/kms/r600+: use voltage from requested clock mode (v3) (diff) | |
download | linux-0fcbe9473ac9c53463a61c9c83db8293bee15d12.tar.xz linux-0fcbe9473ac9c53463a61c9c83db8293bee15d12.zip |
drm/radeon/kms: add trivial debugging for voltage
agd5f: rebased
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_pm.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_pm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c index f2e1c60afda5..19fb3652c7bd 100644 --- a/drivers/gpu/drm/radeon/radeon_pm.c +++ b/drivers/gpu/drm/radeon/radeon_pm.c @@ -699,6 +699,8 @@ static int radeon_debugfs_pm_info(struct seq_file *m, void *data) seq_printf(m, "default memory clock: %u0 kHz\n", rdev->clock.default_mclk); if (rdev->asic->get_memory_clock) seq_printf(m, "current memory clock: %u0 kHz\n", radeon_get_memory_clock(rdev)); + if (rdev->pm.current_vddc) + seq_printf(m, "voltage: %u mV\n", rdev->pm.current_vddc); if (rdev->asic->get_pcie_lanes) seq_printf(m, "PCIE lanes: %d\n", radeon_get_pcie_lanes(rdev)); |