diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-12-18 19:06:42 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-01-13 20:11:30 +0300 |
commit | d83b1e8132f91ba9e038b5206dc81d32ecac1f75 (patch) | |
tree | ec747b7c51cc8fb123f0cde32120d0a122d4007d /drivers/gpu/drm/amd/amdgpu/cz_dpm.h | |
parent | 888c9e33e4c5a503285921046c621f7c73199d2f (diff) | |
download | linux-d83b1e8132f91ba9e038b5206dc81d32ecac1f75.tar.xz |
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.h | 1 |
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 99e1afc89629..6a6a6fe7967f 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; |