Repository navigation
drm/imagination: use live GPU performance rows on J85 - #38
theChristopher16 wants to merge 2 commits into
Conversation
The J85 ADT reports GPU clocks and voltages that differ from the J71 fallback. Read an explicit operating-points-v2 table populated by m1n1 at each boot and reject missing or malformed rows before touching PMGR or loading firmware. Other A7 nodes keep their existing measured fallback until they supply their own table. Assisted-by: LLM
Give the J85 GPU its own m1n1 alias and empty operating-points-v2 table. m1n1 fills the boards six powered states from the current boots SGX ADT before the driver probes. Enable the GPU node on this board, which has its own G3 firmware recipe and measured live rows. Assisted-by: LLM
|
Read-only J85 evidence from the currently installed local
The running kernel logged |
ricktav
left a comment
There was a problem hiding this comment.
Heads-up so we don't duplicate work on the J85 GPU.
On the J71 (same S5L8960X / G6430) the GPU desktop runs on an installed kernel with #30 (two alternating compute records), OrchardLinux/mesa#25 (desktop through pco + Zink) and OrchardLinux/omarchy-a#148 (GSK_RENDERER=vulkan). Web and Chromium each ran an hour on it on 1 GB with no GPU faults. Status and measurements are in docs/bring-up/gpu/a7-g3.md (OrchardLinux/orchard#351, #400).
Our plan is to port that stack to the J85 next, by a route that doesn't wait on m1n1:
- read the J85's GPU perf rows from its ADT once and put them in the J85 device tree as fixed values, as the J71's are, instead of having m1n1 populate the OPP table at each boot;
- package the J85 G3 firmware (the orchard#305 recipe);
- install the same kernel layer and mesa#25 on the J85, then run the desktop and the same soak.
We'll post the J85 rows, the build and the device results here, so they can be compared with the live-row approach in this PR. If the rows turn out to differ between boots or units, the live-row route is the right one, and we'll say so.
🤖 Generated with Claude Code
|
Thanks for the coordination. I’ll avoid a competing J85 kernel port and focus on device evidence for this series. Our J85 currently runs a local |
|
Additional J85 runtime evidence from our local During a normal touch/app interaction after about 29 minutes of that GPU login, the user reported a frozen screen. The kernel had logged repeated This is not an exact match for #30's J71 compute-only lost-record signature: both engines timed out here, and the J85 compute mirror and finish stamps had both reached the prior sequence. The clock-transition timeouts preceded the hang, but causation is not established. This may be worth checking when comparing this PR's live OPP route with the fixed-row J85 port. No raw device identifiers, firmware or addresses are included. The Mesa-side status correction is here. |
|
J85 hardware follow-up to the earlier This boot also used the existing driver parameter This is a short J85 functional result, not a claim of long-run stability or an exact-head validation of #38. The staged fixed-state setting is a diagnostic and should be compared against a later controlled boot before changing shared policy. I did not apply or test linux#70 on J85. The Mesa-side bounded result and responsiveness limit are here. |
|
J85 result from the J71 route (the follow-up to my earlier note): one RAM boot of a second J85 (iPad mini 2 Wi-Fi), kernel = our A7 tree (a7/features) with the J85 The rows differ per unit, not just per board. This J85's ADT
Frequencies are the same on all three; the voltages are not, even between two J85s. That suggests iBoot fills the rows per chip (binning), so a fixed table in the driver is only right for the unit it was read from. That is an argument for this PR's live-row route over the fixed J71 table we carry for the A7. I did not check whether m1n1's OPP rows and the Everything else matched the J71: the GPU bridge settings (pmgr bridges 0-13) are identical, CORE_REVISION 0x00014600 / CORE_ID 0x011b0403, and the same Results, this J85, powervr with the J85's own rows (900/937/1000 mV) written into the firmware's platform data:
Not tested: graphics or a desktop (compute payload only), long runs, and whether the firmware applies the mV values itself. No device identifiers, firmware or ADT files included. |
|
RAM-boot result for both patches from this PR on a third J85 (iPad mini 2 Wi-Fi), with devfreq left on. Kernel: Live OPP rows (from
All six frequencies match both earlier reports. Levels 1, 2, 4 and 5 match theChristopher16's J85 at 937/965 mV. Levels 3 and 6 match ricktav's J85 at 1000 mV (theChristopher16 reported 1031 mV). So three J85s give three different row sets, which supports reading the rows live instead of carrying a fixed table. Probe (boot 1):
Vulkan (boot 2): The same kernel and DTB ran an offscreen 64x64 triangle through Mesa #25 ( These results come from two short sessions, with one draw and one readback. They say nothing about long runs, the desktop or devfreq under sustained load. |
J85's live ADT GPU performance rows differ from the J71 fallback. For a GPU node with an explicit operating-points-v2 table, read the six powered rows supplied by m1n1 and reject a missing or malformed table before mapping PMGR or loading firmware. The J85 device tree supplies the GPU alias and table and enables its GPU node. Nodes without the property retain their existing measured fallback.
Validation so far:
orchard build.git diff --check; their exact build is in progress.This needs the matching m1n1 GPU OPP population (currently pinned at
00cd20ea0343b66e77e1e5310f35fff49ce14aaa), J85-specific G3 firmware packaging, and a companion Orchard device-catalog update. See OrchardLinux/orchard#305 for the board firmware recipe. I will update this PR with the exact build and device results.