agp/intel: Fix resume regression from 2d2430cf
commit3f08e4ef807c3103ceebf7993c7463c7a90646f3
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Sep 2010 19:15:22 +0000 (14 20:15 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Sep 2010 20:13:13 +0000 (14 21:13 +0100)
tree63119dac1d44e097fd8cbcaa3f77eb111757483e
parentb1c5b0f8cc16a1d22e2e521c4236a6ceca1b2983
agp/intel: Fix resume regression from 2d2430cf

On i915 [EeePCs] something scribles over the registers during suspend
and resume so we must save a copy of the PGETBL_CTL register programmed
by the BIOS and restore that upon resume.

Reported-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/char/agp/intel-gtt.c