commit | c0b8892e2461b5fa740e47efbb1269a487b04020 | [log] [tgz] |
---|---|---|
author | Hsin-Yi Wang <hsinyi@chromium.org> | Mon Jun 22 23:57:53 2020 +0800 |
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | Sat Jun 27 10:08:03 2020 +0800 |
tree | e78d3350a2161b71f05dab2cfa7b862e267ec4db | |
parent | c79484f68b164a4b59c85b7a5008455ddd7af6fb [diff] |
drm/mediatek: Check plane visibility in atomic_update 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: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>