diff options
author | Hoegeun Kwon <hoegeun.kwon@samsung.com> | 2019-03-22 16:00:27 +0900 |
---|---|---|
committer | Hoegeun Kwon <hoegeun.kwon@samsung.com> | 2019-03-29 09:48:35 +0900 |
commit | 85973109c48f8d90d5b74248cf5454edf906e746 (patch) | |
tree | 67f5956f7e300e69606020d1da0630954b1ed3dd | |
parent | eb0b3b5cbe453ef9a90177d0ce44b8b448828108 (diff) | |
download | linux-rpi3-85973109c48f8d90d5b74248cf5454edf906e746.tar.gz linux-rpi3-85973109c48f8d90d5b74248cf5454edf906e746.tar.bz2 linux-rpi3-85973109c48f8d90d5b74248cf5454edf906e746.zip |
drm/vc4: Fix with pm_runtime synchronization on DSIsubmit/tizen/20190329.052751accepted/tizen/unified/20190401.225018
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 <hoegeun.kwon@samsung.com>
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_dsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_dsi.c b/drivers/gpu/drm/vc4/vc4_dsi.c index c7fd5e310d9c..524ecbbbcaf6 100644 --- a/drivers/gpu/drm/vc4/vc4_dsi.c +++ b/drivers/gpu/drm/vc4/vc4_dsi.c @@ -820,7 +820,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 |