On Tue, 2005-06-28 at 16:36 -0400, Jon Smirl wrote:
> On 6/28/05, Eric Anholt <[EMAIL PROTECTED]> wrote:
> > On Tue, 2005-06-28 at 16:22 -0400, Jon Smirl wrote:
> > > This fixes so that my egl driver will get started. You probably need
> > > to test it further.
> > >
> > > You are creating the maps in radeon_preinit and it only gets called
> > > once at driver load time. Map creation needs to be moved over to the
> > > open_help function so they will get rebuilt each time.
> > 
> > open_helper gets called on every single open, which doesn't seem right
> > to me.  Instead I was moving it to presetup, which is the first time the
> > device gets opened again after module load or a takedown.
> 
> That sounds better. I hadn't put much thought into it, I was just
> trying to get my driver working again. Post a patch with the right
> fix.
> 
> Some of the things in DRM that look like unused features to x.org are
> used by miniglx and my egl driver. Reset support was in this category
> until Ben decided to do it a different way.

I've just committed the previous diff, with the move to presetup.  I'm
now looking at 2 things:
- Cleaning up driver hooks as previously described, so I can propose a
patch for it.
- Getting BSD working again.  I think this is going to require an addmap
helper for dealing with PCI resources, but I think I've got a decent API
in mind.

-- 
Eric Anholt                                     [EMAIL PROTECTED]
http://people.freebsd.org/~anholt/              [EMAIL PROTECTED]


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to