drm/i915: Restore physical HWS_PGA after resume
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 16 Nov 2012 11:43:20 +0000 (11:43 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 16 Nov 2012 12:47:40 +0000 (13:47 +0100)
commit6b8294a4d392c2c9f8867e8505511f3fc9419ba7
tree19108a7b37d5167877f2ae44b4d27fe27f917a90
parentd640c4b09a5d83a8167eb09d22bd89d9fa7e3b91
drm/i915: Restore physical HWS_PGA after resume

By always setting up the HWS register for both physical and virtual
address variations during render ring we can reduce the number of
different special cases that get set up at varying different times
during module load.

Fixes regression from

commit c630119f43471a8ece356b01dabf07f944f453b3
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Oct 17 11:32:57 2012 +0200

    drm/i915: don't save/restore HWS_PGA reg for kms

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/intel_ringbuffer.c