drm/i915/bdw: Setup global hardware status page in execlists mode
authorThomas Daniel <thomas.daniel@intel.com>
Wed, 29 Oct 2014 09:52:51 +0000 (09:52 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Nov 2014 17:41:50 +0000 (18:41 +0100)
commit1df06b75f0235c6c4f836e5c03fb499ba70a54bd
tree2117b34dd8e74d80cb3f1c3e0557bb6a9b1e935c
parent7f518dd09e246e96603533167d13b2ede27c20f7
drm/i915/bdw: Setup global hardware status page in execlists mode

Write HWS_PGA address even in execlists mode as the global hardware status
page is still required.  This address was previously uninitialized and
HWSP writes would clobber whatever buffer happened to reside at GGTT
address 0.

v2: Break out hardware status page setup into a separate function.

Issue: VIZ-2020
Signed-off-by: Thomas Daniel <thomas.daniel@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c