diff options
author | Guoniu.Zhou <guoniu.zhou@nxp.com> | 2017-05-08 17:47:24 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@nxp.com> | 2017-06-09 22:20:07 +0800 |
commit | 6df75bc94ec6213b5980490c33ceabb634511444 (patch) | |
tree | adc426573e9c024b1559869d14d1cf044e4e424a /include | |
parent | 05474efd31850bc65beab23a51206a195902abde (diff) |
MLK-14844 pxp: Add RGB32 format to back-compatible.
The latest pxp_dma.h file change PXP_PIX_FMT_RGB32 to PXP_PIX_FMT_XRGB32 format,
but the userspace still use PXP_PIX_FMT_RGB32, so add back it and keep the same
with PXP_PIX_FMT_XRGB32 format.
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/pxp_dma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/pxp_dma.h b/include/uapi/linux/pxp_dma.h index 6a6a12a37972..4fb2aebc6fb5 100644 --- a/include/uapi/linux/pxp_dma.h +++ b/include/uapi/linux/pxp_dma.h @@ -66,6 +66,7 @@ typedef unsigned char bool; #define PXP_PIX_FMT_ARGB32 fourcc('A', 'R', 'G', 'B') /*!< 32 ARGB-8-8-8-8 */ #define PXP_PIX_FMT_RGBA32 fourcc('R', 'G', 'B', 'A') /*!< 32 RGBA-8-8-8-8 */ #define PXP_PIX_FMT_ABGR32 fourcc('A', 'B', 'G', 'R') /*!< 32 ABGR-8-8-8-8 */ +#define PXP_PIX_FMT_RGB32 PXP_PIX_FMT_XRGB32 /*! @} */ /*! @name YUV Interleaved Formats */ /*! @{ */ |