Fix p9100 framebuffer in 2.6
PATCH 1/1 Fix p9100 framebuffer in 2.6
The attached patch fixes the p9100 framebuffer so that text is viewable (not black on black, like it was before the patch). The linux logo displays for a very short period of time, then is replaced by a grey box. This leads me to believe that this framebuffer would have problems in X, but since there hasn't been a weitek driver for X in several millennia, this isn't something that I can confirm or deny.
But this patch does get color console working on my SPARCbook 3TX.
~spot
Signature · 4 lines
Tom "spot" Callaway: Red Hat Sales Engineer || GPG Fingerprint: 93054260 Fedora Extras Steering Committee Member (RPM Standards and Practices) Aurora Linux Project Leader: http://auroralinux.org Lemurs, llamas, and sparcs, oh my!
drivers/video/p9100.c renamed from drivers/video/p9100.c.BAD +4 -0
@@ -288,6 +288,9 @@ static void p9100_init_one(struct sbus_d all->par.physbase = sdev->reg_addrs[2 ].phys_addr;sbusfb_fill_var (&all->info.var, sdev->prom_node,8 ); + all->info.var.red.length =8 ; + all->info.var.green.length =8 ; + all->info.var.blue.length =8 ; linebytes =prom_getintdefault (sdev->prom_node,"linebytes" , all->info.var.xres);
@@ -323,6 +326,7 @@ static void p9100_init_one(struct sbus_dkfree (all);return ; } +fb_set_cmap (&all->info.cmap, &all->info);list_add (&all->list, &p9100_list);
Quoted 10 lines · Tom 'spot' Callaway
The attached patch fixes the p9100 framebuffer so that text is viewable (not black on black, like it was before the patch). The linux logo displays for a very short period of time, then is replaced by a grey box. This leads me to believe that this framebuffer would have problems in X, but since there hasn't been a weitek driver for X in several millennia, this isn't something that I can confirm or deny.
But this patch does get color console working on my SPARCbook 3TX.
Signed-off-by Tom 'spot' Callaway <[email protected]>
This patch has not been applied... it's obviously at least partially correct, as without it, you can't get a viewable console at all. Should I be submitting it somewhere else?
~spot
Signature · 4 lines
Tom "spot" Callaway: Red Hat Senior Sales Engineer || GPG ID: 93054260 Fedora Extras Steering Committee Member (RPM Standards and Practices) Aurora Linux Project Leader: http://auroralinux.org Lemurs, llamas, and sparcs, oh my!
From: "Tom 'spot' Callaway" <[email protected]>
Date: Thu, 06 Oct 2005 08:40:53 -0500
Quoted 8 lines · Tom 'spot' Callaway
Quoted 7 lines
The attached patch fixes the p9100 framebuffer so that text is viewable (not black on black, like it was before the patch). The linux logo displays for a very short period of time, then is replaced by a grey box. This leads me to believe that this framebuffer would have problems in X, but since there hasn't been a weitek driver for X in several millennia, this isn't something that I can confirm or deny.
Quoted 7 lines
Quoted 3 lines
But this patch does get color console working on my SPARCbook 3TX.
Signed-off-by Tom 'spot' Callaway <[email protected]>This patch has not been applied... it's obviously at least partially correct, as without it, you can't get a viewable console at all. Should I be submitting it somewhere else?
I simply dropped it on the floor, sorry, please resubmit. Thanks.