drm/xe/ct: fix resv_space print
authorMatthew Auld <matthew.auld@intel.com>
Wed, 23 Aug 2023 17:55:52 +0000 (18:55 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:40:27 +0000 (11:40 -0500)
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>
drivers/gpu/drm/xe/xe_guc_ct.c

index 59136b6a7c6f434ed10c90612667c3a7d9eb5d29..b92e04ba8f63c58f9ad3c48eec28c9f37f319b4f 100644 (file)
@@ -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);