hrev43885 adds 1 changeset to branch 'master' old head: 2a32bdb29ea9491921861e54e3bb816e6706fe3f new head: d8ac7e28ee2e685640d98f878fd6a55927f85f3e ---------------------------------------------------------------------------- d8ac7e2: radeon_hd: Fix DCE version check * Trace cleanup * Minimal change [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev43885 Commit: d8ac7e28ee2e685640d98f878fd6a55927f85f3e URL: http://cgit.haiku-os.org/haiku/commit/?id=d8ac7e2 Author: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> Date: Sun Mar 25 01:29:27 2012 UTC ---------------------------------------------------------------------------- 1 files changed, 5 insertions(+), 5 deletions(-) src/add-ons/accelerants/radeon_hd/pll.cpp | 10 +++++----- ---------------------------------------------------------------------------- diff --git a/src/add-ons/accelerants/radeon_hd/pll.cpp b/src/add-ons/accelerants/radeon_hd/pll.cpp index f2eca47..e66b11b 100644 --- a/src/add-ons/accelerants/radeon_hd/pll.cpp +++ b/src/add-ons/accelerants/radeon_hd/pll.cpp @@ -473,17 +473,16 @@ pll_setup_flags(pll_info* pll, uint8 crtcID) uint32 connectorIndex = gDisplay[crtcID]->connectorIndex; uint32 encoderFlags = gConnector[connectorIndex]->encoder.flags; - if ((info.dceMajor >= 3 && info.dceMinor >= 2) - && pll->pixelClock > 200000) { + uint32 dceVersion = (info.dceMajor * 100) + info.dceMinor; + + if (dceVersion >= 302 && pll->pixelClock > 200000) pll->flags |= PLL_PREFER_HIGH_FB_DIV; - } else + else pll->flags |= PLL_PREFER_LOW_REF_DIV; - if (info.chipsetID < RADEON_RV770) pll->flags |= PLL_PREFER_MINM_OVER_MAXP; - if ((encoderFlags & ATOM_DEVICE_LCD_SUPPORT) != 0) { pll->flags |= PLL_IS_LCD; @@ -530,6 +529,7 @@ pll_adjust(pll_info* pll, uint8 crtcID) int index = GetIndexIntoMasterTable(COMMAND, AdjustDisplayPll); if (atom_parse_cmd_header(gAtomContext, index, &tableMajor, &tableMinor) != B_OK) { + ERROR("%s: Couldn't find AtomBIOS PLL adjustment\n", __func__); return B_ERROR; }