Skip to content

Commit 989534c

Browse files
Andrzej Hajdadaeinki
authored andcommitted
drm/exynos/fbdev: do not skip fbdev init if there are no connectors
Since connectors can be created dynamically, fbdev should be initialized even if there are no connectors at the moment. Otherwise fbdev will not be created even after connector's appearance. The patch fixes lack of fbdev on rinato and trats boards. Fixes: 6afb772 ("drm/exynos: move connector creation to attach callback") Reported-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
1 parent deee328 commit 989534c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/exynos/exynos_drm_fbdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ int exynos_drm_fbdev_init(struct drm_device *dev)
192192
struct drm_fb_helper *helper;
193193
int ret;
194194

195-
if (!dev->mode_config.num_crtc || !dev->mode_config.num_connector)
195+
if (!dev->mode_config.num_crtc)
196196
return 0;
197197

198198
fbdev = kzalloc(sizeof(*fbdev), GFP_KERNEL);

0 commit comments

Comments
 (0)