Fix resume from suspend on IBM X30
authorThomas Richter <thor@math.tu-berlin.de>
Sat, 30 May 2015 18:25:53 +0000 (20:25 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 15 Jun 2015 10:21:01 +0000 (12:21 +0200)
commitac3f918d5a069f1c34c6e0d39cccb0e9c8ac9334
tree9705623e18c29048ce8a2e21eae7a23a82aa280c
parent8a1ebd7480fe8e80119d12bef2906f9480c2916f
Fix resume from suspend on IBM X30

This patch fixes the resume from suspend-to-ram on the IBM X30
laptop. The problem is caused by the Bios missing to re-initialize
the iVCH registers, especially the PLL registers.

This patch records the iVCH registers during initialization, and
re-installs this register set when resuming.

Signed-off-by: Thomas Richter <thor@math.tu-berlin.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/dvo_ivch.c