MLK-22573-2 gpu: imx: dpu-blit: Do not initialize STORE9_STATIC register
authorLiu Ying <victor.liu@nxp.com>
Mon, 9 Sep 2019 21:50:13 +0000 (17:50 -0400)
committerLiu Ying <victor.liu@nxp.com>
Wed, 11 Sep 2019 21:43:47 +0000 (21:43 +0000)
commitf9b4bda441bb949b44482c65cd1d4fcfcdfbfa13
tree62deba50343f2a47265a9a66016d6adcf684be36
parent27d6d07942bef74d758d38b0bc15f8610424c041
MLK-22573-2 gpu: imx: dpu-blit: Do not initialize STORE9_STATIC register

The bit DIV0 of register STORE9_STATIC is used as a control bit
to fix the unsynchronization issue bewteen two display streams
in FrameGen side-by-side mode, which is introduced from an ECO
operation for the display controller.  The bit has to be one
when the side-by-side mode is enabled.  And, it has to be zero
when the mode is disabled, otherwise, a single display stream
cannot startup correctly.  Since the DPU common driver initializes
the register for us at the driver probe stage and system resume
stage, we may remove the same initialization logic of our own.
Without this patch, as the DPU blit engine DRM driver is resumed
relatively late, the bit would be overwritten to be zero at the
driver's ->resume() callback, which causes the display controller
cannot be correctly resumed from FrameGen side-by-side mode and
content ExtDst shadow load done event from the slave stream won't
come.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
(cherry picked from commit 785a8705624e114f4f3d3d0836826130fb57b46f)
drivers/gpu/imx/dpu-blit/dpu-blit.c