]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Asus L5 framebuffer fix
authorAndrew Morton <akpm@osdl.org>
Tue, 20 Jan 2004 11:10:57 +0000 (03:10 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 20 Jan 2004 11:10:57 +0000 (03:10 -0800)
From: Pontus Fuchs <pontus.fuchs@tactel.se>

I need the following patch for radeonfb to work on my Asus L5.  See
http://bugs.xfree86.org/show_bug.cgi?id=561 for more info.

(benh confirmed this with ATI).

drivers/video/radeonfb.c

index da1a38bfa768bc8e1e09b760d93ca4cc5aa069e1..a19b42179df9062c6b73c980585fb8be67880a9a 100644 (file)
@@ -1101,7 +1101,7 @@ static int radeon_get_dfpinfo_BIOS(struct radeonfb_info *rinfo)
        printk("radeonfb: detected DFP panel size from BIOS: %dx%d\n",
                rinfo->panel_xres, rinfo->panel_yres);
 
-       for(i=0; i<20; i++) {
+       for(i=0; i<32; i++) {
                tmp0 = rinfo->bios_seg + readw(tmp+64+i*2);
                if (tmp0 == 0)
                        break;