Loading drivers/video/msm/mdss/mdss_hdmi_cec.c +3 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,9 @@ #include <linux/io.h> #include <linux/list.h> #include <linux/types.h> #include <mach/board.h> #include <linux/stat.h> #include <linux/slab.h> #include <linux/device.h> #include "mdss_hdmi_cec.h" Loading drivers/video/msm/mdss/mdss_hdmi_edid.c +3 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,9 @@ #include <linux/io.h> #include <linux/types.h> #include <mach/board.h> #include <linux/stat.h> #include <linux/slab.h> #include <linux/device.h> #include "mdss_hdmi_edid.h" #define DBC_START_OFFSET 4 Loading drivers/video/msm/mdss/mdss_hdmi_hdcp.h +1 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ #define __MDSS_HDMI_HDCP_H__ #include "mdss_hdmi_util.h" #include <soc/qcom/scm.h> enum hdmi_hdcp_state { HDCP_STATE_INACTIVE, Loading drivers/video/msm/mdss/mdss_hdmi_tx.c +11 −11 Original line number Diff line number Diff line Loading @@ -165,29 +165,29 @@ static inline void hdmi_tx_set_audio_switch_node(struct hdmi_tx_ctrl *hdmi_ctrl, static int hdmi_tx_audio_setup(struct hdmi_tx_ctrl *hdmi_ctrl); static void hdmi_tx_en_encryption(struct hdmi_tx_ctrl *hdmi_ctrl, u32 on); struct mdss_hw hdmi_tx_hw = { static struct mdss_hw hdmi_tx_hw = { .hw_ndx = MDSS_HW_HDMI, .ptr = NULL, .irq_handler = hdmi_tx_isr, }; struct dss_gpio hpd_gpio_config[] = { static struct dss_gpio hpd_gpio_config[] = { {0, 1, COMPATIBLE_NAME "-hpd"}, {0, 1, COMPATIBLE_NAME "-mux-en"}, {0, 0, COMPATIBLE_NAME "-mux-sel"}, {0, 1, COMPATIBLE_NAME "-mux-lpm"} }; struct dss_gpio ddc_gpio_config[] = { static struct dss_gpio ddc_gpio_config[] = { {0, 1, COMPATIBLE_NAME "-ddc-mux-sel"}, {0, 1, COMPATIBLE_NAME "-ddc-clk"}, {0, 1, COMPATIBLE_NAME "-ddc-data"} }; struct dss_gpio core_gpio_config[] = { static struct dss_gpio core_gpio_config[] = { }; struct dss_gpio cec_gpio_config[] = { static struct dss_gpio cec_gpio_config[] = { {0, 1, COMPATIBLE_NAME "-cec"} }; Loading Loading @@ -391,7 +391,7 @@ static bool hdmi_tx_is_cea_format(int mode) return cea_fmt; } const char *hdmi_tx_pm_name(enum hdmi_tx_power_module_type module) static const char *hdmi_tx_pm_name(enum hdmi_tx_power_module_type module) { switch (module) { case HDMI_TX_HPD_PM: return "HDMI_TX_HPD_PM"; Loading Loading @@ -495,7 +495,7 @@ static inline u32 hdmi_tx_is_dvi_mode(struct hdmi_tx_ctrl *hdmi_ctrl) static void hdmi_tx_wait_for_audio_engine(struct hdmi_tx_ctrl *hdmi_ctrl) { u32 status = 0; u64 status = 0; u32 wait_for_vote = 50; struct dss_io_data *io = NULL; Loading Loading @@ -1058,7 +1058,7 @@ static int hdmi_tx_config_avmute(struct hdmi_tx_ctrl *hdmi_ctrl, int set) return 0; } /* hdmi_tx_config_avmute */ void hdmi_tx_hdcp_cb(void *ptr, enum hdmi_hdcp_state status) static void hdmi_tx_hdcp_cb(void *ptr, enum hdmi_hdcp_state status) { int rc = 0; struct hdmi_tx_ctrl *hdmi_ctrl = (struct hdmi_tx_ctrl *)ptr; Loading Loading @@ -3208,7 +3208,7 @@ static int hdmi_tx_panel_event_handler(struct mdss_panel_data *panel_data, timeout = wait_for_completion_timeout( &hdmi_ctrl->hpd_done, HZ/10); if (!timeout & !hdmi_ctrl->hpd_state) { if (!timeout && !hdmi_ctrl->hpd_state) { DEV_INFO("%s: cable removed during suspend\n", __func__); hdmi_tx_send_cable_notification(hdmi_ctrl, 0); Loading Loading @@ -3362,8 +3362,8 @@ static int hdmi_tx_init_resource(struct hdmi_tx_ctrl *hdmi_ctrl) hdmi_tx_io_name(i)); goto error; } DEV_INFO("%s: '%s': start = 0x%x, len=0x%x\n", __func__, hdmi_tx_io_name(i), (u32)pdata->io[i].base, DEV_INFO("%s: '%s': start = 0x%p, len=0x%x\n", __func__, hdmi_tx_io_name(i), pdata->io[i].base, pdata->io[i].len); } Loading drivers/video/msm/mdss/mdss_hdmi_util.c +2 −2 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ */ #include <linux/io.h> #include <mach/board.h> #include <linux/delay.h> #include "mdss_hdmi_util.h" static struct msm_hdmi_mode_timing_info Loading Loading @@ -129,7 +129,7 @@ void hdmi_setup_video_mode_lut(void) hdmi_supported_video_mode_lut, MSM_HDMI_MODES_DVI); } /* hdmi_setup_video_mode_lut */ const char *hdmi_get_single_video_3d_fmt_2string(u32 format) static const char *hdmi_get_single_video_3d_fmt_2string(u32 format) { switch (format) { case TOP_AND_BOTTOM: return "TAB"; Loading Loading
drivers/video/msm/mdss/mdss_hdmi_cec.c +3 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,9 @@ #include <linux/io.h> #include <linux/list.h> #include <linux/types.h> #include <mach/board.h> #include <linux/stat.h> #include <linux/slab.h> #include <linux/device.h> #include "mdss_hdmi_cec.h" Loading
drivers/video/msm/mdss/mdss_hdmi_edid.c +3 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,9 @@ #include <linux/io.h> #include <linux/types.h> #include <mach/board.h> #include <linux/stat.h> #include <linux/slab.h> #include <linux/device.h> #include "mdss_hdmi_edid.h" #define DBC_START_OFFSET 4 Loading
drivers/video/msm/mdss/mdss_hdmi_hdcp.h +1 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ #define __MDSS_HDMI_HDCP_H__ #include "mdss_hdmi_util.h" #include <soc/qcom/scm.h> enum hdmi_hdcp_state { HDCP_STATE_INACTIVE, Loading
drivers/video/msm/mdss/mdss_hdmi_tx.c +11 −11 Original line number Diff line number Diff line Loading @@ -165,29 +165,29 @@ static inline void hdmi_tx_set_audio_switch_node(struct hdmi_tx_ctrl *hdmi_ctrl, static int hdmi_tx_audio_setup(struct hdmi_tx_ctrl *hdmi_ctrl); static void hdmi_tx_en_encryption(struct hdmi_tx_ctrl *hdmi_ctrl, u32 on); struct mdss_hw hdmi_tx_hw = { static struct mdss_hw hdmi_tx_hw = { .hw_ndx = MDSS_HW_HDMI, .ptr = NULL, .irq_handler = hdmi_tx_isr, }; struct dss_gpio hpd_gpio_config[] = { static struct dss_gpio hpd_gpio_config[] = { {0, 1, COMPATIBLE_NAME "-hpd"}, {0, 1, COMPATIBLE_NAME "-mux-en"}, {0, 0, COMPATIBLE_NAME "-mux-sel"}, {0, 1, COMPATIBLE_NAME "-mux-lpm"} }; struct dss_gpio ddc_gpio_config[] = { static struct dss_gpio ddc_gpio_config[] = { {0, 1, COMPATIBLE_NAME "-ddc-mux-sel"}, {0, 1, COMPATIBLE_NAME "-ddc-clk"}, {0, 1, COMPATIBLE_NAME "-ddc-data"} }; struct dss_gpio core_gpio_config[] = { static struct dss_gpio core_gpio_config[] = { }; struct dss_gpio cec_gpio_config[] = { static struct dss_gpio cec_gpio_config[] = { {0, 1, COMPATIBLE_NAME "-cec"} }; Loading Loading @@ -391,7 +391,7 @@ static bool hdmi_tx_is_cea_format(int mode) return cea_fmt; } const char *hdmi_tx_pm_name(enum hdmi_tx_power_module_type module) static const char *hdmi_tx_pm_name(enum hdmi_tx_power_module_type module) { switch (module) { case HDMI_TX_HPD_PM: return "HDMI_TX_HPD_PM"; Loading Loading @@ -495,7 +495,7 @@ static inline u32 hdmi_tx_is_dvi_mode(struct hdmi_tx_ctrl *hdmi_ctrl) static void hdmi_tx_wait_for_audio_engine(struct hdmi_tx_ctrl *hdmi_ctrl) { u32 status = 0; u64 status = 0; u32 wait_for_vote = 50; struct dss_io_data *io = NULL; Loading Loading @@ -1058,7 +1058,7 @@ static int hdmi_tx_config_avmute(struct hdmi_tx_ctrl *hdmi_ctrl, int set) return 0; } /* hdmi_tx_config_avmute */ void hdmi_tx_hdcp_cb(void *ptr, enum hdmi_hdcp_state status) static void hdmi_tx_hdcp_cb(void *ptr, enum hdmi_hdcp_state status) { int rc = 0; struct hdmi_tx_ctrl *hdmi_ctrl = (struct hdmi_tx_ctrl *)ptr; Loading Loading @@ -3208,7 +3208,7 @@ static int hdmi_tx_panel_event_handler(struct mdss_panel_data *panel_data, timeout = wait_for_completion_timeout( &hdmi_ctrl->hpd_done, HZ/10); if (!timeout & !hdmi_ctrl->hpd_state) { if (!timeout && !hdmi_ctrl->hpd_state) { DEV_INFO("%s: cable removed during suspend\n", __func__); hdmi_tx_send_cable_notification(hdmi_ctrl, 0); Loading Loading @@ -3362,8 +3362,8 @@ static int hdmi_tx_init_resource(struct hdmi_tx_ctrl *hdmi_ctrl) hdmi_tx_io_name(i)); goto error; } DEV_INFO("%s: '%s': start = 0x%x, len=0x%x\n", __func__, hdmi_tx_io_name(i), (u32)pdata->io[i].base, DEV_INFO("%s: '%s': start = 0x%p, len=0x%x\n", __func__, hdmi_tx_io_name(i), pdata->io[i].base, pdata->io[i].len); } Loading
drivers/video/msm/mdss/mdss_hdmi_util.c +2 −2 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ */ #include <linux/io.h> #include <mach/board.h> #include <linux/delay.h> #include "mdss_hdmi_util.h" static struct msm_hdmi_mode_timing_info Loading Loading @@ -129,7 +129,7 @@ void hdmi_setup_video_mode_lut(void) hdmi_supported_video_mode_lut, MSM_HDMI_MODES_DVI); } /* hdmi_setup_video_mode_lut */ const char *hdmi_get_single_video_3d_fmt_2string(u32 format) static const char *hdmi_get_single_video_3d_fmt_2string(u32 format) { switch (format) { case TOP_AND_BOTTOM: return "TAB"; Loading