Commit 0c78a449 authored by Alex Deucher's avatar Alex Deucher

drm/radeon: enable bapm by default on desktop TN/RL boards

bapm enabled the GPU and CPU to share TDP headroom.  It was
disabled by default since some laptops hung when it was enabled
in conjunction with dpm.  It seems to be stable on desktop
boards and fixes hangs on boot with dpm enabled on certain
boards, so enable it by default on desktop boards.

bug: default avatarAlex Deucher <>
parent 09f95d5b
......@@ -1874,7 +1874,15 @@ int trinity_dpm_init(struct radeon_device *rdev)
pi->at[i] = TRINITY_AT_DFLT;
pi->enable_bapm = false;
/* There are stability issues reported on latops with
* bapm installed when switching between AC and battery
* power. At the same time, some desktop boards hang
* if it's not enabled and dpm is enabled.
if (rdev->flags & RADEON_IS_MOBILITY)
pi->enable_bapm = false;
pi->enable_bapm = true;
pi->enable_nbps_policy = true;
pi->enable_sclk_ds = true;
pi->enable_gfx_power_gating = true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment