MLK-17671-1: drm: imx: dcss: add a delay after changing the pixel clock
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Tue, 6 Mar 2018 09:08:49 +0000 (11:08 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit94958674b257b27e05395da54d4e1e0a1f45791f
treecb3f737814718c1f128770e3eeb07bb2ee40aca5
parent1291bc56a7353abb74933a603d900ec429c660bb
MLK-17671-1: drm: imx: dcss: add a delay after changing the pixel clock

DCSS needs some time to stabilize after switching to a new pixel clock.
All interrupts will delayed till the clock stabilizes and we'll end up
getting warnings about VBLANK interrupt taking more than 50ms to arrive.

This patch adds a 500ms delay after switching to a new clock. This will
allow DCSS to stabilize before enabling CRTC and DTG channels.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/imx/dcss/dcss-dtg.c