Commit b463bc26 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Asus L5 framebuffer fix

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).
parent b64caf25
...@@ -1101,7 +1101,7 @@ static int radeon_get_dfpinfo_BIOS(struct radeonfb_info *rinfo) ...@@ -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", printk("radeonfb: detected DFP panel size from BIOS: %dx%d\n",
rinfo->panel_xres, rinfo->panel_yres); 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); tmp0 = rinfo->bios_seg + readw(tmp+64+i*2);
if (tmp0 == 0) if (tmp0 == 0)
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment