From: Chris Wilson Date: Tue, 26 Mar 2013 23:33:04 +0000 (-0700) Subject: drm/i915: Skip modifying PCH DREF if not changing clock sources X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~55^2~51^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74cfd7ac5e1119ec3275d769ed9e27bcd97cf896;p=pandora-kernel.git drm/i915: Skip modifying PCH DREF if not changing clock sources Modifying the clock sources (via the DREF control on the PCH) is a slow multi-stage process as we need to let the clocks stabilise between each stage. If we are not actually changing the clock sources, then we can return early. Signed-off-by: Chris Wilson Reviewed-by: Jani Nikula [danvet: Appease checkpatch by deleting a space after a ~] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed