From: Ville Syrjälä Date: Wed, 3 Jun 2015 12:45:13 +0000 (+0300) Subject: drm/i915: BDW clock change support X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~307^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b432e5cfd5e92127ad2dd83bfc3083f1dbce43fb;p=pandora-kernel.git drm/i915: BDW clock change support Add support for changing cdclk frequency during runtime on BDW. Also with IPS enabled the actual pixel rate mustn't exceed 95% of cdclk, so take that into account when computing the max pixel rate. v2: Grab rps.hw_lock around sandybridge_pcode_write() v3: Rebase due to power well vs. .global_resources() reordering v4: Rebased to the latest v5: Rebased to the latest v6: Patch order shuffle so that Broadwell CD clock change is applied before the patch for Haswell CD clock change v7: Fix for patch style problems Signed-off-by: Ville Syrjälä Signed-off-by: Mika Kahola Reviewed-by: Damien Lespiau Signed-off-by: Jani Nikula --- Reading git-diff-tree failed