diff options
author | Adrian Salido-Moreno <adrianm@codeaurora.org> | 2016-02-23 19:09:34 -0800 |
---|---|---|
committer | Kyle Yan <kyan@codeaurora.org> | 2016-04-28 16:43:45 -0700 |
commit | 49765e580abe02bb5786170322e1f135e03c24f9 (patch) | |
tree | 2781e0de22f1c1b8487c62f98cfe31b8a67c4b37 /include | |
parent | 2f7c91ce4b38af84f01c0b0e971308d91195aa7c (diff) |
msm: mdss: add support for multi-rect feature
Add support for DMA multirect pipes available in new MDP revision.
These pipes are able to fetch two different buffers and rectangles to
allow more layers to be fetched. Add support and proper validation
checks for limitations.
CRs-Fixed: 987777
Change-Id: I588ecd7829a45908241f6d9fa1e97147e79798f6
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/msm_mdp_ext.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp_ext.h b/include/uapi/linux/msm_mdp_ext.h index 7bb87155bfcc..c7c8c634022a 100644 --- a/include/uapi/linux/msm_mdp_ext.h +++ b/include/uapi/linux/msm_mdp_ext.h @@ -84,6 +84,18 @@ LAYER FLAG CONFIGURATION /* Flag enabled qseed3 scaling for the current layer */ #define MDP_LAYER_ENABLE_QSEED3_SCALE 0x800 +/* + * layer will work in multirect mode, where single hardware should + * fetch multiple rectangles with a single hardware + */ +#define MDP_LAYER_MULTIRECT_ENABLE 0x1000 + +/* + * if flag present and multirect is enabled, multirect will work in parallel + * fetch mode, otherwise it will default to serial fetch mode. + */ +#define MDP_LAYER_MULTIRECT_PARALLEL_MODE 0x2000 + /********************************************************************** DESTINATION SCALER FLAG CONFIGURATION **********************************************************************/ |