[Intel-gfx] [PATCH i-g-t 13/26] rendercopy/skl: Emit 3DSTATE_WM_HZ_OP
Damien Lespiau
damien.lespiau at intel.com
Fri Sep 26 16:03:11 CEST 2014
From: Zhao Yakui <yakui.zhao at intel.com>
This is from that on BDW. Without it, the pixel pipeline can't work well.
Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
lib/rendercopy_gen9.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/lib/rendercopy_gen9.c b/lib/rendercopy_gen9.c
index 1aacaa2..52fc90f 100644
--- a/lib/rendercopy_gen9.c
+++ b/lib/rendercopy_gen9.c
@@ -715,8 +715,19 @@ gen9_emit_ds(struct intel_batchbuffer *batch) {
OUT_BATCH(0);
}
+
+static void
+gen8_emit_wm_hz_op(struct intel_batchbuffer *batch) {
+ OUT_BATCH(GEN8_3DSTATE_WM_HZ_OP | (5-2));
+ OUT_BATCH(0);
+ OUT_BATCH(0);
+ OUT_BATCH(0);
+ OUT_BATCH(0);
+}
+
static void
gen8_emit_null_state(struct intel_batchbuffer *batch) {
+ gen8_emit_wm_hz_op(batch);
gen8_emit_hs(batch);
OUT_BATCH(GEN7_3DSTATE_TE | (4-2));
OUT_BATCH(0);
--
1.8.3.1
More information about the Intel-gfx
mailing list