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)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:56:05 +0000 (14:56 -0500)
commit8e43a76551219e1c1325e9e86e42c73b4e10a198
tree47e174a4439722b4e99650869b8dce17351c95f6
parenta75009cea30d754d976a9ed962243d862c3c6387
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