diff options
author | Jason Chen <b02280@freescale.com> | 2011-03-25 13:47:44 +0800 |
---|---|---|
committer | Jason Chen <b02280@freescale.com> | 2011-03-28 11:03:29 +0800 |
commit | af266ca104675e2ba67d7d62f0c6758957480560 (patch) | |
tree | dc8811ae60d002487dadf4aa53b41c61f46374ce | |
parent | a07fd1a3d2cec2bbc6b28dab8bd025afcfc5b5f0 (diff) |
ENGR00141161 ipuv3: add bgr24 fmt support for di
add bgr24 fmt support for di
Signed-off-by: Jason Chen <b02280@freescale.com>
-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; |