]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa3350135ca24fd91ff51992a8ba11a2d3022e1c
tree5cef72c347c2c3de5e2467f84a99f5982dd4498b
parent4ebaecbee87de3decdf90c6af72abefbc2d422fa
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