aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-08-09 10:05:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:30:36 -0400
commit942bdf7f9ebc9a46e3f9b3c235112c0947905453 (patch)
treebe45a39083cb9961cd1b6c58703b8ca056e45cb5 /drivers/gpu/drm/radeon/radeon_asic.c
parent77df508a98834d8e2fe4c7c4e1089a1ce66ccaa1 (diff)
drm/radeon/dpm: implement UVD powergating for CI
Disable the UVD block when not in use to save power. The block is not actually powergated on CI, but we switch between UVD DPM (where the uvd clocks are adjusted on demand) and clocks off. 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 63b6aae66236..61c06449b31a 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -2470,6 +2470,7 @@ static struct radeon_asic ci_asic = {
2470 .debugfs_print_current_performance_level = &ci_dpm_debugfs_print_current_performance_level, 2470 .debugfs_print_current_performance_level = &ci_dpm_debugfs_print_current_performance_level,
2471 .force_performance_level = &ci_dpm_force_performance_level, 2471 .force_performance_level = &ci_dpm_force_performance_level,
2472 .vblank_too_short = &ci_dpm_vblank_too_short, 2472 .vblank_too_short = &ci_dpm_vblank_too_short,
2473 .powergate_uvd = &ci_dpm_powergate_uvd,
2473 }, 2474 },
2474 .pflip = { 2475 .pflip = {
2475 .pre_page_flip = &evergreen_pre_page_flip, 2476 .pre_page_flip = &evergreen_pre_page_flip,