• Liu Ying's avatar
    drm/imx: Add active plane reconfiguration support · 1780999c
    Liu Ying authored
    We don't support configuring active plane on-the-fly for imx-drm.
    The relevant CRTC should be disabled before the plane configuration.
    Of course, the plane itself should be disabled as well.
    
    This patch adds active plane reconfiguration support by forcing CRTC
    mode change in plane's ->atomic_check callback so that the CRTC
    will be disabled before the plane configuration.
    Suggested-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Cc: Philipp Zabel <p.zabel@pengutronix.de>
    Cc: David Airlie <airlied@linux.ie>
    Cc: Russell King <linux@armlinux.org.uk>
    Cc: Peter Senna Tschudin <peter.senna@gmail.com>
    Cc: Lucas Stach <l.stach@pengutronix.de>
    Signed-off-by: default avatarLiu Ying <gnuiyl@gmail.com>
    Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
    1780999c
imx-drm-core.c 14.4 KB