intel-gtt: save PGETBL_CTL later in the setup process
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 23 Sep 2010 18:04:17 +0000 (20:04 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Oct 2010 22:31:06 +0000 (23:31 +0100)
commitb3eafc5af02a799650757f2c5b2b0d4835dd0a5f
treec20558a017505974e4ef26437af480d1ff04fb21
parent53984635a659e360f206a81ada4ae813152d72f1
intel-gtt: save PGETBL_CTL later in the setup process

... and switch to a more classical store-reg-on-suspend, restore-on-resume
way of doing things. Obviously this is just preparation for the future,
the code is not there at all, yet.

This is needed because the next patch adjusts this register and everything
in it (not just the pagetable address) needs to be restored on resume.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/char/agp/intel-gtt.c