drm/fsl-dcu: enable pixel clock when enabling CRTC
authorStefan Agner <stefan@agner.ch>
Wed, 5 Oct 2016 00:40:29 +0000 (17:40 -0700)
committerStefan Agner <stefan@agner.ch>
Thu, 20 Oct 2016 00:03:02 +0000 (17:03 -0700)
commit0a70c998d0c571c66d0ba8ffd9f803392a53193d
tree631189dfca387aad4cf802a81ec4d8018723300c
parent9789037695018e25902469ea0e540c07580b940f
drm/fsl-dcu: enable pixel clock when enabling CRTC

The pixel clock should not be on if the CRTC is not in use, hence
move clock enable/disable calls into CRTC callbacks.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Tested-By: Meng Yi <meng.yi@nxp.com>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c