diff options
| author | Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org> | 2013-03-20 11:50:25 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:17:26 -0700 |
| commit | 2932801900a2fb7cd94eeb563d8b05675279b654 (patch) | |
| tree | 349a4c5d1394155cbcdfbb3b65f14b9077437747 /include | |
| parent | d577560e4678acbe7ab3aa8e92130f4fb146297a (diff) | |
msm: mdss: enable misr block
MISR allows a CRC to be generated from contents of a particular hw
block which be used for validation. Enable setup of misr and APIs to
obtain CRC from hw blocks.
Change-Id: Ic755ab146d8f1223f015346bd0263d054dc0d832
Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/linux/msm_mdp.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index b99f38462acf..a032b8e8757c 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -426,6 +426,31 @@ struct mdp_histogram { uint32_t *b; }; +enum { + DISPLAY_MISR_EDP, + DISPLAY_MISR_DSI0, + DISPLAY_MISR_DSI1, + DISPLAY_MISR_HDMI, + DISPLAY_MISR_LCDC, + DISPLAY_MISR_ATV, + DISPLAY_MISR_DSI_CMD, + DISPLAY_MISR_MAX +}; + +enum { + MISR_OP_NONE, + MISR_OP_SFM, + MISR_OP_MFM, + MISR_OP_BM, + MISR_OP_MAX +}; + +struct mdp_misr { + uint32_t block_id; + uint32_t frame_count; + uint32_t crc_op_mode; + uint32_t crc_value[32]; +}; /* @@ -674,6 +699,7 @@ enum { metadata_op_vic, metadata_op_wb_format, metadata_op_get_caps, + metadata_op_crc, metadata_op_max }; @@ -698,6 +724,7 @@ struct msmfb_metadata { uint32_t op; uint32_t flags; union { + struct mdp_misr misr_request; struct mdp_blend_cfg blend_cfg; struct mdp_mixer_cfg mixer_cfg; uint32_t panel_frame_rate; |
