projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7034ee6
)
MLK-20882: pxp: add VUY444 format support for PXP PS engine
author
Guoniu.Zhou
<guoniu.zhou@nxp.com>
Mon, 11 Feb 2019 03:24:21 +0000
(11:24 +0800)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Thu, 2 May 2019 08:35:29 +0000
(11:35 +0300)
VUY444 is supported by PXP HW but driver miss it. so add it
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
(cherry picked from commit
57e9b876954170cd0718eb8af8666573ebb26bb4
)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
(cherry picked from commit
4e62c1fb7a8f1ef14ea35fe5d5294b17f18cebbe
)
drivers/dma/pxp/pxp_dma_v3.c
patch
|
blob
|
history
diff --git
a/drivers/dma/pxp/pxp_dma_v3.c
b/drivers/dma/pxp/pxp_dma_v3.c
index
5b17cac
..
dabef88
100644
(file)
--- a/
drivers/dma/pxp/pxp_dma_v3.c
+++ b/
drivers/dma/pxp/pxp_dma_v3.c
@@
-1148,6
+1148,7
@@
static uint8_t is_yuv(uint32_t format)
case PXP_PIX_FMT_VYUY:
case PXP_PIX_FMT_YUV444:
case PXP_PIX_FMT_YVU444:
+ case PXP_PIX_FMT_VUY444:
return 1;
case PXP_PIX_FMT_NV12:
case PXP_PIX_FMT_NV21:
@@
-1209,6
+1210,7
@@
static u32 get_bpp_from_fmt(u32 pix_fmt)
case PXP_PIX_FMT_BGRA32:
case PXP_PIX_FMT_YUV444:
case PXP_PIX_FMT_YVU444:
+ case PXP_PIX_FMT_VUY444:
bpp = 32;
break;
default:
@@
-1892,6
+1894,7
@@
static bool fmt_ps_support(uint32_t format)
case PXP_PIX_FMT_RGB565:
case PXP_PIX_FMT_YUV444:
case PXP_PIX_FMT_UYVY:
+ case PXP_PIX_FMT_VUY444:
/* need word byte swap */
case PXP_PIX_FMT_YUYV:
case PXP_PIX_FMT_VYUY: