]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/dpm: handle bapm on trinity
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Sep 2013 22:56:50 +0000 (18:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:37 +0000 (11:44 -0400)
commit6fab056351319f08fbdc1ea5f2b1550aa846ffd8
treee5a566fc95349dfdcbc81e042801dd6648b2c326
parent2fd079aafd9bc04be58e34c8ccc5731fec5b7e35
drm/radeon/dpm: handle bapm on trinity

bapm is a power management feature for handling the
power budget between the CPU and GPU on APUs.  This
patch adds support for enabling or disabling it.
For now disable it by default.  Enabling it properly
requires quite a bit more work and will be addressed
in a separate patch.

This patch fixes hangs on boot on certain trinity
laptops when the system is on battery power.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/ppsmc.h
drivers/gpu/drm/radeon/trinity_dpm.c
drivers/gpu/drm/radeon/trinity_dpm.h
drivers/gpu/drm/radeon/trinity_smc.c