Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-20 Thread Paul Mackerras
Anton Vorontsov writes: > > I was wondering if it would be sufficient to provide alternative > > versions of fb_readl, fb_writel etc. that do byte-swapping. > > This is of course viable alternative. And I was considering this, but > later I abandoned the idea: that way we'll end up doing math in

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-20 Thread Benjamin Herrenschmidt
On Wed, 2008-02-20 at 15:18 +0300, Anton Vorontsov wrote: > On Wed, Feb 20, 2008 at 11:56:35AM +1100, Paul Mackerras wrote: > > Andrew Morton writes: > > > > > Bizarrely, the original author of the patch (Anton) has fallen off the > > > cc. > > > Could whoever did that please thwap himself? > >

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-20 Thread Clemens Koller
Paul Mackerras schrieb: > Andrew Morton writes: > >> Bizarrely, the original author of the patch (Anton) has fallen off the cc. >> Could whoever did that please thwap himself? >> >> Anyway, my head is now officially spinning. Did anyone actually have a >> reason why we shouldn't proceed with Ant

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-20 Thread Anton Vorontsov
On Wed, Feb 20, 2008 at 11:56:35AM +1100, Paul Mackerras wrote: > Andrew Morton writes: > > > Bizarrely, the original author of the patch (Anton) has fallen off the cc. > > Could whoever did that please thwap himself? > > > > Anyway, my head is now officially spinning. Did anyone actually have

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-19 Thread Paul Mackerras
Andrew Morton writes: > Bizarrely, the original author of the patch (Anton) has fallen off the cc. > Could whoever did that please thwap himself? > > Anyway, my head is now officially spinning. Did anyone actually have a > reason why we shouldn't proceed with Anton's patch? I was wondering if

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-19 Thread Benjamin Herrenschmidt
On Tue, 2008-02-19 at 19:47 -0500, [EMAIL PROTECTED] wrote: > On Tue, 19 Feb 2008 04:05:30 PST, Andrew Morton said: > > On Tue, 19 Feb 2008 12:27:54 +0100 Clemens Koller <[EMAIL PROTECTED] > > wrote: > > > That's not an issue in my case. The SM50x can be connected to > > > either an PCI or some Lo

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-19 Thread Valdis . Kletnieks
On Tue, 19 Feb 2008 04:05:30 PST, Andrew Morton said: > On Tue, 19 Feb 2008 12:27:54 +0100 Clemens Koller <[EMAIL PROTECTED] > wrote: > > That's not an issue in my case. The SM50x can be connected to > > either an PCI or some Local/CPU-whateverbus IF. > > I.e. on the MPC85xx PowerPC, PCI and LocalB

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-19 Thread Clemens Koller
Andrew Morton schrieb: > On Tue, 19 Feb 2008 12:27:54 +0100 Clemens Koller <[EMAIL PROTECTED]> wrote: >> Benjamin Herrenschmidt schrieb: >>> On Tue, 2008-02-19 at 00:35 +0100, Clemens Koller wrote: [EMAIL PROTECTED] schrieb: > On Mon, 18 Feb 2008 08:18:47 +0100, Krzysztof Helt said: >>

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-19 Thread Andrew Morton
On Tue, 19 Feb 2008 12:27:54 +0100 Clemens Koller <[EMAIL PROTECTED]> wrote: > Benjamin Herrenschmidt schrieb: > > On Tue, 2008-02-19 at 00:35 +0100, Clemens Koller wrote: > >> [EMAIL PROTECTED] schrieb: > >>> On Mon, 18 Feb 2008 08:18:47 +0100, Krzysztof Helt said: > I know two fb drivers wh

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-19 Thread Clemens Koller
Benjamin Herrenschmidt schrieb: > On Tue, 2008-02-19 at 00:35 +0100, Clemens Koller wrote: >> [EMAIL PROTECTED] 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 a

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-18 Thread Benjamin Herrenschmidt
On Tue, 2008-02-19 at 00:35 +0100, Clemens Koller wrote: > [EMAIL PROTECTED] 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 han

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-18 Thread Clemens Koller
[EMAIL PROTECTED] 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 reorde

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-18 Thread Valdis . Kletnieks
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 > e

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-18 Thread Anton Vorontsov
On Mon, Feb 18, 2008 at 12:30:11PM -0500, [EMAIL PROTECTED] wrote: > 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

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-18 Thread Krzysztof Helt
On Sun, 17 Feb 2008 10:44:32 +0100 (CET) Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > On Fri, 15 Feb 2008, Anton Vorontsov wrote: > > On Thu, Feb 14, 2008 at 10:49:42PM -0800, Andrew Morton wrote: > > > On Tue, 5 Feb 2008 18:44:32 +0300 Anton Vorontsov <[EMAIL PROTECTED]> > > > wrote: > > > A

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-17 Thread Geert Uytterhoeven
On Fri, 15 Feb 2008, Anton Vorontsov wrote: > On Thu, Feb 14, 2008 at 10:49:42PM -0800, Andrew Morton wrote: > > On Tue, 5 Feb 2008 18:44:32 +0300 Anton Vorontsov <[EMAIL PROTECTED]> wrote: > > > This patch adds support for the framebuffers with non-native > > > endianness. This is done via FBINFO_