Skip to content

Commit

Permalink
drm/tilcdc: Add drm_mode_config_reset() call to tilcdc_load()
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Jyri Sarha committed Aug 17, 2016
1 parent e8cb1f8 commit 7262f5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/tilcdc/tilcdc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ static int tilcdc_load(struct drm_device *dev, unsigned long flags)
break;
}

drm_mode_config_reset(dev);

priv->fbdev = drm_fbdev_cma_init(dev, bpp,
dev->mode_config.num_crtc,
dev->mode_config.num_connector);
Expand Down

0 comments on commit 7262f5d

Please sign in to comment.