From: Matthew Auld Date: Wed, 23 Aug 2023 17:55:52 +0000 (+0100) Subject: drm/xe/ct: fix resv_space print X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=429d56a6b12c4a00d22dcc8a1ac0394906c92b67;p=linux.git drm/xe/ct: fix resv_space print Actually print the info.resv_space. Signed-off-by: Matthew Auld Cc: Rodrigo Vivi 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 59136b6a7c6f4..b92e04ba8f63c 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);