panfrost: Don't dump shader disassembly by default on CSF

Dumping disassembly when not explicitly requested to do so was probably
helpful during early CSF bringup. But the CSF code is relatively robust
now, so let's move this to only happen if PAN_DBG_TRACE is set, similar
to what we do in the JM backend.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38182>
This commit is contained in:
Valentine Burley
2025-10-31 10:24:31 +01:00
committed by Marge Bot
parent 74d9a90546
commit d11d83dee6
+1 -3
View File
@@ -615,10 +615,8 @@ csf_submit_wait_and_dump(struct panfrost_batch *batch,
/* Jobs won't be complete if blackhole rendering, that's ok */
if (!ctx->is_noop && (dev->debug & PAN_DBG_SYNC) &&
*((uint64_t *)batch->csf.cs.state.cpu) != 0) {
*((uint64_t *)batch->csf.cs.state.cpu) != 0)
crash = true;
dump = true;
}
if (dump) {
const struct drm_panthor_queue_submit *qsubmits =