aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_print.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-03-11 08:22:08 -0400
committerMarge Bot <[email protected]>2020-03-11 20:28:20 +0000
commitc5dd1d542dea49a19ad3686d26a895395f7f7849 (patch)
treeda9fe6a22e3d6cd55b481d723d77037767ee6bb3 /src/panfrost/midgard/midgard_print.c
parent4998925d6a1225ea4b4ad93e38e7eaaac66fa505 (diff)
pan/midgard: Sync midgard_block field names with Bifrost
Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150>
Diffstat (limited to 'src/panfrost/midgard/midgard_print.c')
-rw-r--r--src/panfrost/midgard/midgard_print.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/panfrost/midgard/midgard_print.c b/src/panfrost/midgard/midgard_print.c
index e23e7d59817..c90f6465037 100644
--- a/src/panfrost/midgard/midgard_print.c
+++ b/src/panfrost/midgard/midgard_print.c
@@ -377,9 +377,9 @@ mir_print_instruction(midgard_instruction *ins)
void
mir_print_block(midgard_block *block)
{
- printf("block%u: {\n", block->source_id);
+ printf("block%u: {\n", block->name);
- if (block->is_scheduled) {
+ if (block->scheduled) {
mir_foreach_bundle_in_block(block, bundle) {
for (unsigned i = 0; i < bundle->instruction_count; ++i)
mir_print_instruction(bundle->instructions[i]);
@@ -397,14 +397,14 @@ mir_print_block(midgard_block *block)
if (block->nr_successors) {
printf(" -> ");
for (unsigned i = 0; i < block->nr_successors; ++i) {
- printf("block%u%s", block->successors[i]->source_id,
+ printf("block%u%s", block->successors[i]->name,
(i + 1) != block->nr_successors ? ", " : "");
}
}
printf(" from { ");
mir_foreach_predecessor(block, pred)
- printf("block%u ", pred->source_id);
+ printf("block%u ", pred->name);
printf("}");
printf("\n\n");