drm/amdgpu/cz: add code to enable forcing UVD clocks
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Dec 2015 16:06:42 +0000 (11:06 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jan 2016 17:11:30 +0000 (12:11 -0500)
commitd83b1e8132f91ba9e038b5206dc81d32ecac1f75
treeec747b7c51cc8fb123f0cde32120d0a122d4007d
parent888c9e33e4c5a503285921046c621f7c73199d2f
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>
drivers/gpu/drm/amd/amdgpu/cz_dpm.c
drivers/gpu/drm/amd/amdgpu/cz_dpm.h