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 <ink...@sa...>
Thank you.
|