Repository navigation
drm/asahi: admit 16-core T6040 GPUs by topology - #804
RyanTheTide merged 2 commits into
Conversation
Allow a configured alternate core-mask layout while keeping the measured 20-core T6040 path unchanged. The 16-core mask and ten slots per cluster have been observed on J614s; reuse of the 20-core command-buffer offsets remains experimental and emits a warning. Generated-by: LLM Assisted-by: LLM Signed-off-by: Michal S. <[email protected]>
|
Reviewed for the M4 merge train. Two things block a merge, neither about the change itself:
The code path looks right to me: the alternate layout is admitted only for the exact 0x3db/0x3db masks with two clusters of ten slots, the 20-core path and T8140 are unchanged, and the warning makes the experimental status visible. We have no 16-core M4 Pro here, so the J614s boot in the description is the hardware evidence. Once the two points above are done we'll put it in the next J616s no-regression boot and merge. |
c6665be to
60a113a
Compare
60a113a to
913e97d
Compare
|
Added the author sign-off and LLM disclosure, and retargeted this to |
RyanTheTide
left a comment
There was a problem hiding this comment.
Thanks for the retarget. One blocker is left: the second commit, 5233565 "drm/asahi: admit 16-core T6040 GPUs by topology", still has no Signed-off-by:. The first commit has the sign-off and the Generated-by/Assisted-by lines, but the second has no trailers at all, and checkpatch.pl reports "Missing Signed-off-by". Please add your sign-off to that commit, or squash the two into one signed commit, and push. We can't add a sign-off for you.
The code itself is ready to go. On our side:
- I built it in the shipping config (Fedora asahi base plus
asahi.config) on top ofintegration/aurora, alongside #817 and #821. The build is clean andW=1ondrivers/gpu/drm/asahi/gives no new warnings. alternatecan't be true on the 20-core M4 Pro: it needscores != active_cores, and on that chip they are equal. On T8140coresisNone. So the measured paths are unchanged.
Once the signed commit is up we'll merge it with a merge commit.
Recognize the experimental 16-core layout by its two clusters, ten slots per cluster and eight enabled cores per cluster. The actual mask bits remain device-specific and are checked against loader calibration. Keep the measured 20-core path and experimental warning unchanged in scope. The reused 20-core buffer offsets and context switching are not qualified. Generated-by: LLM Assisted-by: LLM Signed-off-by: Michal S. <[email protected]>
5233565 to
d6b05d7
Compare
|
Added the missing trailers to the second commit, now d6b05d7. Both PR commits now have Verified that the amended commit's source tree is identical to 5233565. Checkpatch on the format-patch output no longer reports a missing sign-off; its remaining error/warning concern the requested |
|
Merged, thanks. Re-gated on
|
A 16-core T6040 reports two clusters with ten core slots each, but the enabled-core mask can differ between chips. The previous admission required one exact mask pair, so it rejected other 16-core configurations.
Admit the experimental layout when the GPU reports two clusters, ten slots per cluster and eight enabled cores in each cluster. Use the hardware-reported masks and retain the loader calibration check when calibration is provided. The measured 20-core path and T8140 behavior are unchanged.
Two reported pairs are
0x3db, 0x3dband0x37b, 0x3db; only the first has been tested with this driver. The second is a reported topology, not a successful driver test.The 16-core path reuses the 20-core
TWO_BY_TENoperand-state andTWO_CLUSTERSdeflake layouts and emits a warning. Static inspection of the 25G83 reference driver's compute-channel initialization supports sizing the compute buffer by per-cluster slot width, but it does not independently establish the render offsets or qualify context switching.Validation
24bfd5ba2c182bf67d40c7d02f4947d124f04fa4. The J614s booted it, the topology warning appeared, and the owner reported the system worked. The tested kernel includes other J614s integration changes; it is not a build of this standalone PR branch.