All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Xiang, Haihao" <haihao.xiang@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 10/10] no compression flag on Sandybridge
Date: Sat,  9 Oct 2010 15:32:30 +0800	[thread overview]
Message-ID: <1286609550-16083-11-git-send-email-haihao.xiang@intel.com> (raw)
In-Reply-To: <1286609550-16083-1-git-send-email-haihao.xiang@intel.com>

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
---
 src/gram.y |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/gram.y b/src/gram.y
index e61e9db..a57e4e9 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -1612,8 +1612,10 @@ instoption_list:
 		    $$.header.compression_control |= BRW_COMPRESSION_2NDHALF;
 		    break;
 		  case COMPR:
-		    $$.header.compression_control |=
-		      BRW_COMPRESSION_COMPRESSED;
+		    if (gen_level < 6) {
+                        $$.header.compression_control |=
+                            BRW_COMPRESSION_COMPRESSED;
+		    }
 		    break;
 		  case SWITCH:
 		    $$.header.thread_control |= BRW_THREAD_SWITCH;
-- 
1.7.0.4

      parent reply	other threads:[~2010-10-09  7:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-09  7:32 support for Sandybridge in GFX assembler Xiang, Haihao
2010-10-09  7:32 ` [PATCH 01/10] add -g 6 for Sandybridge Xiang, Haihao
2010-10-09  7:32 ` [PATCH 02/10] fix jump count " Xiang, Haihao
2010-10-09  7:32 ` [PATCH 03/10] always set destination horiz stride for Align16 to 1 on Sandybridge Xiang, Haihao
2010-10-09  7:32 ` [PATCH 04/10] add AccWrCtrl flag " Xiang, Haihao
2010-10-09  7:32 ` [PATCH 05/10] fix send instruction " Xiang, Haihao
2010-10-09  7:32 ` [PATCH 06/10] add support for data port write " Xiang, Haihao
2010-10-09  7:32 ` [PATCH 07/10] add support for data port read " Xiang, Haihao
2010-10-09  7:32 ` [PATCH 08/10] sampler, urb write, null and gateway on Sandybridge are same as Ironlake Xiang, Haihao
2010-10-09  7:32 ` [PATCH 09/10] print error message when using math function on Sandybridge Xiang, Haihao
2010-10-09  7:32 ` Xiang, Haihao [this message]

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=1286609550-16083-11-git-send-email-haihao.xiang@intel.com \
    --to=haihao.xiang@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.