From: Philipp Zabel
Date: Fri, 23 Jan 2015 16:10:01 +0000 (+0100)
Subject: drm/imx: imx-ldb: enable DI clock in encoder_mode_set
X-Git-Tag: omap-for-v4.1/wl12xx-dt~53^2~8^2~1
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51dac94e801fb779789fa8e38bac7df306ac4fa7;p=pandora-kernel.git
drm/imx: imx-ldb: enable DI clock in encoder_mode_set
Commit eb10d6355532 ("imx-drm: encoder prepare/mode_set must use adjusted mode")
broke the first LVDS modeset by using crtc->hwmode before crtc mode_set is
called. In fact, encoder prepare is not supposed to prepare the display clock
at all. Rather encoder mode_set should be used to set the DI clock rate, before
it is enabled by crtc commit.
Reported-by: Liu Ying
Tested-by: Fabio Estevam
Signed-off-by: Philipp Zabel
---
Reading git-diff-tree failed