diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-05-05 18:10:28 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-05 18:10:27 -0700 |
| commit | b74085afd8333b1b61e58c1bae2ea001ea20fd1d (patch) | |
| tree | ecf400cb5f894be133ae91c98ac46aed9ce68ab9 /include/uapi/linux | |
| parent | 1e4c353d700263a66959a78c49c8fad4421f7434 (diff) | |
| parent | 8704b3275410c265ee04ed6f0c81c9b975b42227 (diff) | |
Merge "msm: mdss: Add multi-rectangle validation support"
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/msm_mdp_ext.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/uapi/linux/msm_mdp_ext.h b/include/uapi/linux/msm_mdp_ext.h index 35029f227f8b..da9ee3bcc525 100644 --- a/include/uapi/linux/msm_mdp_ext.h +++ b/include/uapi/linux/msm_mdp_ext.h @@ -178,6 +178,12 @@ VALIDATE/COMMIT FLAG CONFIGURATION */ #define MDP_COMMIT_CWB_DSPP 0x1000 +/* + * Flag to indicate that rectangle number is being assigned + * by userspace in multi-rectangle mode + */ +#define MDP_COMMIT_RECT_NUM 0x2000 + #define MDP_COMMIT_VERSION_1_0 0x00010000 #define OUT_LAYER_COLOR_SPACE @@ -425,8 +431,14 @@ struct mdp_input_layer { */ int error_code; + /* + * For source pipes supporting multi-rectangle, this field identifies + * the rectangle index of the source pipe. + */ + uint32_t rect_num; + /* 32bits reserved value for future usage. */ - uint32_t reserved[6]; + uint32_t reserved[5]; }; struct mdp_output_layer { |
