[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] agp and framebuffer (intelfb) - your milage may vary


  • To: <bgb@xxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
  • Date: Fri, 28 Jan 2005 08:43:40 -0000
  • Cc: "Rik van Riel" <riel@xxxxxxxxxx>
  • Delivery-date: Fri, 28 Jan 2005 08:48:56 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
  • Thread-index: AcUEvXMbY5OK4/NgQ5O05gSKk3yTBQAVYOVQ
  • Thread-topic: [Xen-devel] agp and framebuffer (intelfb) - your milage may vary

> with the patches/linux-2.6.9/{agpgart,drm}.patch patches applied
> (shouldn't there be a symlink to linux-2.6.10?) 

There's an argument that we should automatically apply these patches and
build AGP and DRM support as modules for our xen0 kernels. It would be
good to know which drivers have actually been tested and work.

Rik: did you have any luck feeding the agpgart and drm patches up
stream? 

> I would
> appreciate it if someone who knows the xen agp subsystem (in 
> particular
> the agp_acquire_backend) better would look over the intelfb.patch and
> post any improvements (I don't like taking out the checks made on
> agp_acquire_backend(), but with them left in, I get "intelfb: cannot
> acquire agp").

Which of the error codes is it returning? There's nothing special about
AGP support on arch xen, its just that Xen is rather stricter about what
drivers are allowed to get away with, requring some fixes.

int agp_backend_acquire(void)
{
        if (agp_bridge->type == NOT_SUPPORTED)
                return -EINVAL;
        if (atomic_read(&agp_bridge->agp_in_use))
                return -EBUSY;
        atomic_inc(&agp_bridge->agp_in_use);
        return 0;
}

Ian


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.