drm/exynos/hdmi: apply configuration in case of power cycling
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 26 Jul 2016 09:03:26 +0000 (11:03 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Tue, 26 Jul 2016 09:06:33 +0000 (11:06 +0200)
When power is turned off and on, modesetting is not performed,
but HDMI registers should be set.
The patch fixes issues with black screen on Odroid (X)U3 during
console blank/unblank.

Change-Id: I95d9098969793d38986237234b95e11a7027052f
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c

index e523793f840ca9eac4b0acb89dfa2e60f9a8fbbb..7e4f3217d0a595b6990d93b5bc341aab0221f4e9 100644 (file)
@@ -2346,6 +2346,7 @@ static void hdmi_poweroff(struct hdmi_context *hdata)
 
        pm_runtime_put_sync(hdata->dev);
 
+       hdata->applied = false;
        hdata->powered = false;
 }