Commit 0b688f9b authored by Matthew Auld's avatar Matthew Auld Committed by Rodrigo Vivi

drm/xe/ct: update g2h outstanding for CTB capture

Looks to always to be zero when inspecting the CTB dump.
Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: default avatarMatthew Brost <matthew.brost@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 4aa5e359
...@@ -1219,6 +1219,7 @@ struct xe_guc_ct_snapshot *xe_guc_ct_snapshot_capture(struct xe_guc_ct *ct, ...@@ -1219,6 +1219,7 @@ struct xe_guc_ct_snapshot *xe_guc_ct_snapshot_capture(struct xe_guc_ct *ct,
if (ct->enabled) { if (ct->enabled) {
snapshot->ct_enabled = true; snapshot->ct_enabled = true;
snapshot->g2h_outstanding = READ_ONCE(ct->g2h_outstanding);
guc_ctb_snapshot_capture(xe, &ct->ctbs.h2g, guc_ctb_snapshot_capture(xe, &ct->ctbs.h2g,
&snapshot->h2g, atomic); &snapshot->h2g, atomic);
guc_ctb_snapshot_capture(xe, &ct->ctbs.g2h, guc_ctb_snapshot_capture(xe, &ct->ctbs.g2h,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment