Commit 68f11205 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fbdev: radeonfb: fix garbled screen

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

> My screen is still a bit garbeld after booting.
> Still like http://zodiac.dnsalias.org/images/garbage.jpg

Yes, usual boot-time x86 garbage. Well, let's imagine it's as simple
as clearing the framebuffer during boot :) Try this patch and let me
know. If that doesn't help, then the problem is definitely in fbcon.
parent b36f6b5f
......@@ -2204,6 +2204,7 @@ static int radeonfb_pci_register (struct pci_dev *pdev,
rinfo->mapped_vram /= 2;
continue;
}
memset(rinfo->fb_base, 0, rinfo->mapped_vram);
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