mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
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 <rmk+kernel@armlinux.org.uk>
This commit is contained in:
parent
ecf25d2380
commit
80c63aee81
1 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,8 @@ static int armada_drm_bind(struct device *dev)
|
||||||
|
|
||||||
priv->drm.irq_enabled = true;
|
priv->drm.irq_enabled = true;
|
||||||
|
|
||||||
|
drm_mode_config_reset(&priv->drm);
|
||||||
|
|
||||||
ret = armada_fbdev_init(&priv->drm);
|
ret = armada_fbdev_init(&priv->drm);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err_comp;
|
goto err_comp;
|
||||||
|
|
Loading…
Reference in a new issue