Repository navigation
asahi: admit the M4 Max (T6041) as G17P - #156
Closed
AxxzyWasTaken wants to merge 1 commit into
Closed
AxxzyWasTaken wants to merge 1 commit into
AxxzyWasTaken wants to merge 1 commit into
Conversation
The M4 Max runs the M4 Pro's 25G83 firmware build on the G17 kernel runtime with four GPU clusters. Admit chip 0x6041 (variant C) with four clusters, and give the USC window's base page helper tables for clusters 2 and 3: the container lead only holds two.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The M4 Max (T6041) runs the M4 Pro's 25G83 GPU firmware build on the same G17 kernel runtime, with four GPU clusters instead of two. Today
agx_chip_from_paramsmaps chip0x6041(variantC) to G16C andagx_params_driver_supportedrefuses it, so neither GL nor Vulkan comes up on an M4 Max.This admits
0x6041as G17P when the kernel reports the AGX3 USC and HAL 200, with four clusters (a binned part keeps four), and gives the USC window's base-page helper tables entries for clusters 2 and 3: the container lead only holds two.It is the admission part of #85. That PR also carries a Gen9 linear PBE pitch change, Rusticl local-memory checks and drm-shim coverage, which this leaves out. The same change, on an older
aurora-wip, has been in daily use on a J616C since 30 Oct.Testing, MacBook Pro 16" M4 Max (J616C, T6041), GPU firmware 25G83
aurora-wip05ddb00fplus this commit only, built with GL (gallium asahi), Vulkan and the overlay layer. The kernel reports chip0x6041, 4 clusters, AGX3, HAL 200.meson testwith-Dbuild-tests=true: 120 passed, 0 failed.aosp_mustpass/main, surfaceless pbuffer 256x256, every 4th case, 4 jobs, no GPU recoveries):The GLES3.1 failures are spread over shader built-ins and implicit conversions, SSBO layouts, sampler indexing and texture gathers. The downstream GL tree this machine ran before failed 5, 12 and 190 of the same cases, and 183 of the 185 here. The 2 flakes are sample-mask cases that pass alone, 3 of 3, on both drivers.
aurora-tilesubmit: 0 differing texels, native and as an x86-64 build under FEX.vulkan-msaa-mrtsweep: 8,748 of 8,748 cases pass with compression on.aurora-wipbase.Not tested: the 14" M4 Max (J614C), the binned 32-core part, and the 25F84 firmware that #525's kernel admits.