On Fri, May 27, 2005 at 11:10:29AM -0700, Ian Romanick wrote:
> Alan Hourihane wrote:
> 
> >Why does the mga_drv.c set DRIVER_REQUIRE_AGP when it doesn't 'require' it
> >if there's a PCI Matrox card ?
> 
> It does still require it.  The PCI cards are not (yet) supported.  The 
> whole reason I added the call to drm_device_is_agp in that place and 
> added the drm_driver::device_is_agp hook was so that the PCI G450 cards 
> (which are AGP cards with a universal PCI-to-PCI bridge) could be 
> detected and failed gracefully.

Then I guess the easy approach for now is adding this to the i810_drv.c,
i830_drv.c and i915_drv.c...

int XXX_driver_device_is_agp(drm_device_t * dev)
{
        return 1;
}

And add this to the drm_driver structure

   .device_is_agp = XXX_driver_device_is_agp

Alan.


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to