* Endianess problem in fbcon and cfbimgblt when using monochrome fb
@ 2006-10-02 12:03 Mike Wolfram
2006-10-02 13:01 ` Michel Dänzer
0 siblings, 1 reply; 2+ messages in thread
From: Mike Wolfram @ 2006-10-02 12:03 UTC (permalink / raw)
To: linux-fbdev-devel
Hi,
I have written a framebuffer driver for an Epson SED1335 based LCD for the ARM
platform. The LCD is monochrome, so the driver currently only supports 1 bpp.
The ARM is little-endian.
Everything works fine except when using the fbcon. All text printed to that
console appears with having each character mirrored on the y axis. So it
looks like an endian problem.
I found a message from April ("[patch 19/26] fbcon: Fix big-endian bogosity in
slow_imageblit()") which fixes a problem for big-endian machines. After
reverting that patch and changing
#define FB_BIT_NR(b) (b)
to
#define FB_BIT_NR(b) (7 - (b))
the text appears as expected. So my question is if the patch might be wrong
and should only change the defines for FB_BIT_NR? Or could the problem be
somewhere else?
Regards,
Mike Wolfram
--
MicroDatec GmbH
Zeulenrodaer Str. 17, 99091 Erfurt, Germany
fon +49-361-77821-0, fax +49-361-77821-30
mobile +49-179-4902190
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-02 13:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-02 12:03 Endianess problem in fbcon and cfbimgblt when using monochrome fb Mike Wolfram
2006-10-02 13:01 ` Michel Dänzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).