From: Daniel Vetter Date: Thu, 6 Sep 2012 20:15:40 +0000 (+0200) Subject: drm/i915: add encoder->pre_enable/post_disable X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~14^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf49ec8c5241ca1985269ce77df08021a5dd1589;p=pandora-kernel.git drm/i915: add encoder->pre_enable/post_disable The cpu eDP encoder has some horrible hacks to set up the DP pll at the right time. To be able to move them to the right place, add some more encoder callbacks so that this can happen at the right time. LVDS has some similar funky hacks, but that would require more work (we need to move around the pll setup a bit). Hence for now only wire these new callbacks up for ilk+ - we only have cpu eDP on these platforms. v2: Bikeshed the vtable ordering, requested by Chris Wilson. Reviewed-by: Paulo Zanoni Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed