diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-03-17 06:27:18 -0400 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-03-23 11:36:39 -0400 |
commit | 8e527f0187182708b36d8d5c3a623778bb0bcf94 (patch) | |
tree | 00aae4d9d914d69c46e188d361da074ffe3ae5b0 | |
parent | 25928a395e89423c2d8f8a8620dc213702a05105 (diff) |
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.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 cc238dc794aa..771c87e90a2f 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c | |||
@@ -71,9 +71,6 @@ static int exynos_drm_load(struct drm_device *dev, unsigned long flags) | |||
71 | 71 | ||
72 | drm_mode_config_init(dev); | 72 | drm_mode_config_init(dev); |
73 | 73 | ||
74 | /* init kms poll for handling hpd */ | ||
75 | drm_kms_helper_poll_init(dev); | ||
76 | |||
77 | exynos_drm_mode_config_init(dev); | 74 | exynos_drm_mode_config_init(dev); |
78 | 75 | ||
79 | ret = exynos_drm_initialize_managers(dev); | 76 | ret = exynos_drm_initialize_managers(dev); |
@@ -93,6 +90,9 @@ static int exynos_drm_load(struct drm_device *dev, unsigned long flags) | |||
93 | if (ret) | 90 | if (ret) |
94 | goto err_manager_cleanup; | 91 | goto err_manager_cleanup; |
95 | 92 | ||
93 | /* init kms poll for handling hpd */ | ||
94 | drm_kms_helper_poll_init(dev); | ||
95 | |||
96 | ret = drm_vblank_init(dev, MAX_CRTC); | 96 | ret = drm_vblank_init(dev, MAX_CRTC); |
97 | if (ret) | 97 | if (ret) |
98 | goto err_display_cleanup; | 98 | goto err_display_cleanup; |