diff options
-rw-r--r-- | drivers/dma/pxp/pxp_dma_v3.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dma/pxp/pxp_dma_v3.c b/drivers/dma/pxp/pxp_dma_v3.c index a059a690f08d..b4886d0c2ace 100644 --- a/drivers/dma/pxp/pxp_dma_v3.c +++ b/drivers/dma/pxp/pxp_dma_v3.c @@ -1291,6 +1291,7 @@ static uint32_t pxp_parse_as_fmt(uint32_t format) uint32_t fmt_ctrl; switch (format) { + case PXP_PIX_FMT_BGRA32: case PXP_PIX_FMT_ARGB32: fmt_ctrl = BV_PXP_AS_CTRL_FORMAT__ARGB8888; break; @@ -1335,6 +1336,7 @@ static uint32_t pxp_parse_out_fmt(uint32_t format) uint32_t fmt_ctrl; switch (format) { + case PXP_PIX_FMT_BGRA32: case PXP_PIX_FMT_ARGB32: fmt_ctrl = BV_PXP_OUT_CTRL_FORMAT__ARGB8888; break; @@ -1892,6 +1894,7 @@ static bool fmt_as_support(uint32_t format) case PXP_PIX_FMT_ARGB32: case PXP_PIX_FMT_RGBA32: case PXP_PIX_FMT_XRGB32: + case PXP_PIX_FMT_BGRA32: case PXP_PIX_FMT_ARGB555: case PXP_PIX_FMT_ARGB444: case PXP_PIX_FMT_RGBA555: @@ -1910,6 +1913,7 @@ static bool fmt_out_support(uint32_t format) switch (format) { case PXP_PIX_FMT_ARGB32: case PXP_PIX_FMT_XRGB32: + case PXP_PIX_FMT_BGRA32: case PXP_PIX_FMT_RGB24: case PXP_PIX_FMT_ARGB555: case PXP_PIX_FMT_ARGB444: |