Re: [PATCH Inte-gpu-tools 1/5] Assembler/bdw: Remove the unsupported cache agent for WRITE(...)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2014-01-28 at 09:53 +0800, yakui.zhao@xxxxxxxxx wrote: 
> From: Zhao Yakui <yakui.zhao@xxxxxxxxx>
> 
> 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@xxxxxxxxx>
> ---
>  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");

It is OK for me

Reviewed-by: Xiang, Haihao <haihao.xiang@xxxxxxxxx>


_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux