drm/amdgpu: enable uvd dpm and powergating
authorSonny Jiang <sonny.jiang@amd.com>
Tue, 12 May 2015 20:13:35 +0000 (16:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:48 +0000 (21:03 -0400)
commit564ea7900cffbe2eddb3bcfb09b700ad7942aef4
tree8108238d468c78a9776900aeaa637d2c46951f96
parent5bbc553a1acce5d1792ba778273ffbea5af1695d
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>
drivers/gpu/drm/amd/amdgpu/cz_dpm.c
drivers/gpu/drm/amd/amdgpu/cz_dpm.h
drivers/gpu/drm/amd/amdgpu/vi.c