• Liu Ying's avatar
    drm/imx: atomic phase 3 step 2: Legacy callback fixups · f6e396e5
    Liu Ying authored
    Now that we can use atomic configurations, all the legacy callbacks
    of CRTCs, encoders and connectors can be switched to the atomic version.
    For the imx-ldb driver, there is a clock parent setting mismatch bewteen
    ->enable and ->disable after the switch, so a fixup is added.  For the
    imx-tve driver, since the encoder's callback ->dpms is replaced by
    ->disable, we need to move the setting for the IPU_CLK_EN bit(in register
    TVE_COM_CONF_REG) from ->enable/->disable to ->mode_set, otherwise, the
    relevant CRTC cannot be disabled correctly with a warning on DC stop timeout.
    Signed-off-by: default avatarLiu Ying <gnuiyl@gmail.com>
    Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
    f6e396e5
ipuv3-crtc.c 10.7 KB