All of lore.kernel.org
 help / color / mirror / Atom feed
From: yakui.zhao@intel.com
To: intel-gfx@lists.freedesktop.org
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	[thread overview]
Message-ID: <1390874030-2687-1-git-send-email-yakui.zhao@intel.com> (raw)

From: Zhao Yakui <yakui.zhao@intel.com>

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 <yakui.zhao@intel.com>
---
 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

             reply	other threads:[~2014-01-28  1:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-28  1:53 yakui.zhao [this message]
2014-02-13  3:10 ` [PATCH Inte-gpu-tools 1/5] Assembler/bdw: Remove the unsupported cache agent for WRITE(...) Xiang, Haihao
2014-02-13  7:55   ` Damien Lespiau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1390874030-2687-1-git-send-email-yakui.zhao@intel.com \
    --to=yakui.zhao@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.