[Bug 84958] [BDW] Screen stop at certain frame when running Synmark2 cases while FPS is updating
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 5 11:46:21 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84958
--- Comment #11 from Chris Wilson <chris at chris-wilson.co.uk> ---
Hmm, VF instancing is the key. Apparently the command to disable instancing
with VF_SGVS is by itself insufficient:
diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c
index 9187b38..06cb736 100644
--- a/src/sna/gen8_render.c
+++ b/src/sna/gen8_render.c
@@ -805,6 +805,7 @@ gen8_emit_cc_invariant(struct sna *sna)
static void
gen8_emit_vf_invariant(struct sna *sna)
{
+ int n;
#if 1
OUT_BATCH(GEN8_3DSTATE_VF | (2 - 2));
OUT_BATCH(0);
@@ -818,6 +819,12 @@ gen8_emit_vf_invariant(struct sna *sna)
OUT_BATCH(GEN8_3DSTATE_VF_STATISTICS | 0);
+ for (n = 0; n < 33; n++) {
+ OUT_BATCH(GEN8_3DSTATE_VF_INSTANCING | (3 - 2));
+ OUT_BATCH(n);
+ OUT_BATCH(0);
+ }
+
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20141105/2e7636d6/attachment.html>
More information about the intel-gfx-bugs
mailing list