lkml.org 
[lkml]   [2006]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: 2.6.19-rc5-mm1: HPC nx6325 breakage, VESA fb problem, md-raid problem
From
Andrew Morton wrote:
> On Thu, 9 Nov 2006 16:42:00 +0100
> "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
>> This indeed is caused by fbcon-rere-fix-little-endian-bogosity-in-slow_imageblit.patch
>> which affects two out of three boxes on which I tested it (both have Radeon cards).
>
> Thanks, dropped.
>

Well I'm probably missing something but I really don't see what !

For example, let say that the four first bytes of an image are 0x06,
0xe0, 0x38, 0x00.

If
bpp = 1
start_index = 0
on a little endian platform
this patch is _not_ applied

slow_imageblit() will write into the frame buffer the following
bytes: 0x60, 0x07, 0x1c, 0x00 instead of the original ones. The bits
of each bytes have been inversed (bit7->bit0, bit6->bit1, bit5->bit2,
bit4->bit3, bit3->bit4, ...) and that's the reason why _I_ get all
fonts inverted.

With this patch applied, the bytes written into the frame buffer will
be exactly the same as the original ones. Therefore it fixes my
inverted view but broke Rafael's one.

Now, I'm very not familiar with all frame buffer stuff so I must be
missing somthing obvious. If anyone could give me some hints there
that would be nice.

Thanks
Franck
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-10 11:47    [W:0.091 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site