summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2014-03-17 11:27:18 +0100
committerMarek Szyprowski <m.szyprowski@samsung.com>2014-05-15 07:28:56 +0200
commit89cfc7f460ea58e9a1d4542f2c1fcc09750e6eba (patch)
tree69124705bc9ff0f7fcd8b93996e9ed51a0867794
parent9a354080f169a20c79f44a5e3c5fb1e6be1dd632 (diff)
downloadlinux-3.10-89cfc7f460ea58e9a1d4542f2c1fcc09750e6eba.tar.gz
linux-3.10-89cfc7f460ea58e9a1d4542f2c1fcc09750e6eba.tar.bz2
linux-3.10-89cfc7f460ea58e9a1d4542f2c1fcc09750e6eba.zip
drm/exynos: init kms poll after creation of connectors
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>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index ec44eb37dfb..7940b492e5e 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -70,9 +70,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);
@@ -92,6 +89,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;