Repository navigation
drm/asahi: m3: define extended recovery layout constants locally - #3089
Conversation
PR #2676 moved the G16 recovery offsets per-ABI into FirmwareData and removed the fixed SNAPSHOT, SNAPSHOT_ENTRIES, GENERATION and PHASE constants from g16/recovery/logic.rs. m3_recovery.rs imports that shared logic module via #[path] and used those four 26.6.2 extended baseline constants to compute its shifted RecoveryOffsets, breaking the M3 Rust build and m3-recovery-tests.py with E0425. Define the four 26.6.2 extended baseline constants directly in m3_recovery.rs so M3 no longer depends on G16 layout constants. Fixes: 0c4e19d ("Merge pull request #2676 from aurora-silicon/djdev/g16-272") Signed-off-by: Diljit Singh <[email protected]>
|
Verdict at 5de20eb: no blocking findings. What I checked:
Not blocking: the CI ( |
RyanTheTide
left a comment
There was a problem hiding this comment.
Independent source review at 5de20ebf39e5. I compared the four displaced definitions against the pre-#2676 source. Their Rust types and values match, and the patch keeps the existing M3 recovery call sites. The delta is confined to one M3 source file, and git diff --check passes.
This clears the source review for the build repair. Attach the current hosted host tests and fleet-config Rust compile, plus the ordinary J615 current-tip GPU smoke when the existing Air slot publishes it. That distinguishes this compile fix from the earlier frozen fleet89 source.
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
Merge aurora/main (c6d73b1) to pick up aurora-silicon#1798, aurora-silicon#2309, aurora-silicon#2691 and aurora-silicon#3089. Conflict in arch/arm64/boot/dts/apple/t8152-j873g.dts: keep both the t8152-j873-thermal.dtsi include from aurora-silicon#1798 and t8152-j873-usb4.dtsi. Signed-off-by: Thomas Glanzmann <[email protected]>
What: Define the four 26.6.2 extended FirmwareData recovery layout constants (
EXTENDED_SNAPSHOT,EXTENDED_SNAPSHOT_ENTRIES,EXTENDED_GENERATION,EXTENDED_PHASE) directly indrivers/gpu/drm/asahi/m3/m3_recovery.rsafter #2676 moved G16's offsets per-ABI out ofg16/recovery/logic.rs.Tested:
5de20ebf39e5(no runtime change; identical constant values0x40b8,448,0x4fa0,0x4fb0):tools/asahi/run-host-tests.py --only m3PASS andtools/testing/selftests/drivers/gpu/asahi-m4/run-host-tests.pyPASS.Risk: two-way · M3 GPU recovery compile-time constant definitions only; fixes
mainM3 Rust build andhost-testsE0425 regression from0c4e19dfdde7.Not yet: waiting on CI (
host-testsandrust-build) to complete and merge.