This patchset fixes several problems. The first one fixes a bug when the firmware did a modeset with different mode than the one picked by Linux, and others are fixing problems pointed by Sashiko.
During the reviewing process of previous revisions of this patchset, I found that the atomic_enable/atomic_disable hooks are not suitable because of poor off-screen plane process, so I dropped both hooks and let atomic_update handle everything now. Changes in v3: - Remove atomic_disable along with atomic_enable. Changes in v2: - Reworked the fix for atomic_disable NULL dereference. - Fixed the problem that clearing FB_EN would prevent showing bound-but-invisible planes. Icenowy Zheng (4): drm/verisilicon: disable the output before enabling it drm/verisilicon: nuke planes' atomic_enable hooks drm/verisilicon: check old state CRTC in plane atomic_disable drm/verisilicon: nuke planes' atomic_disable hooks Joey Lu (1): drm/verisilicon: fix DC8200 primary plane disable clearing FB_EN drivers/gpu/drm/verisilicon/vs_bridge.c | 8 ++++ drivers/gpu/drm/verisilicon/vs_cursor_plane.c | 40 +++++++--------- .../gpu/drm/verisilicon/vs_primary_plane.c | 48 ++++++++----------- 3 files changed, 44 insertions(+), 52 deletions(-) -- 2.56.0
