summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600_dpm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-01-16 19:13:42 +0100
committerAlex Deucher <alexander.deucher@amd.com>2013-06-28 01:16:17 +0200
commit98243917d7cd64be923aad76c563de7e23b0b386 (patch)
treee0da8be8089898d70775041ab530c929d13eb8d5 /drivers/gpu/drm/radeon/r600_dpm.c
parentdrm/radeon/dpm: add new pre/post_set_power_state callbacks (diff)
downloadlinux-98243917d7cd64be923aad76c563de7e23b0b386.tar.xz
linux-98243917d7cd64be923aad76c563de7e23b0b386.zip
drm/radeon/dpm: add pre/post_set_power_state callbacks (6xx-eg)
For r6xx-evergreen, they are no-ops as they don't support any dynamic state adjustment. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/r600_dpm.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c
index c9f9647aece3..bcb1967cd3fb 100644
--- a/drivers/gpu/drm/radeon/r600_dpm.c
+++ b/drivers/gpu/drm/radeon/r600_dpm.c
@@ -662,6 +662,16 @@ void r600_stop_dpm(struct radeon_device *rdev)
r600_dynamicpm_enable(rdev, false);
}
+int r600_dpm_pre_set_power_state(struct radeon_device *rdev)
+{
+ return 0;
+}
+
+void r600_dpm_post_set_power_state(struct radeon_device *rdev)
+{
+
+}
+
bool r600_is_uvd_state(u32 class, u32 class2)
{
if (class & ATOM_PPLIB_CLASSIFICATION_UVDSTATE)