Re: Sparc64 and ATI fb, cannot mmap() - why?

From: Francis Galiegue (fg@mandrakesoft.com)
Date: Tue Jun 20 2000 - 07:02:01 EST


On Tue, 20 Jun 2000, David S. Miller wrote:

>
> The mmio_off fb mechanism is not supported on Sparc. It just so
> happened to work because the uninitialized value (ie. 0) happened to
> be where the frame buffer is on the other cards you tried.
>
> You have to know the offsets to the parts of the video device
> aperature you wish to map. You can study the ati/cg6/ffb/etc.
> drivers in the X server to see how the supported mechanism works.
>

Just a question... Why isn't this done in the framebuffer drivers directly? I
know that VESA is a standard, but still, it's a real kludge to have to specify
the offsets each time... Or at least that the offset be part of struct
fb_fix_screeninfo?

-- 
fg

"You can tune a filesystem but you can't tuna fish" (HP/UX' tunefs manpage)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:19 EST