mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 10:11:52 -04: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user