From: yakui.zhao@intel.com Subject: [PATCH Inte-gpu-tools 1/5] Assembler/bdw: Remove the unsupported cache agent for WRITE(...) Date: Tue, 28 Jan 2014 09:53:50 +0800 Message-ID: <1390874030-2687-1-git-send-email-yakui.zhao@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id A1285FC86C for ; Mon, 27 Jan 2014 17:55:36 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org From: Zhao Yakui The Sampler/Constant cache is read-only. And it can't be used as the target cache agent of WRITE message. Signed-off-by: Zhao Yakui --- assembler/gram.y | 4 ---- 1 file changed, 4 deletions(-) diff --git a/assembler/gram.y b/assembler/gram.y index ad4cb29..589a0fe 100644 --- a/assembler/gram.y +++ b/assembler/gram.y @@ -1652,9 +1652,7 @@ msgtarget: NULL_TOKEN { if (IS_GENp(8)) { if ($9 != 0 && - $9 != GEN6_SFID_DATAPORT_SAMPLER_CACHE && $9 != GEN6_SFID_DATAPORT_RENDER_CACHE && - $9 != GEN6_SFID_DATAPORT_CONSTANT_CACHE && $9 != GEN7_SFID_DATAPORT_DATA_CACHE && $9 != HSW_SFID_DATAPORT_DATA_CACHE1) { error (&@9, "error: wrong cache type\n"); @@ -1715,9 +1713,7 @@ msgtarget: NULL_TOKEN { if (IS_GENp(8)) { if ($9 != 0 && - $9 != GEN6_SFID_DATAPORT_SAMPLER_CACHE && $9 != GEN6_SFID_DATAPORT_RENDER_CACHE && - $9 != GEN6_SFID_DATAPORT_CONSTANT_CACHE && $9 != GEN7_SFID_DATAPORT_DATA_CACHE && $9 != HSW_SFID_DATAPORT_DATA_CACHE1) { error (&@9, "error: wrong cache type\n"); -- 1.8.2-rc2