linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* patch for aty128fb.c that hopefully will work on both Rage128 and Rage128Pro
       [not found] <20000318230212.008930@192.168.1.10>
@ 2000-03-19 22:40 ` Kevin Hendricks
  0 siblings, 0 replies; only message in thread
From: Kevin Hendricks @ 2000-03-19 22:40 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

Hi Ben,

I looked and the aty128fb.c does not do anything with the MCLK value so I never
bothered to calculate it.

So assuming OF sets the PLL registers properly (and it did on my B+W G3 rev2
and my brand new G4 with Rage128Pro), this patch calculates the XCLK and reads
the reference divider for the VCLK but does not set X_MPLL_REF_FB_DIV at all.

The patch is attached.

By the way this patch works fine on my B+W G3, let's hope it will work fine for
you and others.  If so, I will create a similar patch for xf400 and give
that to Kostas to submit to xfree86.org.

Kevin



--
Kevin B. Hendricks
Associate Professor of Operations and Information Technology
Richard Ivey School of Business, University of Western Ontario
London, Ontario  N6A-3K7  CANADA
khendricks@ivey.uwo.ca, (519) 661-3874, fax: 519-661-3959


[-- Attachment #2: rage128.patch.gz --]
[-- Type: application/x-gzip, Size: 894 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-03-19 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20000318230212.008930@192.168.1.10>
2000-03-19 22:40 ` patch for aty128fb.c that hopefully will work on both Rage128 and Rage128Pro Kevin Hendricks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).