From: Damien Lespiau Date: Fri, 6 Mar 2015 18:50:53 +0000 (+0000) Subject: drm/i915/skl: Restore the DDI translation tables when enabling PW1 X-Git-Tag: omap-for-v4.2/o2_dc~72^2~24^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d2b9526a790d55b7ae870934a74937081f62de2;p=pandora-kernel.git drm/i915/skl: Restore the DDI translation tables when enabling PW1 I was dumping the DDI translation tables to make sure my patch updating the HDMI entry was doing the right thing when I noticed that the table was showing reset values after DPMS. And indeed, the DDI translation registers are in power well 1 on SKL, and so we're losing their values when shutting down eDP. Calling intel_prepare_ddi() on PW1 enabling re-programs the table. Reviewed-by: Paulo Zanoni Signed-off-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed