MLK-18558-04: hdp: Rename hdmi phy config function
authorSandor Yu <Sandor.yu@nxp.com>
Wed, 13 Jun 2018 06:29:15 +0000 (14:29 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
Rename imx8qm hdmi phy config function,
add ss28fdsoi postfix.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
drivers/gpu/drm/imx/hdp/imx-hdmi.c
drivers/gpu/drm/imx/hdp/imx-hdmi.h
drivers/gpu/drm/imx/hdp/imx-hdp.c

index 49d7c35..06c4b95 100644 (file)
@@ -76,7 +76,7 @@ int hdmi_fw_init(state_struct *state)
        return 0;
 }
 
-int hdmi_phy_init(state_struct *state, struct drm_display_mode *mode, int format, int color_depth)
+int hdmi_phy_init_ss28fdsoi(state_struct *state, struct drm_display_mode *mode, int format, int color_depth)
 {
        struct imx_hdp *hdp = state_to_imx_hdp(state);
        int ret;
@@ -105,7 +105,7 @@ int hdmi_phy_init(state_struct *state, struct drm_display_mode *mode, int format
        return true;
 }
 
-void hdmi_mode_set(state_struct *state, struct drm_display_mode *mode, int format, int color_depth, int temp)
+void hdmi_mode_set_ss28fdsoi(state_struct *state, struct drm_display_mode *mode, int format, int color_depth, int temp)
 {
        int ret;
 
index 8b24063..595b383 100644 (file)
 
 void hdmi_fw_load(state_struct *state);
 int hdmi_fw_init(state_struct *state);
-int hdmi_phy_init(state_struct *state, struct drm_display_mode *mode, int format, int color_depth);
-void hdmi_mode_set(state_struct *state, struct drm_display_mode *mode, int format, int color_depth, int temp);
+int hdmi_phy_init_ss28fdsoi(state_struct *state,
+                       struct drm_display_mode *mode, int format, int color_depth);
+void hdmi_mode_set_ss28fdsoi(state_struct *state,
+               struct drm_display_mode *mode, int format, int color_depth, int temp);
+int hdmi_phy_init_t28hpc(state_struct *state,
+                       struct drm_display_mode *mode, int format, int color_depth);
+void hdmi_mode_set_t28hpc(state_struct *state,
+                       struct drm_display_mode *mode, int format, int color_depth, int temp);
 int hdmi_get_edid_block(void *data, u8 *buf, u32 block, size_t len);
 int hdmi_get_hpd_state(state_struct *state, u8 *hpd);
-int hdmi_phy_init_t28hpc(state_struct *state, struct drm_display_mode *mode, int format, int color_depth);
-void hdmi_mode_set_t28hpc(state_struct *state, struct drm_display_mode *mode, int format, int color_depth, int temp);
 int hdmi_write_hdr_metadata(state_struct *state,
                            union hdmi_infoframe *hdr_infoframe);
 
index e0c6605..3eb5d65 100644 (file)
@@ -907,8 +907,8 @@ static struct hdp_ops imx8qm_hdmi_ops = {
        .fw_load = hdmi_fw_load,
 #endif
        .fw_init = hdmi_fw_init,
-       .phy_init = hdmi_phy_init,
-       .mode_set = hdmi_mode_set,
+       .phy_init = hdmi_phy_init_ss28fdsoi,
+       .mode_set = hdmi_mode_set_ss28fdsoi,
        .get_edid_block = hdmi_get_edid_block,
        .get_hpd_state = hdmi_get_hpd_state,