Bug 2144 - MCLK and SCLK values miscalculated
Summary: MCLK and SCLK values miscalculated
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: Other Linux (All)
: high normal
Assignee: Benjamin Herrenschmidt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-24 01:09 UTC by Benjamin Herrenschmidt
Modified: 2005-02-22 03:50 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
FIx MCLK / SCLK calculation (1.76 KB, patch)
2004-12-24 01:10 UTC, Benjamin Herrenschmidt
no flags Details | Splinter Review

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.