summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/trinity_smc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-11-08 05:05:07 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-28 03:15:48 +0400
commit0c4aaeae441495b21b9c7d306098ee4911bfa16a (patch)
tree6865baac28f703c024262ba1feb0ef8b63d57c69 /drivers/gpu/drm/radeon/trinity_smc.c
parent06793dfba2215f3d31a7a12e5fd8901f18ee035a (diff)
downloadlinux-0c4aaeae441495b21b9c7d306098ee4911bfa16a.tar.xz
drm/radeon: add dpm UVD handling for TN asics (v2)
v2: fix typo noticed by Dan Carpenter Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/trinity_smc.c')
-rw-r--r--drivers/gpu/drm/radeon/trinity_smc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/trinity_smc.c b/drivers/gpu/drm/radeon/trinity_smc.c
index 60ffc1e6f21b..85f86a29513c 100644
--- a/drivers/gpu/drm/radeon/trinity_smc.c
+++ b/drivers/gpu/drm/radeon/trinity_smc.c
@@ -73,6 +73,11 @@ int trinity_dpm_force_state(struct radeon_device *rdev, u32 n)
return trinity_notify_message_to_smu(rdev, PPSMC_MSG_DPM_ForceState);
}
+int trinity_uvd_dpm_config(struct radeon_device *rdev)
+{
+ return trinity_notify_message_to_smu(rdev, PPSMC_MSG_UVD_DPM_Config);
+}
+
int trinity_dpm_no_forced_level(struct radeon_device *rdev)
{
return trinity_notify_message_to_smu(rdev, PPSMC_MSG_NoForcedLevel);