summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_guc_submit.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2022-12-22 23:14:27 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-12 22:06:01 +0300
commit857912c37ea786715e03b5bf25db07e28fc2ba73 (patch)
treed838bf8cbd3cffca1276cd2dca8c492f36bce5ad /drivers/gpu/drm/xe/xe_guc_submit.c
parent4aa18ae44686144c5c5d29113d6e2c5c3ebb349d (diff)
downloadlinux-857912c37ea786715e03b5bf25db07e28fc2ba73.tar.xz
drm/xe: Fix some log messages on 32b
Either use the proper format or cast up to 64b depending on the case. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_guc_submit.c')
-rw-r--r--drivers/gpu/drm/xe/xe_guc_submit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index e0d424c2b78c..2d4eb527d6e8 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -1630,7 +1630,7 @@ static void guc_engine_wq_print(struct xe_engine *e, struct drm_printer *p)
for (i = parallel_read(xe, map, wq_desc.head);
i != parallel_read(xe, map, wq_desc.tail);
i = (i + sizeof(u32)) % WQ_SIZE)
- drm_printf(p, "\tWQ[%ld]: 0x%08x\n", i / sizeof(u32),
+ drm_printf(p, "\tWQ[%zu]: 0x%08x\n", i / sizeof(u32),
parallel_read(xe, map, wq[i / sizeof(u32)]));
}
}