Alan Hourihane wrote:
>
> On Fri, Mar 22, 2002 at 08:03:29 -0700, Jens Owen wrote:
> > Alan Hourihane wrote:
> > >
> > > On Fri, Mar 15, 2002 at 08:38:20AM -0700, Jens Owen wrote:
> > > > I would like to move the device dependent functionality currently
> > > > included in the drm library back into the device driver layer.
> > > >
> > > > My objective is to make sure new driver suites can be independently
> > > > released without stepping on any components needed by other driver
> > > > suites. Currently, libdrm contains a mixture of device independent code
> > > > and multiple device dependent routines.
> > > >
> > > > I'm looking for a clean way to split this functionality and restore
> > > > libdrm device independent, while still providing a mechanism for device
> > > > specific IOCTL style support directly in device drivers.
> > > >
> > > > Could we simply add a drmIOCTL entry point to the DRM library? Then,
> > > > the packing and unpacking could be done in the drivers. The Linux and
> > > > BSD implementations would simply wrap the standard IOCTL and future OS
> > > > ports of the DRI would have a layer, if needed, for emulating an IOCTL.
> > > >
> > > Jens,
> > >
> > > This is definately a problem that needs sorting out. We certainly
> > > need to put the driver specific calls into the 2D ddx portion, and
> > > abstract some form of drmIOCTL for the os-support routines.
> > >
> > > Please go ahead, and I'll certainly help out with this.
> >
> > Alan,
> >
> > Thanks for the feedback. I plan to proceed on this next week. Maybe
> > you can verify it's portability on the BSD branch after I'm done.
> >
> Actually, just a heads up. The bsd-3-0-0-branch is dead. forget this one.
>
> I'm doing whatever changes the BSD stuff needs on the trunk. They're
> going to be only minor changes now we've got the kernel modules in
> sync.
Alan,
As I get closer to having a prototype going, we will probably want some
place other than the trunk to try this out; and possibly make sure the
prototype works for BSD, I you want to do that. I'd like to get the
prototype working and verified portable before doing all the work of
converting the huge number of device specific DRM extensions.
I've been working from the tcl-0-0-branch code base, but we could make a
new branch from the trunk if you'd prefer that. Let me know if you plan
on building and verifying the prototype under BSD. If not, I'll
probably just continue my work in the tcl-0-0-branch.
-- /\
Jens Owen / \/\ _
[EMAIL PROTECTED] / \ \ \ Steamboat Springs, Colorado
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel