diff options
author | Jason Chen <b02280@freescale.com> | 2011-03-25 13:47:44 +0800 |
---|---|---|
committer | Jason Chen <b02280@freescale.com> | 2011-03-28 00:15:09 -0500 |
commit | c69aa38af450725c748b3af49b094d4ff32e40f3 (patch) | |
tree | da1f5e03f6e9025bef605378e7331e556593770c /drivers | |
parent | 094dd660526e39261606b2f7cfdb7fcd87e3b2c2 (diff) |
ENGR00141161 ipuv3: add bgr24 fmt support for di
add bgr24 fmt support for di
Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mxc/ipu3/ipu_disp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mxc/ipu3/ipu_disp.c b/drivers/mxc/ipu3/ipu_disp.c index e845bdaf3485..e8f8133a8264 100644 --- a/drivers/mxc/ipu3/ipu_disp.c +++ b/drivers/mxc/ipu3/ipu_disp.c @@ -884,6 +884,10 @@ void _ipu_init_dc_mappings(void) /* IPU_PIX_FMT_GBR24 */ _ipu_dc_map_clear(13); _ipu_dc_map_link(13, 0, 2, 0, 0, 0, 1); + + /* IPU_PIX_FMT_BGR24 */ + _ipu_dc_map_clear(14); + _ipu_dc_map_link(14, 0, 2, 0, 1, 0, 0); } int _ipu_pixfmt_to_map(uint32_t fmt) @@ -910,6 +914,8 @@ int _ipu_pixfmt_to_map(uint32_t fmt) return 12; case IPU_PIX_FMT_GBR24: return 13; + case IPU_PIX_FMT_BGR24: + return 14; } return -1; |