LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Clemens Koller <clemens.koller@anagramm.de>
Cc: linux-fbdev-devel@lists.sourceforge.net, adaplas@gmail.com,
Krzysztof Helt <krzysztof.h1@poczta.fm>,
linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org,
Geert Uytterhoeven <geert@linux-m68k.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness
Date: Tue, 19 Feb 2008 11:35:53 +1100 [thread overview]
Message-ID: <1203381353.6740.59.camel@pasglop> (raw)
In-Reply-To: <47BA162C.5000807@anagramm.de>
On Tue, 2008-02-19 at 00:35 +0100, Clemens Koller wrote:
> Valdis.Kletnieks@vt.edu schrieb:
> > On Mon, 18 Feb 2008 08:18:47 +0100, Krzysztof Helt said:
> >> I know two fb drivers which use endianess information (pm2fb and s3c2410fb).
> >> Both resolve endianess at driver level. Actually, both handle it by setting special
> >> bits so the graphics chip itself reorder bytes to transform foreign endianess.
> >> I understand that this patch is for chips which cannot reorder bytes by themselves.
> >
> > Does anybody know of such a chip that's actually available in the wild? Or are
> > we writing drivers for speculative possible chips?
> >
>
> I had troubles with the Silicon Motion SM501/SM502 endianess on PowerPC PCI vs. LocalBus.
> The chip also has a register to swap endianess, but that seems to only affect some
> LocalBus modes.
> The current fb and X drivers are working, but when it comes to font
> aliasing and hw-acceleration, the problems start to rise again...
Most "sane" gfx chips nowadays provide configurable surfaces that allow
to perform the swap when writing/reading from regions of the
framebuffer, with the ability to set a different swapper setting (based
on bit depth) per region.
Then there is also the risk that your PCI<->Localbus has been wired
improperly :-)
Ben.
next prev parent reply other threads:[~2008-02-19 0:37 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-05 15:44 [PATCH 1/2] fb: add support for foreign endianness Anton Vorontsov
2008-02-05 19:07 ` Anton Vorontsov
2008-02-15 6:49 ` Andrew Morton
2008-02-15 16:45 ` Anton Vorontsov
2008-02-17 9:44 ` [Linux-fbdev-devel] " Geert Uytterhoeven
2008-02-18 7:18 ` Krzysztof Helt
2008-02-18 17:30 ` Valdis.Kletnieks
2008-02-18 17:37 ` Anton Vorontsov
2008-02-18 23:35 ` Clemens Koller
2008-02-19 0:35 ` Benjamin Herrenschmidt [this message]
2008-02-19 11:27 ` Clemens Koller
2008-02-19 12:05 ` Andrew Morton
2008-02-19 12:22 ` Clemens Koller
2008-02-20 0:47 ` Valdis.Kletnieks
2008-02-20 0:50 ` Benjamin Herrenschmidt
2008-02-20 0:56 ` Paul Mackerras
2008-02-20 12:18 ` Anton Vorontsov
2008-02-20 20:38 ` Benjamin Herrenschmidt
2008-02-21 4:59 ` Paul Mackerras
2008-02-20 15:43 ` Clemens Koller
2008-02-16 11:49 ` Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1203381353.6740.59.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=adaplas@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=clemens.koller@anagramm.de \
--cc=geert@linux-m68k.org \
--cc=krzysztof.h1@poczta.fm \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).