From: Russell King Date: Sun, 21 Dec 2014 15:58:19 +0000 (+0000) Subject: imx-drm: core: handling of DI clock flags to ipu_crtc_mode_set() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~75^2~39^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d50141d8072e5322ee0518a8c967b5c9caf463d2;p=pandora-kernel.git imx-drm: core: handling of DI clock flags to ipu_crtc_mode_set() We do not need to track the state of the IPU DI's clock flags by having each display bridge calling back into imx-drm-core, and then back out into ipuv3-crtc.c. ipuv3-crtc can instead just scan the list of encoders to retrieve their type, and build up a picture of which types of encoders are attached. We can then use this information to configure the IPU DI clocking mode without any uncertainty - if we have multiple bridges connected to the same DI, if one of them requires a synchronous DI clock, that's what we must use. Signed-off-by: Russell King Signed-off-by: Philipp Zabel --- Reading git-diff-tree failed