• Anton Vorontsov's avatar
    fb: add support for foreign endianness · e4c690e0
    Anton Vorontsov authored
    Add support for the framebuffers with non-native endianness.  This is done via
    FBINFO_FOREIGN_ENDIAN flag that will be used by the drivers.  Depending on the
    host endianness this flag will be overwritten by FBINFO_BE_MATH internal flag,
    or cleared.
    
    Tested to work on MPC8360E-RDK (BE) + Fujitsu MINT framebuffer (LE).
    Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
    Cc: "Antonino A. Daplas" <adaplas@pol.net>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: <Valdis.Kletnieks@vt.edu>
    Cc: Clemens Koller <clemens.koller@anagramm.de>
    Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    e4c690e0
cfbcopyarea.c 11 KB