Commit 63c7e37c authored by Alex Deucher's avatar Alex Deucher Committed by Luis Henriques

drm/radeon: adjust default bapm settings for KV

commit 02ae7af5 upstream.

Enabling bapm seems to cause clocking problems on some
KV configurations.  Disable it by default for now.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 65416226
...@@ -2745,13 +2745,11 @@ int kv_dpm_init(struct radeon_device *rdev) ...@@ -2745,13 +2745,11 @@ int kv_dpm_init(struct radeon_device *rdev)
pi->enable_auto_thermal_throttling = true; pi->enable_auto_thermal_throttling = true;
pi->disable_nb_ps3_in_battery = false; pi->disable_nb_ps3_in_battery = false;
if (radeon_bapm == -1) { if (radeon_bapm == -1) {
/* There are stability issues reported on with /* only enable bapm on KB, ML by default */
* bapm enabled on an asrock system. if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS)
*/
if (rdev->pdev->subsystem_vendor == 0x1849)
pi->bapm_enable = false;
else
pi->bapm_enable = true; pi->bapm_enable = true;
else
pi->bapm_enable = false;
} else if (radeon_bapm == 0) { } else if (radeon_bapm == 0) {
pi->bapm_enable = false; pi->bapm_enable = false;
} else { } else {
......
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