Revert "drm/exynos/hdmi: dis-join pipeline on power-off" 88/191088/1 submit/tizen/20181016.044111
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 11 Oct 2018 07:23:24 +0000 (16:23 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 11 Oct 2018 07:50:04 +0000 (16:50 +0900)
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 <hoegeun.kwon@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c

index d0759fa..af99d45 100644 (file)
@@ -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;
 }