From: Matthew Auld Date: Mon, 10 Jul 2023 09:40:48 +0000 (+0100) Subject: drm/xe/ct: update g2h outstanding for CTB capture X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0b688f9b2880c655a8b161ec46932a6fe8da9ea9;p=linux.git drm/xe/ct: update g2h outstanding for CTB capture Looks to always to be zero when inspecting the CTB dump. Signed-off-by: Matthew Auld Cc: José Roberto de Souza Cc: Rodrigo Vivi Cc: Matthew Brost Reviewed-by: Matthew Brost Signed-off-by: Rodrigo Vivi --- diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c index acf488b00b661..0b086d17c083c 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,