From: Maarten Lankhorst Date: Mon, 15 Jun 2015 10:33:56 +0000 (+0200) Subject: drm/i915: Make cdclk part of the atomic state. X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27c329ed16ddf5540151dfa9d22c584b819e0718;p=pandora-kernel.git drm/i915: Make cdclk part of the atomic state. The skylake scalers depend on the cdclk freq, but that frequency can change during a modeset. So when a modeset happens calculate the new cdclk in the atomic state. With the transitional helpers gone the cached value can be used in the scaler, and committed after all crtc's are disabled. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90874 Signed-off-by: Maarten Lankhorst Reviewed-by: Matt Roper Tested-by(IVB): Matt Roper Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed