Skip to content

asahi/compiler: guard AGX3B mixed-precision falu modifier and uniform folding - #1476

Merged
DjDeveloperr merged 2 commits into
aurora-wipfrom
fix/agx3b-mixed-falu-modifier-fold
Dec 2, 2026
Merged

DjDeveloperr merged 2 commits into
aurora-wipfrom
fix/agx3b-mixed-falu-modifier-fold

Conversation

@maralcbr

@maralcbr maralcbr commented Dec 1, 2026 •

Copy link
Copy Markdown

What: Prevent order-dependent agx_optimizer_fmov() modifier/uniform folding and post-legalizer uniform/constant-program lowering from producing unencodable AGX3B (G17P) mixed-precision 32-bit FMUL/FADD/FFMA instructions (such as unsaturated fmul [d32, s0=16:r, s1=32:r.neg]) and add regression unit tests.
Tested: Asahi build and the AGX compiler suite passed at 38b967a0e3d1. On J700 (A18 Pro, G17P B1), all 8,628 targeted Vulkan CTS statuses matched the baseline and there were zero GPU faults. Asahi run, J700 receipt.
Risk: two-way door · M4 (AGX3B / G17P) and Apple Silicon Macs
Not yet: Same-boot FP16 CTS A/B on J773g (G16G) to cover the shared AGX3B compiler path. The historical policy selftest on this head fails in the default-branch healing fixture fixed by #1474.

Details

Root Cause

On AGX3B (AGX_ISA_ENCODING_AGX3B / G17P), agx_optimizer_fmov() visits source operands in index order:

  1. When an unsaturated 32-bit FMUL/FADD/FFMA had src[0] = f2f32(f16_gpr) and src[1] = fmov(-f32), allow_agx3b_{fmul,fadd,ffma}_gpr inspected ins->src[1] before s == 1 had been folded and did not peek through .neg/.abs fmov defs, so s == 0 folded the 16-bit GPR into src[0].
  2. On the next iteration (s == 1), same-width folding (src.size == AGX_SIZE_32 && def->src[0].size == AGX_SIZE_32) blindly applied .neg onto src[1] even though another operand was already AGX_SIZE_16.
  3. agx3_pack_binary.c greedily routes unsaturated AGX3B FMUL with any AGX_SIZE_16 register source to the mixed-precision path (agx3_alu_fmul_mixed / agx3_alu_fmul_abs_mixed), which refuses f32.neg, f16.abs, f16.neg, or two f16 GPRs (AGX3_REFUSE(I)).
  4. Three related gaps could produce unencodable AGX3B mixed-precision forms:
    • agx_can_fold_half_uniform() did not peek through modified fmov defs or exclude preambles (ctx->is_preamble), allowing FMUL(widen(u16), fmov(-u32)) to fold both uniforms and later copy out FMUL(h16, -r32) in agx_lower_uniform_sources() (or turn u16 into h16 in agx3_lower_cprog_inputs() after the main legalizers already ran);
    • folding -abs(h16) into a 32-bit widening fmov produced FADD(d32, -|h16|, -0.0), which agx3_alu_widen_half() refuses on AGX3B and non-G18G AGX3C;
    • unmodified two-half 32-bit FADD(h16, h16) and FADD(h16, #imm) (non--0.0 or saturated) lacked AGX3B legalizer widening.

Changes

  • src/asahi/compiler/agx_optimizer.c:
    • Add agx_peek_fmov_src() and use it in agx_can_fold_half_uniform() and allow_agx3b_{ffma,fmul,fadd}_gpr while preserving native agx3_alu_fmul_abs_mixed (f16 * |f32|).
    • Exclude preambles (!ctx->is_preamble) from allow_half_uniform.
    • Guard same-width fmov folding on AGX3B 32-bit FMUL/FADD/FFMA so folding modifiers, uniforms, or immediates alongside existing half operands cannot create unencodable forms, while still allowing encodable FMUL(h16, |f32|), modified single-half FADD, and saturated mixed FMUL.
    • Guard widening fmov against folding combined abs && neg onto AGX_SIZE_16 on AGX3B and non-G18G AGX3C.
  • src/asahi/compiler/agx_compile.c:
    • Extend agx_lower_agx3_fma_sources() for unsaturated AGX3B FMUL to widen half GPRs whenever f32.neg, f16.abs, f16.neg, or two half GPRs are present.
    • In agx_materialize_agx3_alu_constants(), handle FADD(d32, -|h16|, -0.0) bit-materialization, widen half GPRs on AGX3B FADD paired with non--0.0 or saturated immediates, and widen one half GPR on unmodified two-half 32-bit FADD.
    • Re-run agx_materialize_agx3_alu_constants() and agx_lower_agx3_fma_sources() after agx3_lower_cprog_inputs() in native preambles so 16-bit uniforms lowered to half GPRs are legalized before RA and packing.
  • src/asahi/compiler/agx_lower_uniform_sources.c:
    • Widen materialized 16-bit uniforms (both newly extracted and reused) when lowered into an AGX3B 32-bit FADD, FMUL, or FFMA that cannot accept a 16-bit GPR in that position.
  • src/asahi/compiler/test/test-native-form-regressions.cpp:
    • Add NativeForms.Agx3bMixedFloatModifierFoldingOrder testing operand-order symmetry, positive controls (f16 * |f32|, modified single-half FADD, saturated mixed FMUL), direct legalizer and uniform-lowering backstops, and end-to-end G17P compute + native constant-program compilation.
Evidence
  • Reproducer packer refusal on G17P (AGX_ISA_ENCODING_AGX3B):
    MESA: error: AGX backend cannot encode compute shader for G17P: AGX3 binary packer refused fmul at line 22325 [d32:reg152 s0=16:reg18 s1=32:reg152.neg.discard lod=0 dim=0] [main]
    
  • Commit 54ad936a2339f566bfff2edc9a17ae4bece9ec50 based on green aurora-wip commit a4153c8fefd6d3acdf64020c624008637c158e8e.

@maralcbr
maralcbr requested review from a team and DjDeveloperr as code owners December 1, 2026 10:34
Copilot AI balanced review requested due to automatic review settings December 1, 2026 10:34
… folding

On AGX3B (G17P), agx_optimizer_fmov() visits source operands in index order.
When an unsaturated 32-bit FMUL/FADD/FFMA had src[0] = f2f32(f16_gpr) and
src[1] = fmov(-f32), src[0] checked !other.neg on the still-unfolded SSA
temporary (peeking only through unmodified uniform/immediate fmovs) and
folded the 16-bit GPR into src[0]. On the next iteration, the same-width
f32 fmov folded .neg onto src[1] without checking whether another operand
was already AGX_SIZE_16, emitting FMUL(d32, h16, -r32), which the AGX3B
packer refuses in the mixed-precision FMUL path.

Similarly:
- agx_can_fold_half_uniform() did not peek through modified fmovs or
  exclude preambles, allowing FMUL(widen(u16), fmov(-u32)) to fold both
  uniforms and later copy out an unencodable FMUL(h16, -r32) in
  agx_lower_uniform_sources() or turn u16 into a half GPR in
  agx3_lower_cprog_inputs() after the main legalizers had already run;
- folding -abs(h16) into a 32-bit widening fmov produced a combined
  modifier rejected by agx3_alu_widen_half().

Fix all layers while preserving encodable AGX3B mixed forms:
- In agx_optimizer_fmov(): peek through non-saturating fmov defs (including
  .abs/.neg) in agx_can_fold_half_uniform() and allow_agx3b_{ffma,fmul,fadd}_gpr;
  disallow half-uniform folding in preambles; preserve native
  agx3_alu_fmul_abs_mixed (f16 * |f32|), modified single-half FADD, and
  saturated mixed FMUL; guard same-width folding against creating
  unencodable AGX3B mixed-precision FMUL/FADD/FFMA or half-uniform forms;
  and prevent folding combined -abs(h16) into widening fmovs on AGX3B and
  non-G18G AGX3C.
- In agx_compile.c: extend agx_lower_agx3_fma_sources() to widen half GPRs
  on unsaturated AGX3B FMUL whenever f32.neg / f16.abs / f16.neg or two half
  GPRs are present; in agx_materialize_agx3_alu_constants(), lower
  FADD(d32, -|h16|, -0.0), widen half GPRs on AGX3B FADD with non-negzero
  or saturated immediates, and widen one half GPR on unmodified two-half
  32-bit FADD; and re-run agx_materialize_agx3_alu_constants() and
  agx_lower_agx3_fma_sources() after agx3_lower_cprog_inputs() in native
  preambles so 16-bit uniform inputs lowered to half GPRs are legalized.
- In agx_lower_uniform_sources.c: widen materialized 16-bit uniforms (both
  newly extracted and reused) when lowered into an AGX3B 32-bit FADD,
  FMUL, or FFMA that cannot take a 16-bit GPR in that position.
- Add unit tests in test-native-form-regressions.cpp covering operand-order
  symmetry, positive controls (including f16 * |f32|, modified single-half
  FADD, and saturated mixed FMUL), direct legalizer + uniform-lowering
  backstops, and end-to-end G17P compute + native constant-program
  compilation.

Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
@maralcbr
maralcbr force-pushed the fix/agx3b-mixed-falu-modifier-fold branch from 54ad936 to 38b967a Compare December 1, 2026 10:50
maralcbr added a commit to omacom/mesa that referenced this pull request Dec 1, 2026
…ard)

Add upstream PR aurora-silicon#1476 (38b967a)
to carry.toml on integration/aurora-7.3 with matching annotated tag
carry-input/1476-38b967a0e3d1. Keeps intake at 8a40c21.

Signed-off-by: Marcelo Alcantara <maralc@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

6 open issues
What changed in this PR

Guards AGX3B (G17P) mixed-precision FMUL/FADD/FFMA folding/legalization paths so optimizer modifier/uniform folding and post-legalizer lowering can’t produce unencodable native forms; adds regression tests to lock in operand-order symmetry and backstops.

Changes:

  • Add agx_peek_fmov_src() and tighten AGX3B folding rules in agx_optimizer_fmov() to prevent illegal mixed-half + modifier/immediate/uniform combinations.
  • Extend legalization/materialization/uniform-lowering to widen half operands when required (including after constant-program input lowering).
  • Add an end-to-end + unit-level regression test covering the previously unencodable scenarios.
File Description
src/​asahi/​compiler/​agx_optimizer.c Adds fmov “peek” helper and AGX3B-specific folding guards to avoid creating unencodable mixed-precision ALU forms.
src/​asahi/​compiler/​agx_compile.c Extends AGX3B legalization/materialization and re-runs key passes after cprog input lowering to keep sources encodable.
src/​asahi/​compiler/​agx_lower_uniform_sources.c Widens materialized 16-bit uniforms when lowering into AGX3B 32-bit ops that can’t accept half GPRs.
src/​asahi/​compiler/​test/​test-native-form-regressions.cpp Adds regression coverage for operand-order folding symmetry, legalization backstops, and end-to-end compilation.

Review effort: Lite

Comment on lines +1281 to +1314
bool widen_agx3b_half_uniform = false;
if (ctx->key->dev.encoding == AGX_ISA_ENCODING_AGX3B &&
idx.size == AGX_SIZE_16 && I->nr_dests == 1 &&
I->dest[0].size == AGX_SIZE_32) {
if (I->op == AGX_OPCODE_FADD && I->nr_srcs == 2) {
widen_agx3b_half_uniform =
(I->src[1 - s].type == AGX_INDEX_IMMEDIATE &&
(I->saturate ||
!agx_is_equiv(I->src[1 - s], agx_negzero()))) ||
(!I->saturate && !I->src[s].abs && !I->src[s].neg &&
!I->src[1 - s].abs && !I->src[1 - s].neg &&
I->src[1 - s].type != AGX_INDEX_IMMEDIATE &&
I->src[1 - s].size == AGX_SIZE_16);
} else if (I->op == AGX_OPCODE_FMUL && I->nr_srcs == 2) {
widen_agx3b_half_uniform =
I->src[1 - s].type == AGX_INDEX_IMMEDIATE ||
(!I->saturate &&
(I->src[s].abs || I->src[s].neg || I->src[1 - s].neg ||
I->src[1 - s].size == AGX_SIZE_16));
} else if (I->op == AGX_OPCODE_FFMA && I->nr_srcs == 3) {
bool has_imm_or_mod = I->saturate || I->src[s].abs ||
I->src[s].neg;
bool has_other_uniform = false;
agx_foreach_src(I, k) {
if (k == s)
continue;
has_imm_or_mod |= I->src[k].type == AGX_INDEX_IMMEDIATE ||
I->src[k].abs || I->src[k].neg;
has_other_uniform |= I->src[k].type == AGX_INDEX_UNIFORM;
}
widen_agx3b_half_uniform =
has_imm_or_mod || has_other_uniform;
}
}
Comment on lines +1319 to +1324
agx_index src_val = materialized_to[m];
if (widen_agx3b_half_uniform) {
agx_index wide = agx_temp(ctx, AGX_SIZE_32);
agx_fmov_to(&b, wide, src_val);
src_val = wide;
}
Comment on lines +438 to +520
/* On AGX3B, mixed-precision f32 FMUL/FADD/FFMA with a half-width source
* requires operands that fit its native mixed encodings (the packer
* refuses f32.neg / f16.abs / f16.neg on unsaturated mixed FMUL, and
* half-uniform forms still require a full-width GPR). Keep the fmov
* separate whenever folding it onto another operand would break that
* contract, while still allowing encodable modified single-half FADD
* and saturated mixed FMUL. */
if (ctx->key && ctx->key->dev.encoding == AGX_ISA_ENCODING_AGX3B &&
ins->nr_dests == 1 && ins->dest[0].size == AGX_SIZE_32 &&
!agx_is_fmov(ins) &&
(ins->op == AGX_OPCODE_FMUL || ins->op == AGX_OPCODE_FADD ||
ins->op == AGX_OPCODE_FFMA)) {
if (folded.size == AGX_SIZE_16 && (folded.abs || folded.neg) &&
!ins->saturate &&
(ins->op == AGX_OPCODE_FMUL || ins->op == AGX_OPCODE_FFMA))
continue;

unsigned other_half_gprs = 0;
unsigned other_half_uniforms = 0;
bool other_full_gpr = false;
agx_foreach_src(ins, k) {
if (k == s)
continue;
const agx_index o = ins->src[k];
if ((o.type == AGX_INDEX_NORMAL || o.type == AGX_INDEX_REGISTER) &&
o.size == AGX_SIZE_16)
other_half_gprs++;
else if (o.type == AGX_INDEX_UNIFORM && o.size == AGX_SIZE_16)
other_half_uniforms++;
else if ((o.type == AGX_INDEX_NORMAL ||
o.type == AGX_INDEX_REGISTER) &&
o.size == AGX_SIZE_32 && !o.memory &&
agx_channels(o) == 1)
other_full_gpr = true;
}
if (other_half_uniforms > 0 &&
(folded.type == AGX_INDEX_UNIFORM ||
folded.type == AGX_INDEX_IMMEDIATE) &&
!other_full_gpr)
continue;
if (other_half_gprs > 0) {
if (ins->op == AGX_OPCODE_FMUL) {
/* Native agx3_alu_fmul_abs_mixed admits f32.abs without .neg
* for unsaturated mixed FMUL; saturated mixed FMUL uses
* agx3_falu_mul_mod_runtime (registers only). */
if ((!ins->saturate && folded.neg) ||
folded.type == AGX_INDEX_UNIFORM ||
folded.type == AGX_INDEX_IMMEDIATE)
continue;
} else if (ins->op == AGX_OPCODE_FADD) {
/* Modified single-half register FADD encodes via
* agx3_falu_add_mod_runtime; reject non-GPR operands. */
if (folded.type == AGX_INDEX_UNIFORM ||
folded.type == AGX_INDEX_IMMEDIATE)
continue;
} else {
if (ins->saturate) {
if (folded.type == AGX_INDEX_UNIFORM ||
folded.type == AGX_INDEX_IMMEDIATE)
continue;
} else {
if (folded.abs || folded.neg)
continue;
if (folded.type == AGX_INDEX_UNIFORM &&
(ctx->is_preamble || other_half_gprs > 1 ||
folded.size != AGX_SIZE_32 || (folded.value & 1) ||
folded.value >= 512))
continue;
if (folded.type == AGX_INDEX_IMMEDIATE && s == 2) {
const bool mul_imm =
(ins->src[0].type == AGX_INDEX_IMMEDIATE &&
ins->src[0].value <= 255 && !ins->src[0].abs &&
!ins->src[0].neg) !=
(ins->src[1].type == AGX_INDEX_IMMEDIATE &&
ins->src[1].value <= 255 && !ins->src[1].abs &&
!ins->src[1].neg);
if (!mul_imm || folded.value > 255)
continue;
}
}
}
}
}
Comment on lines +9068 to +9112
TEST(NativeForms, Agx3bMixedFloatModifierFoldingOrder)
{
/* 1. Optimizer symmetry for FMUL/FADD/FFMA with f2f32(f16) + fmov(-f32). */
for (unsigned op_idx = 0; op_idx < 3; ++op_idx) {
for (bool half_first : {true, false}) {
SCOPED_TRACE(op_idx);
SCOPED_TRACE(half_first);
void *mem = ralloc_context(NULL);
agx_builder *b = agx_test_builder(mem);
agx_shader_key key = {};
key.dev.encoding = AGX_ISA_ENCODING_AGX3B;
key.dev.chip = AGX_CHIP_G17P;
b->shader->key = &key;

agx_index h16 = agx_preload(b, agx_register(0, AGX_SIZE_16));
agx_index x32 = agx_preload(b, agx_register(2, AGX_SIZE_32));
agx_index z32 = agx_preload(b, agx_register(4, AGX_SIZE_32));
agx_index wide = agx_temp(b->shader, AGX_SIZE_32);
agx_fmov_to(b, wide, h16);
agx_index negx = agx_temp(b->shader, AGX_SIZE_32);
agx_fmov_to(b, negx, agx_neg(x32));

agx_index a = half_first ? wide : negx;
agx_index c = half_first ? negx : wide;
agx_index out = agx_temp(b->shader, AGX_SIZE_32);
agx_instr *alu = NULL;
if (op_idx == 0)
alu = agx_fmul_to(b, out, a, c);
else if (op_idx == 1)
alu = agx_fadd_to(b, out, a, c);
else
alu = agx_ffma_to(b, out, a, c, z32);
agx_unit_test(b, out);

agx_optimizer_forward(b->shader);
bool has_half = false, has_mod = false;
agx_foreach_src(alu, s) {
has_half |= alu->src[s].size == AGX_SIZE_16;
has_mod |= alu->src[s].abs || alu->src[s].neg;
}
EXPECT_FALSE(has_half && has_mod);
ralloc_free(mem);
}
}

Comment on lines +9238 to +9241
for (bool no_preamble : {true, false}) {
SCOPED_TRACE(no_preamble);
nir_builder b = nir_builder_init_simple_shader(
MESA_SHADER_COMPUTE, &agx_nir_options, "agx3b mixed falu neg");
Comment on lines +9309 to +9310
}
}
@github-actions github-actions Bot added area:compiler Area from CODEOWNERS (bot) blast:m4 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Merge readiness at 38b967a0: not ready yet

Check Detail
CI at head no failing: selftest
Review ok approved by DjDeveloperr
Requested changes ok none
Hardware row at head ok comment at 38b967a0
Conflicts ok none
PR text ok Risk: two-way · M4 (AGX3B / G17P) and Apple Silicon Macs

Areas: area:compiler

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@github-actions github-actions Bot added the ci-failing A check failed at the PR head (bot) label Dec 1, 2026

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The modifier-fold checks preserve the supported mixed forms, and the added legalization covers half uniforms materialized after the first pass. The tests check both operand orders and the affected packer forms. Merge still needs an exact-head AGX3B hardware row.

@github-actions github-actions Bot removed the needs-review No approving review from Core or Omarchy Mac yet (bot) label Dec 1, 2026
@RyanTheTide

Copy link
Copy Markdown

Row: 38b967a0e3d1 + J700 (MacBook Neo, A18 Pro, G17P B1) + PASS: 0 regressions vs base, 0 GPU faults.

This covers the on-hardware G17P item under Not yet.

  • Setup: two ICDs cross-built from this head and from its parent a4153c8fefd6 (aurora-wip) with the same meson options, run on the same boot through VK_DRIVER_FILES only (no install, no reboot). Kernel 7.3.0-aurora-edge, SELinux Enforcing.
  • VK-GL-CTS, base vs PR (8628 cases):
    • spirv_assembly.instruction.{compute,graphics}.float16.*: 2561/2561 pass
    • glsl.builtin.precision_fp16_storage{16,32}b.*: 539/659 pass
    • spirv_assembly.instruction.compute.float_controls.*: 1355/2569 pass
    • compute.pipeline.basic.* + glsl.operator.binary_operator.*: 2838/2839 pass
    • The rest are not supported, and 0 fail.
  • Base vs PR: every case has the same status on both (7293 Pass -> Pass, 1335 NotSupported -> NotSupported).
  • Kernel log during the run: 0 GPU faults, timeouts or recoveries.

The red CI checks aren't part of this row.

@github-actions github-actions Bot removed the needs-hw-row No hardware row at the PR head (bot) label Dec 1, 2026

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rechecked the merge of aurora-wip. It was conflict-free, the PR diff has the same stable patch ID, and the new base contains the fix for the policy selftest fixture. The J700 CTS row at 38b967a carries forward. J773g FP16 CTS is the remaining shared-compiler control.

@RyanTheTide

Copy link
Copy Markdown

Re-row at exact head aa96721c (moved since my earlier row): PASS, 0 regressions, 0 GPU faults. Base d1c183b2 (merge-base with aurora-wip) vs PR, both cross-built from source and loaded through VK_DRIVER_FILES on the same boot (no install, no reboot).

Board Kernel VK CTS (same lists as my earlier row)
J700 Neo (G17P) 7.3.0-aurora-edge, Enforcing 7293 Pass→Pass, 1335 NotSupported, 0 Fail (f16 / precision fp16 / float controls / sanity)

@DjDeveloperr

Copy link
Copy Markdown

Merge train status at aa96721c6d70. The merge result on current aurora-wip bf62a48b5585 (tree 9068e2b1a49c, all four PR files unchanged) passed the Arm64 Asahi build and tests and the agent policy check. The J700 (G17P) row at this head covers the second generation.

Two items remain:

  • the same-boot FP16 CTS A/B on J773g (G16G) at this head (queued with the M4 lab);
  • an approval from someone other than the account that pushed the last merge commit.

@DjDeveloperr

Copy link
Copy Markdown

J773g (Apple M4 Mac mini, T8132, G16G B0, HAL200/AGX3B) exact-head same-boot VK CTS A/B row: PASS, 0 regressions, 0 GPU faults.

  • Kernel: stock 7.3.0-ARCH-m4main-6c83a2a6 (boot 8790680f-d460-4774-ac3f-9851eb624072)
  • Method: same-boot staged VK_DRIVER_FILES A/B (MESA_SHADER_CACHE_DISABLE=true, systemd-run -p MemoryMax=6G, verified via VK_LOADER_DEBUG=driver) across all 8,628 matching VK CTS cases:
    • dEQP-VK.spirv_assembly.instruction.{compute,graphics}.float16.* (2,561)
    • dEQP-VK.glsl.builtin.precision_fp16_storage{16,32}b.* (659)
    • dEQP-VK.spirv_assembly.instruction.compute.float_controls.* (2,569)
    • dEQP-VK.compute.pipeline.basic.* (81)
    • dEQP-VK.glsl.operator.binary_operator.* (2,758)
  • Base (d1c183b2c39e8be2a5ffd3b99c350c241b793725): libvulkan_asahi.so sha256 a60b904acfe2bb576cb8f87ae6474cea9597de2c30c6ad0371d426725390929d — 7,293 Pass, 1,335 NotSupported, 0 Fail (94 s)
  • Head (aa96721c6d707a922e9885738acc7829329a74d7): libvulkan_asahi.so sha256 7ee6985168fbf221a864a22ce7e328395ec12c628bb2e178024dbfde6c06f432 — 7,293 Pass, 1,335 NotSupported, 0 Fail (94 s)
  • Per-case diff: 0 diffs (7,293 Pass -> Pass, 1,335 NotSupported -> NotSupported).
  • GPU health (/sys/kernel/debug/aurora-g16/stats): failed 0, recoveries 0, hang_kills 0, affected_full 0, aborted 0.

@DjDeveloperr

Copy link
Copy Markdown

Local CI at the merge result: pass. Hosted Actions on this repo hasn't started a run since 00:15 UTC today. workflow_dispatch returns HTTP 422 "Actions has been disabled for this repository". Under the 12-02 hosted-CI override, I ran the asahi.yml build-test job myself on the exact tree a merge lands.

Tree: head aa96721c6d70 merged onto aurora-wip 51140326c274 (just after #1508, which also touches agx_compile.c) with git merge-tree --write-tree (clean) gives tree c8b0d62161fa79dfbbaf02ef3589fb5027e15fdf.

Where How Result
arm64, the CI runner type Tree published unchanged as ci/head-1476-a37721d5 on DjDeveloperr/mesa (tree SHA checked), running the same asahi workflow on ubuntu-24.04-arm with fedora:44 and clang 22.1.8 run 46846966988: 384 OK, 0 failed, 1 skipped
x86_64 (pc) Image built from .github/ci/Containerfile.mesa (fedora:44 @sha256:297110ca…), then bash .github/ci/mesa-arm64.sh unchanged 384 OK, 0 failed, 1 skipped
x86_64 (pc), aarch64 float and char rules The same script with CFLAGS/CXXFLAGS="-march=x86-64-v3 -funsigned-char", which adds FMA contraction and unsigned char 384 OK, 0 failed, 1 skipped
Agent policy aurora-agent-policy on the same fork ref pass

The same three runs also passed on the previous base b62056a4ec41 (arm64 run 46844849435, 384/0/1). The script runs meson setup build -Dgallium-drivers=asahi -Dvulkan-drivers=asahi -Dplatforms=wayland,x11 -Dbuild-tests=true -Dtools=drm-shim, then meson compile -C build and meson test -C build --suite asahi --suite poly --num-processes $(nproc) --print-errorlogs. The one skip is hk-g17p-cross-queue (exit 77), the same as at the aurora-wip tip.

The ci-failing label is stale. It was added at 12:15 UTC on 12-01, when the head was 38b967a0e3d1, because of the aurora-agent-policy selftest there. build-test passed at that head. No hosted run ever reached aa96721c6d70, and agent policy passes on today's merge tree, so I'm removing the label.

DjDeveloperr approved this head, the J773g same-boot VK CTS A/B passed at it (8,628 cases, 0 diffs, 0 faults) and a J700 exact-head row exists. Merging with admin under the override.

@DjDeveloperr DjDeveloperr removed the ci-failing A check failed at the PR head (bot) label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:compiler Area from CODEOWNERS (bot) blast:m4 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants