[PATCH] fixed distortedness situation for Samsung SoC Framebuffer Driver

From: InKi Dae
Date: Wed Aug 05 2009 - 06:31:51 EST


This patch solves the problem that image is distorted in the mode more
then 24bpp.

In 16bit mode, WINCON0[16] should be Swap Enable(HAWSWP_F) and in the
mode more then 24bpp,
WINCON0[15] should be Swap Enable(WSWP_F).

For this, I added a MACRO in regs-fb.h file for 24bpp+ and modified
s3c-fb.c file also.
It was tested on s5pc100 and s5pc110 and worked fine.

signed-off-by: InKi Dae <inki.dae@xxxxxxxxxxx>

Thank you.

Attachment: s3cfb.patch
Description: Binary data