Skip to content

drm/agx: recognise the GPU firmware by its RTKit version - #114

Merged
henrikklee merged 1 commit into
mainfrom
agx-fw-version
Dec 2, 2026
Merged

henrikklee merged 1 commit into
mainfrom
agx-fw-version

Conversation

@henrikklee

Copy link
Copy Markdown

Found on the first XR GPU round (xr-audio): the loaded __TEXT hashed differently from the IPSW file ("GPU firmware not one this driver knows (__TEXT 40681a887a1750ed)"), because iBoot doesn't load the segment byte for byte; the right backend was picked only because 20g81 is the default. The driver now looks for the firmware's RTKit version string, which iBoot leaves unchanged: RTKit-2062.142.1.release (20G81) and RTKit-2413.42.1.release (21B91), one occurrence each in __TEXT (checked in both IPSW files), and logs it. SHA-256 dependency dropped. Checked: apple-16k kernel build, agx module, no warnings.

On the iPhone XR the loaded __TEXT did not hash to the IPSW file's
digest ("GPU firmware not one this driver knows"): iBoot does not load
the segment byte for byte. It still picked the right backend only
because 20G81 is the default. Look for the firmware's RTKit version
string instead, which iBoot leaves as it is: RTKit-2062.142.1.release
in 20G81, RTKit-2413.42.1.release in 21B91 (one occurrence each, in
__TEXT), and log it.

Assisted-by: LLM
Signed-off-by: Henrik Klee <henrik@goat-code.com>
@henrikklee
henrikklee merged commit 295f6a1 into main Dec 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant