summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_asic.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-08-09 18:02:40 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-31 00:30:35 +0400
commit77df508a98834d8e2fe4c7c4e1089a1ce66ccaa1 (patch)
treeae64267036d2440e0d07e5b0001d96aceb06311b /drivers/gpu/drm/radeon/radeon_asic.c
parent5e884f606cdba9c599c9c9373808f272ae794088 (diff)
downloadlinux-77df508a98834d8e2fe4c7c4e1089a1ce66ccaa1.tar.xz
drm/radeon/dpm: implement UVD powergating for KB/KV
Powergate the UVD block when not in use to save power. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c
index 1dad80c0e17f..63b6aae66236 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -2642,6 +2642,7 @@ static struct radeon_asic kv_asic = {
.print_power_state = &kv_dpm_print_power_state,
.debugfs_print_current_performance_level = &kv_dpm_debugfs_print_current_performance_level,
.force_performance_level = &kv_dpm_force_performance_level,
+ .powergate_uvd = &kv_dpm_powergate_uvd,
},
.pflip = {
.pre_page_flip = &evergreen_pre_page_flip,