MLK-18992-2 drm/imx: hdp: Don't set pixel link MST address
authorLiu Ying <victor.liu@nxp.com>
Fri, 20 Jul 2018 08:18:52 +0000 (16:18 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
The pixel link MST address is set by the display controller driver,
so let's remove the redundant setting from the hdp driver.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
(cherry picked from commit f0f0a1970f2b34ad52fa9cfcb1a4de503fb231d6)

drivers/gpu/drm/imx/hdp/imx-hdp.c

index cf3da65..7b1eafe 100644 (file)
@@ -125,8 +125,6 @@ int imx8qm_pixel_link_init(state_struct *state)
                return -EINVAL;
        }
 
-       /* config dpu1 di0 to hdmi/dp mode */
-       sc_misc_set_control(hdp->ipcHndl, SC_R_DC_0, SC_C_PXL_LINK_MST1_ADDR, 1);
        sc_misc_set_control(hdp->ipcHndl, SC_R_DC_0, SC_C_PXL_LINK_MST1_VLD, 1);
        sc_misc_set_control(hdp->ipcHndl, SC_R_DC_0, SC_C_SYNC_CTRL0, 1);
 
@@ -137,8 +135,6 @@ void imx8qm_pixel_link_deinit(state_struct *state)
 {
        struct imx_hdp *hdp = state_to_imx_hdp(state);
 
-       /* config dpu1 di0 to default mode */
-       sc_misc_set_control(hdp->ipcHndl, SC_R_DC_0, SC_C_PXL_LINK_MST1_ADDR, 0);
        sc_misc_set_control(hdp->ipcHndl, SC_R_DC_0, SC_C_PXL_LINK_MST1_VLD, 0);
        sc_misc_set_control(hdp->ipcHndl, SC_R_DC_0, SC_C_SYNC_CTRL0, 0);