drm/exynos: init kms poll after creation of connectors
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 17 Mar 2014 10:27:18 +0000 (11:27 +0100)
committerInki Dae <daeinki@gmail.com>
Sun, 23 Mar 2014 15:36:39 +0000 (00:36 +0900)
KMS poll init helper should be run when connectors are created,
otherwise it will not schedule connection detector.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c

index cc238dc794aad5068ba348995f097bd276d71387..771c87e90a2f1a390df3e42ca82f0747bb8ccc94 100644 (file)
@@ -71,9 +71,6 @@ static int exynos_drm_load(struct drm_device *dev, unsigned long flags)
 
        drm_mode_config_init(dev);
 
-       /* init kms poll for handling hpd */
-       drm_kms_helper_poll_init(dev);
-
        exynos_drm_mode_config_init(dev);
 
        ret = exynos_drm_initialize_managers(dev);
@@ -93,6 +90,9 @@ static int exynos_drm_load(struct drm_device *dev, unsigned long flags)
        if (ret)
                goto err_manager_cleanup;
 
+       /* init kms poll for handling hpd */
+       drm_kms_helper_poll_init(dev);
+
        ret = drm_vblank_init(dev, MAX_CRTC);
        if (ret)
                goto err_display_cleanup;
This page took 0.025548 seconds and 5 git commands to generate.