On Mon, Jun 22, 2020 at 11:31:06PM +0800, Hsin-Yi Wang wrote:
Disable the plane if it's not visible. Otherwise mtk_ovl_layer_config() would proceed with invalid plane and we may see vblank timeout.
Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.") Signed-off-by: Hsin-Yi Wang hsinyi@chromium.org Reviewed-by: Chun-Kuang Hu chunkuang.hu@kernel.org Change-Id: Id5341d60ddfffc88a38d9db0caa089b2d6a1d29c
v3: Address comment v2: Add fixes tag
drivers/gpu/drm/mediatek/mtk_drm_plane.c | 25 ++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-)
+/- the Change-Id pointed out by Matthias:
Reviewed-by: Tomasz Figa tfiga@chromium.org
Best regards, Tomasz