mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
panvk: Fix tracing
pandecode_next_frame() take a decode context. Passing NULL leads to a NULL deref. Fixes:56be9a55be("pan/decode: handle more than one panfrost_device") Cc: mesa-stable Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Constantine Shablya <constantine.shablya@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27107> (cherry picked from commit35a02560c8)
This commit is contained in:
parent
1246e54f1c
commit
b65d7520f6
2 changed files with 2 additions and 2 deletions
|
|
@ -164,7 +164,7 @@
|
|||
"description": "panvk: Fix tracing",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "56be9a55be03cce9925989e7d22696733488e05b",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ panvk_queue_submit_batch(struct panvk_queue *queue, struct panvk_batch *batch,
|
|||
}
|
||||
|
||||
if (debug & PANVK_DEBUG_TRACE)
|
||||
pandecode_next_frame(0);
|
||||
pandecode_next_frame(pdev->decode_ctx);
|
||||
|
||||
batch->issued = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue