All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/null_state/gen9: Send atleast one valid component in VF state
@ 2015-07-31 15:27 Arun Siluvery
  2015-07-31 15:28 ` [PATCH] drm/i915/gen9: Update null batch to follow VF state restriction Arun Siluvery
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Arun Siluvery @ 2015-07-31 15:27 UTC (permalink / raw)
  To: intel-gfx; +Cc: Cc: Ben Widawsky

A programming restriction exists for this instruction, atleast one component
of one valid vertex element must be enabled.

Cc: Ben Widawsky <benjamin.widawsky@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com>
---
 tools/null_state_gen/intel_renderstate_gen9.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tools/null_state_gen/intel_renderstate_gen9.c b/tools/null_state_gen/intel_renderstate_gen9.c
index 6f808f8..b3766ea 100644
--- a/tools/null_state_gen/intel_renderstate_gen9.c
+++ b/tools/null_state_gen/intel_renderstate_gen9.c
@@ -440,7 +440,12 @@ int gen9_setup_null_render_state(struct intel_batchbuffer *batch)
 	/* Vertex buffers */
 	gen8_emit_vertex_buffers(batch);
 	gen8_emit_vertex_elements(batch);
-	OUT_CMD(GEN9_3DSTATE_COMPONENT_PACKING, 5);
+
+	OUT_BATCH(GEN9_3DSTATE_COMPONENT_PACKING | 3);
+	OUT_BATCH(1);
+	OUT_BATCH(0);
+	OUT_BATCH(0);
+	OUT_BATCH(0);
 
 	OUT_BATCH(GEN6_3DSTATE_VF_STATISTICS | 1 /* Enable */);
 
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-11-06 22:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31 15:27 [PATCH] tools/null_state/gen9: Send atleast one valid component in VF state Arun Siluvery
2015-07-31 15:28 ` [PATCH] drm/i915/gen9: Update null batch to follow VF state restriction Arun Siluvery
2015-08-05  1:37   ` Ben Widawsky
2015-08-05  7:07   ` Mika Kuoppala
2015-08-10 21:39   ` shuang.he
2015-08-04 14:03 ` [PATCH] tools/null_state/gen9: Send atleast one valid component in VF state Mika Kuoppala
2015-08-05  1:36 ` Ben Widawsky
2015-08-05  8:13   ` Mika Kuoppala
2015-08-05 18:17     ` Ben Widawsky
2015-08-13 12:30   ` Mika Kuoppala
2015-08-13 13:11     ` [PATCH] tools/null_state/gen9: Send all components " Mika Kuoppala
2015-08-17 16:54       ` Ben Widawsky
2015-11-06 22:00       ` Chris Wilson
2015-11-06 22:19         ` Ben Widawsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.