From: Damien Lespiau Subject: [PATCH i-g-t 14/26] rendercopy/skl: Follow the spec to add the Pipeline selection mask Date: Fri, 26 Sep 2014 15:03:12 +0100 Message-ID: <1411740204-25709-14-git-send-email-damien.lespiau@intel.com> References: <1411740204-25709-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id B8E3B6E055 for ; Fri, 26 Sep 2014 07:04:34 -0700 (PDT) In-Reply-To: <1411740204-25709-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org From: Zhao Yakui 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 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