drm/fsl-dcu: do not transfer registers in mode_set_nofb
authorStefan Agner <stefan@agner.ch>
Wed, 5 Oct 2016 21:37:57 +0000 (14:37 -0700)
committerStefan Agner <stefan@agner.ch>
Thu, 20 Oct 2016 00:02:59 +0000 (17:02 -0700)
Do not schedule a transfer of mode settings early. Modes should
get applied on on CRTC enable where we also enable the pixel clock.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Tested-By: Meng Yi <meng.yi@nxp.com>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c

index 3371635cd4d707192e39104ed1bc13671fc19c69..5ad1d68c8194abf2720737aa959bd275b63ae3e2 100644 (file)
@@ -116,8 +116,6 @@ static void fsl_dcu_drm_crtc_mode_set_nofb(struct drm_crtc *crtc)
                     DCU_THRESHOLD_LS_BF_VS(BF_VS_VAL) |
                     DCU_THRESHOLD_OUT_BUF_HIGH(BUF_MAX_VAL) |
                     DCU_THRESHOLD_OUT_BUF_LOW(BUF_MIN_VAL));
-       regmap_write(fsl_dev->regmap, DCU_UPDATE_MODE,
-                    DCU_UPDATE_MODE_READREG);
        return;
 }