[Mesa-stable] [Mesa-dev] [PATCH 2/2] anv/cmd_buffer: Enable a CS stall workaround for Sky Lake gt4

Kenneth Graunke kenneth at whitecape.org
Thu Nov 10 23:20:27 UTC 2016


On Thursday, November 10, 2016 2:27:28 PM PST Jason Ekstrand wrote:
> This fixes hangs in Dota2
> 
> Cc: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
> ---
>  src/intel/vulkan/genX_cmd_buffer.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c
> index 35f5dd6..2bc7e74 100644
> --- a/src/intel/vulkan/genX_cmd_buffer.c
> +++ b/src/intel/vulkan/genX_cmd_buffer.c
> @@ -1880,6 +1880,9 @@ emit_ps_depth_count(struct anv_cmd_buffer *cmd_buffer,
>        pc.PostSyncOperation       = WritePSDepthCount;
>        pc.DepthStallEnable        = true;
>        pc.Address                 = (struct anv_address) { bo, offset };
> +
> +      if (GEN_GEN == 9 && cmd_buffer->device->info.gt == 4)
> +         pc.CommandStreamerStallEnable = true;
>     }
>  }
>  
> @@ -1985,6 +1988,9 @@ void genX(CmdWriteTimestamp)(
>           pc.DestinationAddressType  = DAT_PPGTT;
>           pc.PostSyncOperation       = WriteTimestamp;
>           pc.Address = (struct anv_address) { &pool->bo, offset };
> +
> +         if (GEN_GEN == 9 && cmd_buffer->device->info.gt == 4)
> +            pc.CommandStreamerStallEnable = true;
>        }
>        break;
>     }
> 

Series is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20161110/a2383704/attachment.sig>


More information about the mesa-stable mailing list