drm/radeon/dpm: add new callback for powergating UVD (v4)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2013 22:13:23 +0000 (18:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:30:34 +0000 (16:30 -0400)
commit9e9d976205626c3bd92776181cde6a2dda648c2b
tree5cef72c347c2c3de5e2467f84a99f5982dd4498b
parent2b4c8022fa95de43f590629b3af611e531e7199a
drm/radeon/dpm: add new callback for powergating UVD (v4)

Starting on CIK, multi-media blocks like UVD no longer
have special power state.  Rather they have their own
DPM implementation which adjusts their clocks dynamically
when active.  When they are not active, the blocks are
powergated to save power.

v2: add missing pm locks
v3: rebase on uvd state selection rework
v4: fix inverted logic typo noticed by Christian

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_pm.c