summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/tests/xe_migrate.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/tests/xe_migrate.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/tests/xe_migrate.c')
-rw-r--r--drivers/gpu/drm/xe/tests/xe_migrate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/xe/tests/xe_migrate.c b/drivers/gpu/drm/xe/tests/xe_migrate.c
index 0f3b819f0a34..03a60d5b42f1 100644
--- a/drivers/gpu/drm/xe/tests/xe_migrate.c
+++ b/drivers/gpu/drm/xe/tests/xe_migrate.c
@@ -263,9 +263,9 @@ static void xe_migrate_sanity_test(struct xe_migrate *m, struct kunit *test)
goto free_tiny;
}
- kunit_info(test, "Starting tests, top level PT addr: %llx, special pagetable base addr: %llx\n",
- xe_bo_main_addr(m->eng->vm->pt_root[id]->bo, GEN8_PAGE_SIZE),
- xe_bo_main_addr(m->pt_bo, GEN8_PAGE_SIZE));
+ kunit_info(test, "Starting tests, top level PT addr: %lx, special pagetable base addr: %lx\n",
+ (unsigned long)xe_bo_main_addr(m->eng->vm->pt_root[id]->bo, GEN8_PAGE_SIZE),
+ (unsigned long)xe_bo_main_addr(m->pt_bo, GEN8_PAGE_SIZE));
/* First part of the test, are we updating our pagetable bo with a new entry? */
xe_map_wr(xe, &bo->vmap, GEN8_PAGE_SIZE * (NUM_KERNEL_PDE - 1), u64, 0xdeaddeadbeefbeef);