lkml.org 
[lkml]   [2008]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness
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 Anton's patch?
>
> I was wondering if it would be sufficient to provide alternative
> versions of fb_readl, fb_writel etc. that do byte-swapping. That
> would mean that all framebuffers would have to have the same
> endianness, but that would suffice for embedded systems such as
> Anton's and would end up a lot simpler IMHO.

Yes. At least the affected PowerPC platforms can do byte-swapping on
the fly, so this should be sufficient and without performance
penalty, AFAICS.

Regards,

Clemens


\
 
 \ /
  Last update: 2008-02-20 16:47    [W:0.082 / U:1.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site