diff options
author | Jyri Sarha <jsarha@ti.com> | 2015-12-29 17:27:32 +0200 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2016-08-08 23:05:06 +0300 |
commit | 522a76f895d775a1c9ed6ff4a631d9054a949ef3 (patch) | |
tree | 0b1336b7dc0def6dc74d82ad223e7a685bdc4ba4 /drivers/gpu/drm/tilcdc | |
parent | edc43303888c13904a1c990592eb64f17e8e7eb1 (diff) | |
download | op-kernel-dev-522a76f895d775a1c9ed6ff4a631d9054a949ef3.zip op-kernel-dev-522a76f895d775a1c9ed6ff4a631d9054a949ef3.tar.gz |
drm/tilcdc: Add drm_mode_config_reset() call to tilcdc_load()
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>
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index a8c4779..11acd96 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c @@ -366,6 +366,9 @@ static int tilcdc_load(struct drm_device *dev, unsigned long flags) } drm_helper_disable_unused_functions(dev); + + drm_mode_config_reset(dev); + priv->fbdev = drm_fbdev_cma_init(dev, bpp, dev->mode_config.num_crtc, dev->mode_config.num_connector); |