]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/imx: don't skip DP channel disable for background plane
authorLucas Stach <l.stach@pengutronix.de>
Fri, 12 Apr 2019 15:59:41 +0000 (17:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:40:25 +0000 (19:40 +0200)
[ Upstream commit 7bcde275eb1d0ac8793c77c7e666a886eb16633d ]

In order to make sure that the plane color space gets reset correctly.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/imx/ipuv3-crtc.c

index 058b53c0aa7ecd5c308fa4b222146e57f3281db4..1bb3e598cb8438aa4db84082d0a60036d53cba99 100644 (file)
@@ -70,7 +70,7 @@ static void ipu_crtc_disable_planes(struct ipu_crtc *ipu_crtc,
        if (disable_partial)
                ipu_plane_disable(ipu_crtc->plane[1], true);
        if (disable_full)
-               ipu_plane_disable(ipu_crtc->plane[0], false);
+               ipu_plane_disable(ipu_crtc->plane[0], true);
 }
 
 static void ipu_crtc_atomic_disable(struct drm_crtc *crtc,