On Mon, Jan 24, 2005 at 01:52:58PM -0500, Dave Jones wrote:
 > On Mon, Jan 24, 2005 at 12:56:58PM +0100, Brice Goglin wrote:
 >  > X does not work anymore when using DRI on my Compaq Evo N600c (Radeon 
 >  > Mobility M6 LY).
 >  > My XFree 4.3 (from Debian testing) with DRI uses drm and radeon kernel 
 >  > modules.
 >  
 > My fault. I'm looking into it.
 > Drop the agpgart-bk update for now.

Here's the most obvious bug fixed. There still seems to be
something wrong however. It only successfully boots 50% of the
time for me, (it reboots when starting X otherwise), and when
it does boot, I get a flood of ...
Warning: kfree_skb on hard IRQ cf7b5800
Warning: kfree_skb on hard IRQ cf7b5800
Warning: kfree_skb on hard IRQ cf7b5800

I think there may be some stupid memory corruptor bug in there still.

                Dave

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/01/24 15:37:57-05:00 [EMAIL PROTECTED] 
#   [AGPGART] Fix stupid thinko in device discovery.
#   
#   Should fix the 'cant find AGP VGA controller' warnings.
#   
#   Signed-off-by: Dave Jones <[EMAIL PROTECTED]>

diff -Nru a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c
--- a/drivers/char/agp/generic.c        2005-01-24 15:38:26 -05:00
+++ b/drivers/char/agp/generic.c        2005-01-24 15:38:26 -05:00
@@ -626,7 +626,7 @@
        u32 vga_agpstat;
 
        while (!cap_ptr) {
-               device = pci_get_class(PCI_CLASS_DISPLAY_VGA, device);
+               device = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, device);
                if (!device) {
                        printk (KERN_INFO PFX "Couldn't find an AGP VGA 
controller.\n");
                        return 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to