WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: <bgb@xxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] agp and framebuffer (intelfb) - your milage may vary
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
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
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