]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/dpm: add infrastructure to properly handle bapm
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Sep 2013 23:11:52 +0000 (19:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:39 +0000 (11:44 -0400)
commit5ee4df2850084edc9b284b959467f020cfb52f33
tree64d747bf45f56211e2f2cd3a0c347e891ac0a253
parent934cf67644e739b2e0ed07e1aad7b105a4b2595b
drm/radeon/dpm: add infrastructure to properly handle bapm

bapm is a pm feature for sharing the power budget between
the GPU and the CPU on APUs.  It needs to be enabled or
disabled in certain circumstances.  For now, disable it
when on battery and enable it when on AC power.

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