mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
rocket: Fix printing of rknpu_mem_create.dma_addr
The Linux kernel's __u64 isn't always implemented as a long long, and there's no nice define for printing it like with uint64_t.
(cherry picked from commit 41b9dc3a2c)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39828>
This commit is contained in:
parent
00db096003
commit
890ff49038
2 changed files with 2 additions and 2 deletions
|
|
@ -1134,7 +1134,7 @@
|
|||
"description": "rocket: Fix printing of rknpu_mem_create.dma_addr",
|
||||
"nominated": false,
|
||||
"nomination_type": 0,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ handle_mem_create(struct rknpu_mem_create *args)
|
|||
context.bos[context.next_handle_id].obj_addr = args->obj_addr;
|
||||
context.bos[context.next_handle_id].dma_addr = args->dma_addr;
|
||||
|
||||
fprintf(stderr, "%s: dma_addr %llx\n", __func__, args->dma_addr);
|
||||
fprintf(stderr, "%s: dma_addr %llx\n", __func__, (long long)args->dma_addr);
|
||||
context.next_handle_id++;
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue