mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
s3c-fb: fix distortedness situation for the mode more then 24bpp
It has been working fine at 16bpp but in case of pixel format more then 24bpp it would occur distortedness situation on that mode. so this patch set the word swap control bit of WINCONx to 1 as default value. but it should be set to 0 in case that each ENLOCAL bit of WINCON0 ~ 2 registers is enabled. this issue would be solved with local path feature soon. Signed-off-by: InKi Dae <[email protected]> Reviewed-by: KyungMin Park <kyungmin.park.samsung.com> Signed-off-by: Ben Dooks <[email protected]> Signed-off-by: Pawel Osciak <[email protected]> Cc: Marek Szyprowski <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ad04490a17
commit
dc8498c00f
2 changed files with 2 additions and 0 deletions
|
|
@ -424,6 +424,7 @@ static int s3c_fb_set_par(struct fb_info *info)
|
|||
else
|
||||
data |= WINCON0_BPPMODE_24BPP_888;
|
||||
|
||||
data |= WINCONx_WSWP;
|
||||
data |= WINCONx_BURSTLEN_16WORD;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue