xf 4.0.0/1 with rage II/rage pro -- should the ati driver work?

Geert Uytterhoeven geert at linux-m68k.org
Tue Sep 26 21:13:52 EST 2000


On Mon, 25 Sep 2000, Michael Schmitz wrote:
> > On Sun, 24 Sep 2000, Michael Schmitz wrote:
> > > >  > 	/* hack */
> > > >  > 	pScrn->videoRam = 2048;
> > > >  > [...]
> > > >  > The hack to unconditionally set pScrn->videoRam to 2M should be removed,
> > > >
> > > >
> > > > The rsync of atimach64ppc.c I got earlier today doesn't have this
> > > > unconditonal assignment hack anymore.  The hardwired vram setting
> > >
> > > It was too obvious to go undetected for long :-). Now if the kernel
> > > framebuffer driver (atyfb, and don't check the 'no video driver' option
> > > when using BootX) reportds the correct vram size the X server should see
> > > the correct size as well.
> >
> > However, I see a problem. Atyfb reports the video RAM size minus the cursor
> > area. If you divide that number of bytes by 1024 to get pScrn->videoRam, you
> > end up with 1 MB too few :-(
>
> Rather 1k too few if you mean the truncation error - or is the cursor area
> really 1 MB?

You're right. I was thinking MB instead of kB...

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list