|
From: Sven <lu...@dp...> - 2001-11-20 18:35:34
|
On Mon, Nov 19, 2001 at 08:10:09AM -0800, Sottek, Matthew J wrote: > > >In fact imageblit is from a newer implementation, and meant for 2.5.x. > > Geert, > Does this imply that in the newer version there is no high level > drawing functions that are touching my mmio and memory pointers. It > is all contained inside the driver? I certainly hope so. > To add to the point these pointers should not even be visible to > the outside-of-driver world. It someone can see a virtual pointer, > at some point they will try to use it. In some drivers this would > cause bad things to happen. > > So what am I to do in the mean time? Is there a way to keep people > from using the pointers? You don't intent to run X ontop of your fbdev, do you ? X uses the mmio & memory pointer to do its stuff, the same happens for other apps (all of them) that use the fbdev. Even the DRI/DRM stuff is mostly userspace, and the OpenGL access the board memory/mmio, trough the dma engine though. And getting all image stuff into the driver is nto the _right way_, at least that is what linus decreted as he boycotted every attemps to do so, and most people would agree with him, doing the minimal thing in the driver/kernel space and the rest in userpsace. Friendly, Sven Luther |