]> 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)
commit6f9d2f8cf77acd4f860714216063fdd7a68dd977
tree64d747bf45f56211e2f2cd3a0c347e891ac0a253
parent2085b7c3c850717c99a6a97f79a3b2e74bca6a50
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