From c4005e6200ea9c86504c29c1a5c22c2c647c7528 Mon Sep 17 00:00:00 2001 From: Hoegeun Kwon Date: Thu, 11 Oct 2018 16:23:24 +0900 Subject: [PATCH] Revert "drm/exynos/hdmi: dis-join pipeline on power-off" This reverts commit dfcdaaf118866f4ac77b8962e1b1e1e91503e1b4. If encoder is removed from hdmi_poweroff(), vblank is not enabled when dpms is turned on after off. So do not remove the encoder from hdmi_poweroff(). For another reason, the encoder is created when it binds, and it is released when destory. Change-Id: I242eddf4842cb005bc1d21e37d30b5588bd532d1 Signed-off-by: Hoegeun Kwon --- drivers/gpu/drm/exynos/exynos_hdmi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index d0759fa..af99d45 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1634,8 +1634,6 @@ static void hdmi_poweroff(struct hdmi_context *hdata) pm_runtime_put_sync(hdata->dev); - hdata->encoder->crtc = NULL; - hdata->connector.encoder = NULL; hdata->applied = false; hdata->powered = false; } -- 2.7.4