drm/i915: Restore GTT mapping first upon resume
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Dec 2010 14:26:19 +0000 (14:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Dec 2010 19:46:23 +0000 (19:46 +0000)
commitd1c3b177b9940541e89015a726ac279caf1a21f3
tree3e7cec06ee0703b45d05eedc4e422718cb15e328
parent4a19d02e0a8cd8799e5d150d8eb74861e1a4cdec
drm/i915: Restore GTT mapping first upon resume

As suggested by Daniel Vetter, this is a safeguard should any of the
registers cause reference to PTE entries.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.c