From: Zhao Yakui <yakui.zhao@xxxxxxxxx> Reviewed-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> Signed-off-by: Zhao Yakui <yakui.zhao@xxxxxxxxx> Signed-off-by: Ben Widawsky <benjamin.widawsky@xxxxxxxxx> Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> --- 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 8d6398c..2cd7530 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 52fc90f..8621f7f 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); -- 1.8.3.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx