summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-12-18 19:25:16 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-01-13 20:12:43 +0300
commit044c0629b55d73235161557a48870d663d0072f5 (patch)
tree18ddd5b338f2b866e80d2d5b8718b900cd5d1133 /drivers/gpu/drm/amd/amdgpu/cz_dpm.h
parentd83b1e8132f91ba9e038b5206dc81d32ecac1f75 (diff)
downloadlinux-044c0629b55d73235161557a48870d663d0072f5.tar.xz
drm/amdgpu/cz: add code to enable forcing VCE clocks
VCE DPM works similarly to SCLK DPM. Add a similar interface for VCE for forcing the VCE 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 6a6a6fe7967f..5df8c1faab51 100644
--- a/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
+++ b/drivers/gpu/drm/amd/amdgpu/cz_dpm.h
@@ -184,6 +184,7 @@ struct cz_power_info {
uint32_t gfx_pg_threshold;
uint32_t max_sclk_level;
uint32_t max_uvd_level;
+ uint32_t max_vce_level;
/* flags */
bool didt_enabled;
bool video_start;