Repository navigation
drm/apple: 27.2 variant: record the method-table confirmation from the 27.2.1 image - #2179
Draft
joshuaswarren wants to merge 1 commit into
Draft
joshuaswarren wants to merge 1 commit into
joshuaswarren wants to merge 1 commit into
Conversation
…image A static read of Apples public 27.2.1 restore image for this board (T6050) confirms the method layout the 27.2 table already had: same class layout, swap shapes unchanged (0xff4 request, 0x6e0 response). No ID changed, so no table value moved. The read also explains 27.3s one-higher IDs from set_display_refresh_properties up: the pbl fence-notify and swap-complete methods and the trace-source swap-wait parameter exist only in 27.3. On retarget to 27.2 the pbl fence-notify row is dropped (no 27.2 method) and the MemDescRelay thunk row stays on the offset basis (no symbol in the 27.2 image). Tag values remain firmware-side knowledge pending a 27.2 boot. Proved by: the driver objects build for arm64 at this head. Signed-off-by: Joshua Warren <816217+joshuaswarren@users.noreply.github.com>
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.
Tested only on macOS 27.3 beta (26C5035r) on a 14-inch M5 Max (K114c). The 27.2 version is untested: the lab has no 27.2 machine, and the values marked missing below cannot be confirmed without one.
A static read of Apple's public 27.2.1 restore image for this board (T6050) confirms the method layout the 27.2 table already had: same class layout, swap shapes unchanged (0xff4 request, 0x6e0 response). No ID changed, so no table value moved. On retarget to 27.2 the 27.3 pbl fence-notify row is dropped (no 27.2 method) and the MemDescRelay thunk row stays on the offset basis (no symbol in the 27.2 image).
Truly missing without a 27.2 machine: the 27.2 tag values (registered by the firmware, not the kernelcache) - the tag values are DERIVED, not booted: tag = base + index was verified across the full 27.3 set (32 methods; a single uniform +1 insertion shift, 7 methods, no contradictions), and the 27.2 values below/above the insertion point follow that derivation; a 27.2 boot trace remains the confirmation step; and any boot evidence: no 27.2 machine exists in the lab, so this PR is a draft.
Proved by: the driver objects build for arm64 at this head. This is the 27.2 sibling of #1816 (27.3), from the same code.