From 5b46cd335d8323c8b0c48c2c004f983605e25433 Mon Sep 17 00:00:00 2001 From: Zhao Yakui Date: Wed, 22 Jan 2014 09:37:26 +0800 Subject: [PATCH] rendercopy/skl: Follow the spec to add the Pipeline selection mask Reviewed-by: Damien Lespiau Signed-off-by: Zhao Yakui Signed-off-by: Ben Widawsky Signed-off-by: Damien Lespiau --- lib/gen9_render.h | 2 ++ lib/rendercopy_gen9.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/gen9_render.h b/lib/gen9_render.h index 8d6398c0..2cd75302 100644 --- a/lib/gen9_render.h +++ b/lib/gen9_render.h @@ -10,4 +10,6 @@ #define GEN9_SBE_ACTIVE_COMPONENT_XYZ 2 #define GEN9_SBE_ACTIVE_COMPONENT_XYZW 3 +#define GEN9_PIPELINE_SELECTION_MASK (3 << 8) + #endif diff --git a/lib/rendercopy_gen9.c b/lib/rendercopy_gen9.c index 52fc90f6..8621f7fc 100644 --- a/lib/rendercopy_gen9.c +++ b/lib/rendercopy_gen9.c @@ -960,7 +960,8 @@ void gen9_render_copyfunc(struct intel_batchbuffer *batch, /* Start emitting the commands. The order roughly follows the mesa blorp * order */ - OUT_BATCH(GEN6_PIPELINE_SELECT | PIPELINE_SELECT_3D); + OUT_BATCH(GEN6_PIPELINE_SELECT | PIPELINE_SELECT_3D | + GEN9_PIPELINE_SELECTION_MASK); gen8_emit_sip(batch);