Skip to content

Commit 7262f5d

Browse files
author
Jyri Sarha
committed
drm/tilcdc: Add drm_mode_config_reset() call to tilcdc_load()
commit 522a76f upstream. Add drm_mode_config_reset() call to tilcdc_load(). This is need to initialize atomic state variables at load time. Signed-off-by: Jyri Sarha <jsarha@ti.com>
1 parent e8cb1f8 commit 7262f5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/tilcdc/tilcdc_drv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ static int tilcdc_load(struct drm_device *dev, unsigned long flags)
365365
break;
366366
}
367367

368+
drm_mode_config_reset(dev);
369+
368370
priv->fbdev = drm_fbdev_cma_init(dev, bpp,
369371
dev->mode_config.num_crtc,
370372
dev->mode_config.num_connector);

0 commit comments

Comments
 (0)