From: Hoegeun Kwon Date: Thu, 11 Oct 2018 07:23:24 +0000 (+0900) Subject: Revert "drm/exynos/hdmi: dis-join pipeline on power-off" X-Git-Tag: submit/tizen/20181016.044111^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F88%2F191088%2F1;p=platform%2Fkernel%2Flinux-exynos.git 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 --- 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; }