2003-08-14 20:19:12

by Jakub Bogusz

[permalink] [raw]
Subject: [PATCH] tdfxfb in 2.6: fix for background used in fbcon_clear

It was already posted to linux-fbdev-devel, but I haven't got any
comments...
Attached patch is rather simple and obvious.

----- Forwarded message from Jakub Bogusz <qboosh at pld.org.pl> -----

Date: Thu, 31 Jul 2003 01:43:27 +0200
From: Jakub Bogusz <qboosh at pld.org.pl>
To: linux-fbdev-devel at lists.sourceforge.net
Subject: [PATCH] tdfxfb: fix for background used in fbcon_clear

Hello,

This time I checked recent linux-fbdev-devel archives - and didn't see
any patch for this issue. So here is my fix.

There was wrong color used in fillrect in 16/24/32bpp (pseudo_palette
mapping was omitted), which resulted in ugly black (well, almost black)
rectangles painted when some "clear" terminal command was sent (like
"^[[J", "^[[K") with background colour different than black.
It was visible e.g. in mc's View.

[...]

--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
PLD Linux http://www.pld-linux.org/


Attachments:
(No filename) (921.00 B)
linux-tdfxfb-fillrect.patch (839.00 B)
Download all attachments

2003-08-14 20:50:37

by James Simmons

[permalink] [raw]
Subject: Re: [PATCH] tdfxfb in 2.6: fix for background used in fbcon_clear


Applied. I will test it tonight.


On Thu, 14 Aug 2003, Jakub Bogusz wrote:

> It was already posted to linux-fbdev-devel, but I haven't got any
> comments...
> Attached patch is rather simple and obvious.
>
> ----- Forwarded message from Jakub Bogusz <qboosh at pld.org.pl> -----
>
> Date: Thu, 31 Jul 2003 01:43:27 +0200
> From: Jakub Bogusz <qboosh at pld.org.pl>
> To: linux-fbdev-devel at lists.sourceforge.net
> Subject: [PATCH] tdfxfb: fix for background used in fbcon_clear
>
> Hello,
>
> This time I checked recent linux-fbdev-devel archives - and didn't see
> any patch for this issue. So here is my fix.
>
> There was wrong color used in fillrect in 16/24/32bpp (pseudo_palette
> mapping was omitted), which resulted in ugly black (well, almost black)
> rectangles painted when some "clear" terminal command was sent (like
> "^[[J", "^[[K") with background colour different than black.
> It was visible e.g. in mc's View.
>
> [...]
>
>