Skip to contentSkip to conversation

Assembler/bdw: Remove the unsupported cache agent for WRITE(...)

PATCH In review [email protected] 3 participants 3 messages Jan 28, 2014 – Feb 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 Assembler/bdw: Remove the unsupported cache agent for WRITE(...)

From: Zhao Yakui <[email protected]>

The Sampler/Constant cache is read-only. And it can't be used as the target cache agent of WRITE message.

---
 assembler/gram.y | 4 ----
 1 file changed, 4 deletions(-)
assembler/gram.y +0 -4
index ad4cb29..589a0fe 100644
@@ -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");
Signature · 1 line
1.8.2-rc2
Reviewed-by on v1 1/5
#1 lore raw
Quoted 25 lines · On Tue, 2014-01-28 at 09:53 +0800, [email protected] wrote:

From: Zhao Yakui <[email protected]>

The Sampler/Constant cache is read-only. And it can't be used as the target cache agent of WRITE message.

---
 assembler/gram.y | 4 ----
 1 file changed, 4 deletions(-)
assembler/gram.y +0 -2
index ad4cb29..589a0fe 100644
@@ -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");

assembler/gram.y msgtarget: NULL_TOKEN · line 1719

Quoted 9 lines
assembler/gram.y +0 -2
@@ -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");

It is OK for me