]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Restore the DDI translation tables when enabling PW1
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 6 Mar 2015 18:50:53 +0000 (18:50 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Mar 2015 21:30:08 +0000 (22:30 +0100)
commit61453c88d4259cf8dacb39245911e4e38b078250
tree6aea0ca61ab79112f1a1416744ecb97c7a594cdd
parent8d9420500dadff279627d7c24ba369d2980ab143
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 <paulo.r.zanoni@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_runtime_pm.c