mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 07:31:45 +00:00
ebd267b2e3
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:
|
||
---|---|---|
.. | ||
drv.c | ||
dw_mipi_dsi-stm.c | ||
Kconfig | ||
ltdc.c | ||
ltdc.h | ||
Makefile |