[Intel-xe] [PATCH v6 10/11] drm/xe/ct: update g2h outstanding for CTB capture

Matthew Brost matthew.brost at intel.com
Mon Jul 10 13:42:27 UTC 2023


On Mon, Jul 10, 2023 at 10:40:48AM +0100, Matthew Auld wrote:
> Looks to always to be zero when inspecting the CTB dump.
> 
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: José Roberto de Souza <jose.souza at intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Cc: Matthew Brost <matthew.brost at intel.com>

Reviewed-by: Matthew Brost <matthew.brost at intel.com>

> ---
>  drivers/gpu/drm/xe/xe_guc_ct.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c
> index acf488b00b66..0b086d17c083 100644
> --- a/drivers/gpu/drm/xe/xe_guc_ct.c
> +++ b/drivers/gpu/drm/xe/xe_guc_ct.c
> @@ -1219,6 +1219,7 @@ struct xe_guc_ct_snapshot *xe_guc_ct_snapshot_capture(struct xe_guc_ct *ct,
>  
>  	if (ct->enabled) {
>  		snapshot->ct_enabled = true;
> +		snapshot->g2h_outstanding = READ_ONCE(ct->g2h_outstanding);
>  		guc_ctb_snapshot_capture(xe, &ct->ctbs.h2g,
>  					 &snapshot->h2g, atomic);
>  		guc_ctb_snapshot_capture(xe, &ct->ctbs.g2h,
> -- 
> 2.41.0
> 


More information about the Intel-xe mailing list