]> 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)
commitaf9b19596636bf5d380b37456b26a4a5c984e96d
tree5cef72c347c2c3de5e2467f84a99f5982dd4498b
parent66fe3b6d54dd78a522e26dfcaceb0f5250871fe2
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