hwc: Call hotplug on HPD
authorBenoit Goby <benoit@android.com>
Fri, 21 Sep 2012 05:36:09 +0000 (22:36 -0700)
committerBenoit Goby <benoit@android.com>
Fri, 21 Sep 2012 05:44:42 +0000 (22:44 -0700)
Bug: 7123196
Change-Id: I982b6af991c9d6d2fb76a7984138b4f999eb61b0

libhwc/hwc.cpp

index cb3191e58e0252efdb1bff9f34d0d5fba4693155..423c4f00db0d88aacdc53a0cbc4b6ef0308aeaef 100644 (file)
@@ -1443,7 +1443,7 @@ static void handle_hdmi_uevent(struct exynos5_hwc_composer_device_1_t *pdev,
      * still a race condition where a hotplug event might occur after the open
      * but before the procs are registered. */
     if (pdev->procs)
-        pdev->procs->invalidate(pdev->procs);
+        pdev->procs->hotplug(pdev->procs, HWC_DISPLAY_EXTERNAL, pdev->hdmi_hpd);
 }
 
 static void handle_vsync_event(struct exynos5_hwc_composer_device_1_t *pdev)