Bug 2144

Summary: MCLK and SCLK values miscalculated
Product: xorg Reporter: Benjamin Herrenschmidt <benh>
Component: Driver/RadeonAssignee: Benjamin Herrenschmidt <benh>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: alexdeucher, dberkholz
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
FIx MCLK / SCLK calculation none

Description Benjamin Herrenschmidt 2004-12-24 01:09:30 UTC
In absence of an x86 BIOS, the driver tries to calculate the values for MCLK and
SCLK (since my patches). However, the formula I used fails to take into account
a factor of 2 that has to be applied on one of the deviders, thus causing the
clocks to be underestimated. Enclosed is a fix for it, now, the clocks
calculated by X do match the values advertised by Open Firmware.
Comment 1 Benjamin Herrenschmidt 2004-12-24 01:10:14 UTC
Created attachment 1592 [details] [review]
FIx MCLK / SCLK calculation
Comment 2 Alex Deucher 2004-12-25 08:30:11 UTC
committed to HEAD
Comment 3 Daniel Stone 2005-02-22 22:50:35 UTC
-

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.