diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/video/msm_dba.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/include/video/msm_dba.h b/include/video/msm_dba.h index 7cc346ee0d33..57f418b93bf8 100644 --- a/include/video/msm_dba.h +++ b/include/video/msm_dba.h @@ -286,6 +286,7 @@ struct msm_dba_video_cfg { bool hdmi_mode; enum msm_dba_video_aspect_ratio ar; u32 num_of_input_lanes; + u8 scaninfo; }; /** @@ -338,6 +339,8 @@ struct msm_dba_video_cfg { * hdcp_get_ksv_list_size first and then allocate 40*size * bytes to hold all the KSVs. * DEFER and ASYNC flags are not supported. + * @hdmi_cec_on: enable or disable cec module. Clients need to enable CEC + * feature before they do read or write CEC messages. * @hdmi_cec_write: perform a CEC write. For bridges with HDMI as output * interface, this function allows clients to send a CEC * message. Client should pack the data according to the CEC @@ -381,6 +384,8 @@ struct msm_dba_video_cfg { * have been applied so far after the reset is complete. In case * of multiple clients, driver will issue a reset callback. * @dump_debug_info: dumps debug information to dmesg. + * @check_hpd: Check if cable is connected or not. if cable is connected we + * send notification to display framework. * * The msm_dba_ops structure represents a set of operations that can be * supported by each bridge chip. Depending on the functionality supported by a @@ -441,6 +446,10 @@ struct msm_dba_ops { char *buf, u32 flags); + int (*hdmi_cec_on)(void *client, + bool enable, + u32 flags); + int (*hdmi_cec_write)(void *client, u32 size, char *buf, @@ -474,6 +483,7 @@ struct msm_dba_ops { int (*force_reset)(void *client, u32 flags); int (*dump_debug_info)(void *client, u32 flags); + int (*check_hpd)(void *client, u32 flags); }; /** @@ -487,15 +497,8 @@ struct msm_dba_ops { * chip. If Successful, this will return a pointer that should be used as a * handle for all subsequent function calls. */ -#ifdef CONFIG_MSM_DBA void *msm_dba_register_client(struct msm_dba_reg_info *info, struct msm_dba_ops *ops); -#else -static inline void *msm_dba_register_client(struct msm_dba_reg_info *info, - struct msm_dba_ops *ops) { - return NULL; -} -#endif /** * msm_dba_deregister_client() - Allows client to de-register with the driver. |
