From: Hoegeun Kwon Date: Fri, 22 Mar 2019 07:00:27 +0000 (+0900) Subject: drm/vc4: Fix with pm_runtime synchronization on DSI X-Git-Tag: submit/tizen/20220208.074352~261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=274296f123a8b85a9ac51c65a77b76869356cc5d;p=platform%2Fkernel%2Flinux-rpi.git drm/vc4: Fix with pm_runtime synchronization on DSI There is a problem when often dpms goes from off to on. pm idle is not in sync and the problem occurs. Modify pm_runtime_put from asynchronous to synchronous. Change-Id: I7b39e01d452623190d9ead28477e4b0e6122d71b Signed-off-by: Hoegeun Kwon --- diff --git a/drivers/gpu/drm/vc4/vc4_dsi.c b/drivers/gpu/drm/vc4/vc4_dsi.c index 0de3ac0..8c6c5ce 100644 --- a/drivers/gpu/drm/vc4/vc4_dsi.c +++ b/drivers/gpu/drm/vc4/vc4_dsi.c @@ -819,7 +819,7 @@ static void vc4_dsi_encoder_disable(struct drm_encoder *encoder) clk_disable_unprepare(dsi->escape_clock); clk_disable_unprepare(dsi->pixel_clock); - pm_runtime_put(dev); + pm_runtime_put_sync(dev); } /* Extends the mode's blank intervals to handle BCM2835's integer-only