projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b93773
)
drm/vc4: Fix with pm_runtime synchronization on DSI
author
Hoegeun Kwon
<hoegeun.kwon@samsung.com>
Fri, 22 Mar 2019 07:00:27 +0000
(16:00 +0900)
committer
Junghoon Kim
<jhoon20.kim@samsung.com>
Tue, 11 Jun 2019 00:35:55 +0000
(09:35 +0900)
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>
drivers/gpu/drm/vc4/vc4_dsi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vc4/vc4_dsi.c
b/drivers/gpu/drm/vc4/vc4_dsi.c
index 27d3ede1a80ca30d70b1e6ef3dff63b9971a6218..fa2e9db03821eb2b751882ef3bc1d738d753a00f 100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_dsi.c
+++ b/
drivers/gpu/drm/vc4/vc4_dsi.c
@@
-822,7
+822,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