]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc720fa2fc36ecae0dd98a23e5169544591d0616
tree2117b34dd8e74d80cb3f1c3e0557bb6a9b1e935c
parent26fef40fa005874711f6c1ffda15c1c5693c46f5
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