diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-03-17 11:27:18 +0100 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:47:37 +0900 |
commit | 5855c713d4a493fd355f94e741534677c585c855 (patch) | |
tree | 3f69c08fcec8cffba60197cf67182793bd3ba16f /drivers/gpu/drm/exynos/exynos_drm_drv.c | |
parent | a1ec3b9a0ea7c50555b889df838beb8a46ad057a (diff) | |
download | linux-3.10-5855c713d4a493fd355f94e741534677c585c855.tar.gz linux-3.10-5855c713d4a493fd355f94e741534677c585c855.tar.bz2 linux-3.10-5855c713d4a493fd355f94e741534677c585c855.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>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_drv.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_drv.c | 6 |
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; |