summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFancy Fang <chen.fang@freescale.com>2015-04-15 16:49:20 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2015-05-08 17:26:37 +0800
commit2ca64a0d5de29b172251a1233654b39afd40ac2f (patch)
treeffbb6eb099d25a76f65db50e612cde77ba18047b /drivers
parentfe19eefad3ddfc073c6613d4a044d14d50709726 (diff)
MLK-10573-3 dma: pxp-v3: add 'NV21' format support
Add 'NV21' format support in pxp-v3 driver to fix some display issue in some test cases. Signed-off-by: Fancy Fang <chen.fang@freescale.com> (cherry picked from commit ff96db37e1a5292eda8f6ad6d56bd625c350686c)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/pxp/pxp_dma_v3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/pxp/pxp_dma_v3.c b/drivers/dma/pxp/pxp_dma_v3.c
index 95f6ee3c6749..b5fa834c6ca1 100644
--- a/drivers/dma/pxp/pxp_dma_v3.c
+++ b/drivers/dma/pxp/pxp_dma_v3.c
@@ -364,6 +364,7 @@ static bool is_yuv(u32 pix_fmt)
(pix_fmt == PXP_PIX_FMT_Y41P) |
(pix_fmt == PXP_PIX_FMT_VUY444) |
(pix_fmt == PXP_PIX_FMT_NV12) |
+ (pix_fmt == PXP_PIX_FMT_NV21) |
(pix_fmt == PXP_PIX_FMT_NV16) |
(pix_fmt == PXP_PIX_FMT_NV61) |
(pix_fmt == PXP_PIX_FMT_GREY) |