diff options
author | Fancy Fang <chen.fang@nxp.com> | 2017-03-11 17:08:42 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:26:25 +0800 |
commit | 29d4dc601b67daac7aa40b88d86d0abe5d8e6644 (patch) | |
tree | 0788d919bcca06d3701305b3002b2b6f4acfddf5 /include/uapi/linux | |
parent | 72966dcc02e879d2e4df8d6b14e5cea01aaff4e6 (diff) |
MLK-14314-5 dma: pxp-v3: divide whole pxp into four parts
According to the pxp high level architecture diagram,
it is better to divide the whole big pxp module into
four sub-modules:
1. 2D operation module(legacy pxp and input fetch & store).
2. Dithering module.
3. WFE_A module.
4. WFE_B module.
This division will simplify driver implementations and
management.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 5e57840b41adb195515bd652d9624feaadf3448e)
Diffstat (limited to 'include/uapi/linux')
-rw-r--r-- | include/uapi/linux/pxp_dma.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/linux/pxp_dma.h b/include/uapi/linux/pxp_dma.h index 2cfa8e412fc7..a370e0e44430 100644 --- a/include/uapi/linux/pxp_dma.h +++ b/include/uapi/linux/pxp_dma.h @@ -153,6 +153,13 @@ enum pxp_engine_ctrl { PXP_ENABLE_DITHER_BYPASS = 0x2000, }; +enum pxp_op_type { + PXP_OP_2D = 0x001, + PXP_OP_DITHER = 0x002, + PXP_OP_WFE_A = 0x004, + PXP_OP_WFE_B = 0x008, +}; + struct rect { int top; /* Upper left coordinate of rectangle */ int left; @@ -230,6 +237,8 @@ struct pxp_proc_data { bool lut_map_updated; /* Map recently changed */ bool combine_enable; + enum pxp_op_type op_type; + /* LUT cleanup */ __u64 lut_sels; |