goto err_mode_config_cleanup;
}
- /* init kms poll for handling hpd */
- drm_kms_helper_poll_init(dev);
-
/* setup possible_clones. */
exynos_drm_encoder_setup(dev);
if (ret)
goto err_cleanup_vblank;
- /* force connectors detection */
- drm_helper_hpd_irq_event(dev);
-
/*
* enable drm irq mode.
* - with irq_enabled = true, we can use the vblank feature.
*/
dev->vblank_disable_allowed = true;
+ /* init kms poll for handling hpd */
+ drm_kms_helper_poll_init(dev);
+
+ /* force connectors detection */
+ drm_helper_hpd_irq_event(dev);
+
return 0;
err_cleanup_vblank: