]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71c637d90b63ff83b417505e56f36ea55c5172ce
treec20558a017505974e4ef26437af480d1ff04fb21
parent8adfd9dfe8bf16552e060441722bc53b45bd51c8
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