From: Daniel Vetter Date: Thu, 28 Mar 2013 09:42:02 +0000 (+0100) Subject: drm/i915: create pipe_config->dpll for clock state X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~55^2~51^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f47709a9502f3715cc488b788ca91cf0c142b1b1;p=pandora-kernel.git drm/i915: create pipe_config->dpll for clock state Clock computations and handling are highly encoder specific, both in the optimal clock selection and also in which clocks to use and when sharing of clocks is possible. So the best place to do this is somewhere in the encoders, with a generic fallback for those encoders without special needs. To facility this, add a pipe_config->clocks_set boolean. This patch here is only prep work, it simply sets the computed clock values in pipe_config->dpll, and uses that data in the hw clock setting functions. Haswell code isn't touched, simply because Haswell clocks work much different and need their own infrastructure (with probably a Haswell-specific config->ddi_clock substruct). Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed