summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-12-18 11:06:42 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-01-13 12:11:30 -0500
commitd83b1e8132f91ba9e038b5206dc81d32ecac1f75 (patch)
treeec747b7c51cc8fb123f0cde32120d0a122d4007d /drivers/gpu/drm/amd/amdgpu/cz_dpm.h
parent888c9e33e4c5a503285921046c621f7c73199d2f (diff)
downloadop-kernel-dev-d83b1e8132f91ba9e038b5206dc81d32ecac1f75.zip
op-kernel-dev-d83b1e8132f91ba9e038b5206dc81d32ecac1f75.tar.gz
drm/amdgpu/cz: add code to enable forcing UVD clocks
UVD DPM works similarly to SCLK DPM. Add a similar interface for UVD for forcing the UVD clocks. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cz_dpm.h b/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
index 99e1afc..6a6a6fe 100644
--- a/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
+++ b/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
@@ -183,6 +183,7 @@ struct cz_power_info {
uint32_t voltage_drop_threshold;
uint32_t gfx_pg_threshold;
uint32_t max_sclk_level;
+ uint32_t max_uvd_level;
/* flags */
bool didt_enabled;
bool video_start;
OpenPOWER on IntegriCloud