projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edc4330
)
drm/tilcdc: Add drm_mode_config_reset() call to tilcdc_load()
author
Jyri Sarha
<jsarha@ti.com>
Tue, 29 Dec 2015 15:27:32 +0000
(17:27 +0200)
committer
Jyri Sarha
<jsarha@ti.com>
Mon, 8 Aug 2016 20:05:06 +0000
(23:05 +0300)
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>
drivers/gpu/drm/tilcdc/tilcdc_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index a8c47794a3f19c0df3240ef0bab8fe82950b32d5..11acd96ba265eeacc855c50d44bbaa7d1da5e4c4 100644
(file)
--- 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);