diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-06-28 10:06:26 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-01 16:08:32 -0400 |
commit | bd210d11cd37bee3da729e56288b5b4a038f88bd (patch) | |
tree | 06209ecc536ee057b14f30b76e9414f6ce50ba14 /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | 242916a5ee55a0ed49a2c74ee4d835fe9d8ca463 (diff) | |
download | op-kernel-dev-bd210d11cd37bee3da729e56288b5b4a038f88bd.zip op-kernel-dev-bd210d11cd37bee3da729e56288b5b4a038f88bd.tar.gz |
drm/radeon/dpm: add debugfs support for 7xx/evergreen/btc
This allows you to look at the current DPM state via
debugfs.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index 6b1ede1..39f5d96 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h @@ -476,6 +476,8 @@ u32 rv770_dpm_get_sclk(struct radeon_device *rdev, bool low); u32 rv770_dpm_get_mclk(struct radeon_device *rdev, bool low); void rv770_dpm_print_power_state(struct radeon_device *rdev, struct radeon_ps *ps); +void rv770_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev, + struct seq_file *m); /* * evergreen |