summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorSree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>2013-04-01 14:31:28 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:16:10 -0700
commit07782e5716ae02681c9f410ace7e5625b6ee0c40 (patch)
treef2eea3a81791b4cbb2e91daa25c60a26759bf131 /include/uapi/linux
parentb3663936b1555fbc2e2f7249e81b51712187f120 (diff)
msm: mdss: Enable Decimation during fetch
Decimation is a new mdss hardware feature that facilitates display of images with width larger than 2048 through a single pipe. It enables display of high resolution images on multiple interfaces simulatenously. Also, the presence of this hardware feature needs to be exposed to userspace so that the usecase can be supported. Change-Id: I433db46c9f026b4c124ae73d10f1827144631934 Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/msm_mdp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h
index 5a767754a114..12a96c86fa20 100644
--- a/include/uapi/linux/msm_mdp.h
+++ b/include/uapi/linux/msm_mdp.h
@@ -163,6 +163,7 @@ enum {
#define MDP_OV_PIPE_FORCE_DMA 0x00004000
#define MDP_MEMORY_ID_TYPE_FB 0x00001000
#define MDP_BWC_EN 0x00000400
+#define MDP_DECIMATION_EN 0x00000800
#define MDP_TRANSP_NOP 0xffffffff
#define MDP_ALPHA_NOP 0xff
@@ -396,7 +397,9 @@ struct mdp_overlay {
uint32_t transp_mask;
uint32_t flags;
uint32_t id;
- uint32_t user_data[8];
+ uint32_t user_data[7];
+ uint8_t horz_deci;
+ uint8_t vert_deci;
struct mdp_overlay_pp_params overlay_pp_cfg;
};