summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/radeon_atombios.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c
index dc101cf7..189e3f08 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -555,6 +555,12 @@ atombios_static_pwrmgt_setup(ScrnInfoPtr pScrn, Bool enable)
AtomBiosArgRec data;
unsigned char *space;
+ /* disabling static power management causes hangs on some r4xx chips */
+ if (((info->ChipFamily == CHIP_FAMILY_R420) ||
+ (info->ChipFamily == CHIP_FAMILY_RV410)) &&
+ !enable)
+ return ATOM_NOT_IMPLEMENTED;
+
pwrmgt_data.ucEnable = enable;
data.exec.index = GetIndexIntoMasterTable(COMMAND, EnableASIC_StaticPwrMgt);