From 06a1b4169b506f69dd807380d9ce7210b3a3bc23 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 21 Apr 2009 01:21:51 -0400 Subject: R4xx: avoid a PM related hang --- src/radeon_atombios.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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); -- cgit v1.2.3