summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_guc_ct.c
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2023-08-23 20:55:52 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:40:27 +0300
commit429d56a6b12c4a00d22dcc8a1ac0394906c92b67 (patch)
tree973d42234d1b2ad2104fc604976d858f9eab0541 /drivers/gpu/drm/xe/xe_guc_ct.c
parent9e9526352d6f7f94a4348cebce9859dfebed1dea (diff)
downloadlinux-429d56a6b12c4a00d22dcc8a1ac0394906c92b67.tar.xz
drm/xe/ct: fix resv_space print
Actually print the info.resv_space. Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_guc_ct.c')
-rw-r--r--drivers/gpu/drm/xe/xe_guc_ct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c
index 59136b6a7c6f..b92e04ba8f63 100644
--- a/drivers/gpu/drm/xe/xe_guc_ct.c
+++ b/drivers/gpu/drm/xe/xe_guc_ct.c
@@ -1180,7 +1180,7 @@ static void guc_ctb_snapshot_print(struct guc_ctb_snapshot *snapshot,
u32 head, tail;
drm_printf(p, "\tsize: %d\n", snapshot->info.size);
- drm_printf(p, "\tresv_space: %d\n", snapshot->info.space);
+ drm_printf(p, "\tresv_space: %d\n", snapshot->info.resv_space);
drm_printf(p, "\thead: %d\n", snapshot->info.head);
drm_printf(p, "\ttail: %d\n", snapshot->info.tail);
drm_printf(p, "\tspace: %d\n", snapshot->info.space);