From: Jesse Barnes Date: Fri, 4 Feb 2011 21:57:30 +0000 (-0800) Subject: drm/i915: the PCH reference clocks are global, so don't clobber unconditionally X-Git-Tag: v2.6.39-rc1~458^2~9^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcbe6f2b3d136995915e2f9ecc7d4f3b28f47b6c;p=pandora-kernel.git drm/i915: the PCH reference clocks are global, so don't clobber unconditionally The PCH can drive several reference clocks simultaneously, and needs to with multiple display configurations. So we can't just clobber the existing state everytime we set a mode, we need to take into account what the other CRTCs are doing at the time. Doing so fixes an issue where you'd lose the LVDS display at boot if you had an LVDS+DP config. [updated: init bools and check CRTC status correctly] Signed-off-by: Jesse Barnes Signed-off-by: Chris Wilson --- Reading git-diff-tree failed