From patchwork Tue Jan 28 01:53:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhao, Yakui" X-Patchwork-Id: 3544881 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1EE33C02DC for ; Tue, 28 Jan 2014 01:55:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2EF8B2011E for ; Tue, 28 Jan 2014 01:55:42 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id F0DFE20117 for ; Tue, 28 Jan 2014 01:55:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E3B1CFC86C; Mon, 27 Jan 2014 17:55:38 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org 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) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 27 Jan 2014 17:55:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.95,732,1384329600"; d="scan'208";a="406602837" Received: from unknown (HELO tiger-fulsim.sh.intel.com) ([10.239.13.4]) by azsmga001.ch.intel.com with ESMTP; 27 Jan 2014 17:55:33 -0800 From: yakui.zhao@intel.com To: intel-gfx@lists.freedesktop.org Date: Tue, 28 Jan 2014 09:53:50 +0800 Message-Id: <1390874030-2687-1-git-send-email-yakui.zhao@intel.com> X-Mailer: git-send-email 1.8.2-rc2 Subject: [Intel-gfx] [PATCH Inte-gpu-tools 1/5] Assembler/bdw: Remove the unsupported cache agent for WRITE(...) X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Xiang, Haihao --- 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");