From dbefdb23769ab9af37a760246b03273e785b699e Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Tue, 24 Mar 2026 17:01:34 -0400 Subject: [PATCH] pan/bi/ra: Dump verbose debug logging to stderr Reviewed-by: Lars-Ivar Hesselberg Simonsen Reviewed-by: Christoph Pillmayer Reviewed-by: Lorenzo Rossi Part-of: --- src/panfrost/compiler/bifrost/bi_ra.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/panfrost/compiler/bifrost/bi_ra.c b/src/panfrost/compiler/bifrost/bi_ra.c index dd8175e8157..de068936ca4 100644 --- a/src/panfrost/compiler/bifrost/bi_ra.c +++ b/src/panfrost/compiler/bifrost/bi_ra.c @@ -1206,7 +1206,7 @@ bi_register_allocate(bi_context *ctx) bi_compute_liveness_ssa(ctx); if (verbose) { - bi_print_shader(ctx, stdout); + bi_print_shader(ctx, stderr); } unsigned register_demand = bi_calc_register_demand(ctx); if (register_demand > regs_to_use) { @@ -1225,8 +1225,8 @@ bi_register_allocate(bi_context *ctx) if (ctx->arch >= 9) spill_count = ALIGN_POT(spill_count, 16); if (verbose) { - printf("\nspill_registers=%d\n", spill_count); - bi_print_shader(ctx, stdout); + fprintf(stderr, "\nspill_registers=%d\n", spill_count); + bi_print_shader(ctx, stderr); } } }