Repository navigation
DRAFT: Deslop the M4 Support - #24
Merged
Merged
Conversation
This reverts commit 0b9f8ad. Replace the fork-specific changes to the M3 initialization path with upstream m1n1 T8132 support and its aperture-count width fix in the following commits. Signed-off-by: Cody Ho <codyho@stanford.edu> Assisted-By: LLM
Verified tz_regs and the enable mechanism of t8132 are the same as t6030. The global_base and dcs_* are unconfirmed, because I do not know how to test it. Add an mcc_init_m4 function, which uses the correct reg_offset, and reads the mcc_count from amcc_aperture_count since extra trailing regs break the reg_len based estimation. The mcc_init_m4 function also checks amcc-count as a fallback to amcc_aperture_count in preparation for t8140 and t6041 support. They can later be added using the same mcc_init_m4 path, but with a new to-be-written mcc_init_t6041 function and a different reg_offset. Signed-off-by: Yureka <yureka@cyberchaos.dev> (cherry picked from commit d7df51a586a82f8fed9344cb1646ac5a8aee32ed) Signed-off-by: Cody Ho <codyho@stanford.edu> Assisted-By: LLM
T8132 supplies a 32-bit aperture count, which the 64-bit property read rejects. Accept either width and zero-extend 32-bit values. Require the expected size for plane and DCS count properties, including rejecting negative ADT_GETPROP errors. Signed-off-by: Ramzi Abdiche <abdicheramzi@gmail.com> (cherry picked from commit a6a2a30ae144da34d07254bfabb6f90baae03d22) Signed-off-by: Cody Ho <codyho@stanford.edu> Assisted-By: LLM
ADevWithAnIdea
marked this pull request as draft
November 15, 2026 11:47
Contributor
|
Tested, works on M4 Air and mini |
ADevWithAnIdea
force-pushed
the
PR_m4_deslop
branch
from
November 16, 2026 09:30
0793fcd to
0028e1f
Compare
Based on Sven's patches for T6040 support except we read cluster bases from the ADT instead of hard coding them. Also revert the original cpufreq patchset. Co-Authored-By: Sven Peter <sven@svenpeter.dev> Signed-off-by: Cody Ho <codyho@stanford.edu> Assisted-By: LLM
ADevWithAnIdea
force-pushed
the
PR_m4_deslop
branch
from
November 16, 2026 09:36
0028e1f to
dc36377
Compare
ADevWithAnIdea
marked this pull request as ready for review
November 16, 2026 09:37
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.
No description provided.