Repository navigation
drm/asahi: prepare native defaults for supported M3 Air and Pro - #230
Conversation
Generated-by: LLM Signed-off-by: Chris Kearney <303316+chriskearney@users.noreply.github.com>
c693e78 to
8a31fe1
Compare
|
Final source/build check at 8a31fe1: no confirmed blocker in this four-file change. The only behavior change in T8122 startup is UNSET + existing admitted Air board → On. Explicit off and malformed values retain their prior behavior; downstream firmware/resource admission and the state-2 performance cap are retained. Existing G15 model/autoload boundaries are unchanged. The source includes #214/#183 and excludes #226–229. The full native production-recipe preview built successfully as 7.2.11.aurora7-230.1. Both packages and built PKGBUILD were independently rehashed. Image and headers configs match (f1bdda16b2b0069eb9c3e7fdcce85d3034b77db3badc0e2ef754d0a3640dc801); Rust/G15/T8122 and 16KiB pages are enabled. The real AArch64 Asahi module has matching vermagic and all 456 undefined symbols resolve against shipped Module.symvers. The production input/config/helpers are unchanged; only source pin and preview pkgrel differ. Nonfatal Rust/rustfmt and headers-helper strip diagnostics remain disclosed; external-module/DKMS execution was not tested. This is source/native-build evidence, not a new model boot or graphics qualification. The final aurora7-1 recipe is pinned in omacom/omarchy-pkgs#1622. Standard system Mesa is the intended RC path; experimental mesa-m3 login hooks are outside it. Package SHA256: kernel ff4ca6828a904acb8805c7331ee53dd81a3e6e0f6ccd110d6c6f129c1f1be0f6; headers 56bdfae8b58ab647d6f5b44b34a77919aed8a246cbbd670f870fbd4fa78d2775. |
scottjones
left a comment
There was a problem hiding this comment.
We read 8a31fe1 against Marcelo's list from #187. The start default looks right to us. With every knob unset, it gives exactly the values J613 has been running with: initdata 0x0c08e21e83800490, fender 0x104000, clkgen e1c, sgx_setup t6030, unit masks 0x700000003 and 0x7, pstate cap 2. That matches the armed line on our Air this boot, and t8122_start=0 still turns it off.
Three things before merge:
- The two runtime fixes need to land first. Marcelo asked for the one-start-per-boot latch and the "may have been published" packet flag in or before the switch-on. Without the latch, an unbind and rebind boots the firmware a second time on freed tables. We have both in #236, which touches only
m3_runtime.rs,m3_submit.rs, the batch policy and its host test, so it doesn't conflict with this. - G15=y is a separate decision. Since #204, the Air option no longer needs G15. With
CONFIG_DRM_ASAHI_G15=y, the M3 Pro/Max (J514S/J516S) move to the G15 backend, which Marcelo listed as its own decision. Could that be its own PR, so this one only switches on the Air? We resolved omarchy-pkgs' package config with thisasahi.config, both as is and without the G15 line, andvalidate-config.pyaccepts both. The only difference is G15 and the T6030 PMP link. - Stale text. Two strings still say the GPU starts only with
asahi.t8122_start=1: the T8122unportednote inm3_soc.rs, and "values given without asahi.t8122_start=1; ignored" inarm(), which now fires only with=0.
|
On point 2: we've since heard both paths have been tested, so keeping G15=y in this PR is fine with us. The other two points stand: #236 first, and the two stale |
Signed-off-by: Chris Kearney <303316+chriskearney@users.noreply.github.com>
6277f3d to
fc53911
Compare
The normal kernel build omits the T8122 and G15 GPU runtimes, so system Mesa alone cannot accelerate supported M3 models. Enable those runtimes and let an omitted T8122 startup parameter select the existing J613/J615 board policy. Explicit startup-off, invalid-parameter refusal, firmware/resource checks and the conservative state-2 cap remain intact.
Merge prerequisite: omacom/linux-aurora#236 must land first. It adds the one-start-per-boot latch and conservative packet-publication tracking requested in the runtime review. This PR remains held pending that dependency and review of the resulting composition.
G15 retains its existing J514S/J516S Pro admission and T6030-only autoload. Max still needs explicit loading and its existing display/model gates; Ultra admission is unchanged. Scott’s follow-up withdrew the request to split G15 enablement. Standard
mesa-aurora/vulkan-aurorapackages are the RC path; experimentalmesa-m3login hooks are outside it.At signed-off head
fc5391123e5ab821f6143456bab21a0dfe78784a(source tree unchanged by the sign-off correction), the old opt-in-only SoC note and disabled-start diagnostic now describe board defaults and explicitasahi.t8122_start=0. The adjacent SoC documentation is corrected too. This follow-up changes text only.Validation of the prior
8a31fe1856860fad834882729201855e758b45c8source:7.2.11.aurora7-1packages built. Actual Image/header configurations match, Rust/G15/T8122/16KiB are enabled, and the AArch64 Asahi module has matching vermagic with all 456 undefined symbols resolved in shipped Module.symvers.No new model boot, GPU, login, fresh-install or upgrade qualification is claimed here. Packaging is tracked in omacom/omarchy-pkgs#1622.