|
From: Geert U. <ge...@li...> - 2001-11-18 09:29:06
|
On Sat, 17 Nov 2001, Till Adam wrote:
> So does the atyfb driver need to be extended to set the stretching
> registers to a sane state to work properly with this card? If so, is
Yes.
> there someone on this list for whom this would be a three minute job and
> who'd be willing to hack this in? I'm willing to help and test, but I'd
> appreciate the guidance of someone with more experience in this.
Some PPC people already started working on this.
> I also noticed that the vertical yres is weird when using atyfb. I found
> this around line 950 of atyfb_base.c which I dont understand and which I
> think causes this:
>
> if (var.yres == var.yres_virtual) {
> 32 vram = (fb->total_vram - (PAGE_SIZE << 2));
> var.yres_virtual = ((vram * 8) / var.bits_per_pixel) / var.xres_virtual;
> if (var.yres_virtual < var.yres)
> var.yres_virtual = var.yres;
> }
>
> What is the reasoning behind this?
You mean the virtual vertical resolution? It's made as large as possible, so
the console driver can use the virtual screen to do fast text scrolling, using
panning of the virtual screen.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li...
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
|