diff options
author | Marek Vasut <[email protected]> | 2020-02-29 23:16:49 +0100 |
---|---|---|
committer | Benjamin Gaignard <[email protected]> | 2020-07-08 11:47:01 +0200 |
commit | ebd267b2e3c25d5f93a08528b47c036569eb8744 (patch) | |
tree | 4575ad8fa926f4b51eed8a55c57f7e660c182d48 /drivers/usb/cdns3/cdns3-debug.h | |
parent | a790ababbe6872a373faf51e77bc640d7e50ace2 (diff) |
drm/stm: repair runtime power management
Add missing pm_runtime_get_sync() into ltdc_crtc_atomic_enable() to
match pm_runtime_put_sync() in ltdc_crtc_atomic_disable(), otherwise
the LTDC might suspend via runtime PM, disable clock, and then fail
to resume later on.
The test which triggers it is roughly -- run qt5 application which
uses eglfs platform and etnaviv, stop the application, sleep for 15
minutes, run the application again. This leads to a timeout waiting
for vsync, because the LTDC has suspended, but did not resume.
Fixes: 35ab6cfbf211 ("drm/stm: support runtime power management")
Signed-off-by: Marek Vasut <[email protected]>
Cc: Yannick Fertré <[email protected]>
Cc: Philippe Cornu <[email protected]>
Cc: Benjamin Gaignard <[email protected]>
Cc: Vincent Abriou <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Alexandre Torgue <[email protected]>
To: [email protected]
Cc: [email protected]
Cc: [email protected]
Acked-by: Philippe Cornu <[email protected]>
Tested-by: Yannick Fertre <[email protected]>
Signed-off-by: Benjamin Gaignard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions