panvk: trivial fix to remove repeated assignment

Fixes: c0d9827 ("panvk: Use WB mappings for the global RW and executable memory pools")

Signed-off-by: Ryan Zhang <ryan.zhang@nxp.com>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
(cherry picked from commit 760ac320be)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
This commit is contained in:
Ryan Zhang 2026-03-23 15:11:54 +08:00 committed by Eric Engestrom
parent 5d8b53beea
commit 57ef28bbde
2 changed files with 2 additions and 2 deletions

View file

@ -3794,7 +3794,7 @@
"description": "panvk: trivial fix to remove repeated assignment",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "c0d982751c51c7f9450786c01a3a3b987446c9d0",
"notes": null

View file

@ -1249,7 +1249,7 @@ panvk_queue_submit_process_debug(const struct panvk_queue_submit *submit,
for (uint32_t i = 0; i < ARRAY_SIZE(queue->subqueues); i++) {
panvk_priv_mem_readback(queue->subqueues[i].context, 0,
struct panvk_cs_subqueue_context, ctx) {
size_t trace_size = trace_size =
size_t trace_size =
ctx->debug.tracebuf.cs - queue->subqueues[i].tracebuf.addr.dev;
if (trace_size) {