]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00224910 IPUv3 fb:Correct logic to check BGR24 for if= option
authorLiu Ying <Ying.liu@freescale.com>
Wed, 19 Sep 2012 02:26:25 +0000 (10:26 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:26 +0000 (08:35 +0200)
commit469ff107d173312601c8ea584694fa66b5a8be8a
treea79d36dde35f914984683f6112287df7230ef458
parent2a59ab2158e33a981b80108b426a2fb4355f249c
ENGR00224910 IPUv3 fb:Correct logic to check BGR24 for if= option

This patch corrects the logic to check BGR24 pixel format for
'if=' option in kernel bootup command line of framebuffer.
After applying the patch, users may use 'if=BGR24' to specify
the display data format to be BGR24. For example, 'video=mxcfb0:
dev=lcd,LCD_VIDEO_NAME,if=BGR24' makes IPUv3 output BGR24 data
to fb0's lcd panel.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 7ab85674f63eb1388e44a61e17891f0e283c409a)
drivers/video/mxc/mxc_ipuv3_fb.c