[PATCH/v2] Atari frame buffer fixes

From: Geert Uytterhoeven
Date: Sun Jan 04 2009 - 06:47:25 EST


This patchsets contains several fixes for the Atari frame buffer device, and
includes a refactoring of the c2p (Chunky-to-Planar) code:
[1] fbdev: atafb - Fix line length handling
[2] fbdev: atafb - Fix 16 bpp console
[3] fbdev: c2p - Correct indentation
[4] fbdev: c2p - Cleanups
[5] fbdev: c2p - Extract common c2p core to c2p_core.h
[6] fbdev: c2p/atafb - Add support for Atari interleaved bitplanes
[7] fbdev: c2p - Rename c2p to c2p_planar

Changes since previous submission:
- Convert macros to static inline functions
- Make sure we get a build-time error (undefined reference to
'c2p_unsupported') in case of future misuse
- Replace `unsigned long' by `u32' in comp(), as that's what all callers use
- Use {get,put}_unaligned_be32() in store_{iplan2,planar}{,_masked}()

If nobody objects, I'd like to push this to Linus via the m68k tree, as the
c2p code is used by m68k drivers (atafb and amifb) only.

drivers/video/Makefile | 4 +-
drivers/video/amifb.c | 6 +-
drivers/video/atafb.c | 101 ++++++++-----------
drivers/video/c2p.c | 232 --------------------------------------------
drivers/video/c2p.h | 11 ++-
drivers/video/c2p_core.h | 153 +++++++++++++++++++++++++++++
drivers/video/c2p_iplan2.c | 153 +++++++++++++++++++++++++++++
drivers/video/c2p_planar.c | 156 +++++++++++++++++++++++++++++
8 files changed, 515 insertions(+), 301 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/