Date: Tue, 20 Sep 2005 13:01:29 -0700 From: Nate Lawson <nate@root.org> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-src@FreeBSD.org, Mike Silbersack <silby@silby.com>, eta@lclark.edu, cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files.i386 src/sys/pci agp_ati.c agpreg.h src/sys/modules/agp Makefile Message-ID: <43306A99.6000908@root.org> In-Reply-To: <200509201508.17596.jhb@FreeBSD.org> References: <200509170336.j8H3alVZ083992@repoman.freebsd.org> <1126984598.45786.29.camel@leguin> <432C801E.2090904@root.org> <200509201508.17596.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote: > On Saturday 17 September 2005 04:44 pm, Nate Lawson wrote: >>Eric Anholt wrote: >>>We clarified in private mail that the agp device isn't attaching. I >>>think acpi_video is beating it out, confirming that we really need to be >>>able to somehow share devices well for video. That's 3 drivers now >>>(agp, drm, and acpi_video) that would all like to play. >> >>Ah. Yes, I think we'll have to do something like what I did for cpu >>devices. Basically, cpu0, cpu1, etc. implement a pseudo bus and >>multiple drivers attach below it. Do a devinfo to see this. There is >>no real way in newbus to have multiple drivers attached to a device if >>it doesn't implement a bus interface. >> >>This will require some design thinking. > > > Yes, a vgapci(4) driver or some such. I've started tinkering in an (old) p4 > branch (jhb_agp) with moving the various agp drivers to be children of > hostb(4) so that one would be able to kldload agp as a first step. Exactly. Thanks for picking up this work. I'll track your p4 branch and maybe contribute a little, especially to the design. -- Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43306A99.6000908>