summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
diff options
context:
space:
mode:
authorSonny Jiang <sonny.jiang@amd.com>2015-05-12 16:13:35 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-06-03 21:03:48 -0400
commit564ea7900cffbe2eddb3bcfb09b700ad7942aef4 (patch)
tree8108238d468c78a9776900aeaa637d2c46951f96 /drivers/gpu/drm/amd/amdgpu/cz_dpm.h
parent5bbc553a1acce5d1792ba778273ffbea5af1695d (diff)
downloadlinux-564ea7900cffbe2eddb3bcfb09b700ad7942aef4.tar.bz2
drm/amdgpu: enable uvd dpm and powergating
Enable UVD dpm (dynamic power management) and powergating. UVD dpm dynamically scales the UVD clocks on demand. Powergating turns off the power to the block when it's not in use. Signed-off-by: Sonny Jiang <sonny.jiang@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cz_dpm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cz_dpm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cz_dpm.h b/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
index ed6449de5dc5..782a74107664 100644
--- a/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
+++ b/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
@@ -221,6 +221,8 @@ struct cz_power_info {
bool uvd_power_down;
bool vce_power_down;
bool acp_power_down;
+
+ bool uvd_dynamic_pg;
};
/* cz_smc.c */