From: Russell King Date: Mon, 30 Jul 2018 10:52:34 +0000 (+0100) Subject: drm/armada: reset all atomic state during driver initialisation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=80c63aee8143d83743a9df6d09309d3d15b20680;p=linux.git drm/armada: reset all atomic state during driver initialisation Reset the atomic state of any converted components during driver initialisation to ensure that we have the atomic state initialised for any component converted to atomic modeset. Signed-off-by: Russell King --- diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c index d1705d298a39f..e47b995b4ce63 100644 --- a/drivers/gpu/drm/armada/armada_drv.c +++ b/drivers/gpu/drm/armada/armada_drv.c @@ -155,6 +155,8 @@ static int armada_drm_bind(struct device *dev) priv->drm.irq_enabled = true; + drm_mode_config_reset(&priv->drm); + ret = armada_fbdev_init(&priv->drm); if (ret) goto err_comp;