summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMayank Chopra <makchopra@codeaurora.org>2013-07-12 18:19:36 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:21:06 -0700
commitd9a31b6085a7f0451d4b3ee21bcea64a9569fb70 (patch)
tree54736fa70512b4451e0b330c9db1c5a7ab9f968d /include/uapi/linux
parent972e968c179b7594409cd9445e6c0c488c28fdda (diff)
msm: mdss: MISR based CRC validation
MISR allows a CRC to be generated from contents of a particular hw block which can be used for validation. Enable setup of misr and APIs to obtain CRC from hw blocks. Change-Id: Ib07e31cba45d242922bd28b6b306220efece7b8d Acked-by: Sachin Bhayare <sbhayare@qti.qualcomm.com> Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/msm_mdp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h
index c7be5398b5a8..bce016d7a76a 100644
--- a/include/uapi/linux/msm_mdp.h
+++ b/include/uapi/linux/msm_mdp.h
@@ -472,12 +472,14 @@ struct mdp_histogram {
uint32_t *b;
};
+#define MISR_CRC_BATCH_SIZE 32
enum {
DISPLAY_MISR_EDP,
DISPLAY_MISR_DSI0,
DISPLAY_MISR_DSI1,
DISPLAY_MISR_HDMI,
DISPLAY_MISR_LCDC,
+ DISPLAY_MISR_MDP,
DISPLAY_MISR_ATV,
DISPLAY_MISR_DSI_CMD,
DISPLAY_MISR_MAX
@@ -495,7 +497,7 @@ struct mdp_misr {
uint32_t block_id;
uint32_t frame_count;
uint32_t crc_op_mode;
- uint32_t crc_value[32];
+ uint32_t crc_value[MISR_CRC_BATCH_SIZE];
};
/*