Repository navigation
FROMLIST: drm/msm/a6xx: fall back to MX when gmxc.lvl has no levels - #2424
Rajesh Kemisetti (quic-rajeshk) merged 1 commit into
Conversation
|
Change Requests Validation Check No CR numbers found in the pull request description. Please add CR numbers in the format: Example: |
Topic branch CI failed — tree reproductionThis branch is not built on its own. CI rebuilds the whole
Rebuild the exact treemkdir qcom-topic-repro && cd qcom-topic-repro
# 1. Topic config, at the exact commit this run used
git clone https://github.com/qualcomm-linux/kernel-config.git
git -C kernel-config checkout 522ebaa25735da8e765c07595b6f729544e1efa6
# 2. Scratch tree; ci-merge resets it to the baseline named in the config
git clone https://github.com/qualcomm-linux/kernel.git
# 3. automerge tooling, same branch CI uses
git clone --branch sha_config_yaml https://github.com/sgaud-quic/automerge.git
# 4. Override only this topic with the PR head
cp kernel-config/qcom-next.yaml qcom-next-pr.yaml
# In qcom-next-pr.yaml, under the entry for 'tech/mm/gpu', set:
# sha: 553750730cca839c0e65d03ecb72b5d446f5b89d
# tag: null
# Repeat for every branch named by a 'Depends-on:' line in the PR body.
# 5. Reassemble the tree
cd kernel
git config user.email you@example.com
git config user.name "Your Name"
../automerge/ci-merge --yaml-config ../qcom-next-pr.yaml \
-t head -i qcom-next \
-c https://github.com/qualcomm-linux/kernel-rrcache \
-n -p | tee ../merge.log
# 6. Merge this PR on top, as CI does
git fetch https://github.com/qualcomm-linux/kernel-topics.git pull/2424/head:pr-2424
git merge pr-2424
# 7. Confirm the tree matches the run
grep '^Merge successful' ../merge.log
git log --oneline -1The run log for the failed stage contains the same Note: automerge and the rerere cache are tracked by branch, not pinned, so a |
🔨 Build Failure Analysis — PR #2424PR: #2424
VerdictThis is not a build failure caused by PR #2424. The failure occurred during the automerge phase when integrating the 📎 Detailed analysis: Full report |
🔨 Build Failure Analysis — PR #2424PR: #2424
VerdictThe build failure is NOT caused by this PR. The failure occurred during the automerge phase when integrating the 📎 Detailed analysis: Full report |
PR #2424 — validate-patchPR: #2424
Final Summary
|
PR #2424 — checker-log-analyzerPR: #2424
Detailed report: Full report
|
|
Change Requests Validation Check No CR numbers found in the pull request description. Please add CR numbers in the format: Example: |
Eliza's command DB has a gmxc.lvl entry with an all-zero level table, though Eliza does not use a GMxC rail. a6xx_gmu_rpmh_votes_init() picks any gmxc.lvl entry as the GX secondary rail, so building the GX votes fails, a6xx_gmu_init() ignores the error and the GMU gets a zeroed GX vote table. On the A722 the first GX_BW_PERF_VOTE HFI then times out and the GPU stops responding. Before a6xx_gmu_rpmh_read_arc() began trimming trailing zero levels, every GX vote silently used level 0. Read gmxc.lvl with a6xx_gmu_rpmh_read_arc(), which rejects an entry without levels, so the GX votes fall back to mx.lvl. Fixes: b5269bf ("drm/msm/a6xx: Factor out RPMh arc-vote helpers") Signed-off-by: Tyler Baker <tyler.baker@oss.qualcomm.com> Signed-off-by: Lokesh Kumar <lok@qti.qualcomm.com> Link: https://lore.kernel.org/lkml/20261030192014.694393-1-tyler.baker@oss.qualcomm.com/
5537507 to
90687da
Compare
Topic branch CI failed — tree reproductionThis branch is not built on its own. CI rebuilds the whole
Rebuild the exact treemkdir qcom-topic-repro && cd qcom-topic-repro
# 1. Topic config, at the exact commit this run used
git clone https://github.com/qualcomm-linux/kernel-config.git
git -C kernel-config checkout 522ebaa25735da8e765c07595b6f729544e1efa6
# 2. Scratch tree; ci-merge resets it to the baseline named in the config
git clone https://github.com/qualcomm-linux/kernel.git
# 3. automerge tooling, same branch CI uses
git clone --branch sha_config_yaml https://github.com/sgaud-quic/automerge.git
# 4. Override only this topic with the PR head
cp kernel-config/qcom-next.yaml qcom-next-pr.yaml
# In qcom-next-pr.yaml, under the entry for 'tech/mm/gpu', set:
# sha: 90687dadc4a3ad177e73032a1ead7ee87f0254c6
# tag: null
# Repeat for every branch named by a 'Depends-on:' line in the PR body.
# 5. Reassemble the tree
cd kernel
git config user.email you@example.com
git config user.name "Your Name"
../automerge/ci-merge --yaml-config ../qcom-next-pr.yaml \
-t head -i qcom-next \
-c https://github.com/qualcomm-linux/kernel-rrcache \
-n -p | tee ../merge.log
# 6. Merge this PR on top, as CI does
git fetch https://github.com/qualcomm-linux/kernel-topics.git pull/2424/head:pr-2424
git merge pr-2424
# 7. Confirm the tree matches the run
grep '^Merge successful' ../merge.log
git log --oneline -1The run log for the failed stage contains the same Note: automerge and the rerere cache are tracked by branch, not pinned, so a |
🔨 Build Failure Analysis — PR #2424PR: #2424
Verdict0 of 1 errors are introduced by this PR; 1 is pre-existing. The PR changes ( 📎 Detailed analysis: Full report |
🔨 Build Failure Analysis — PR #2424PR: #2424
VerdictThis is NOT a compilation error. The build failed during the automerge/integration phase due to a merge conflict in 📎 Detailed analysis: Full report |
PR #2424 — validate-patchPR: #2424
Final Summary
|
PR #2424 — checker-log-analyzerPR: #2424
Detailed report: Full report
|
bc76399
into
qualcomm-linux:tech/mm/gpu
Carries Tyler Baker's upstream fix for a GMU GX_BW_PERF_VOTE HFI
timeout on platforms where gmxc.lvl is registered in cmd-db with an
all-zero level table (GMxC rail present but unwired, as on Eliza).
Eliza's command DB has a gmxc.lvl entry with an all-zero level table,
though Eliza does not use a GMxC rail. a6xx_gmu_rpmh_votes_init() picks
any gmxc.lvl entry as the GX secondary rail, so building the GX votes
fails, a6xx_gmu_init() ignores the error and the GMU gets a zeroed GX
vote table. On the A722 the first GX_BW_PERF_VOTE HFI then times out
and the GPU stops responding. Before a6xx_gmu_rpmh_read_arc() began
trimming trailing zero levels, every GX vote silently used level 0.
Read gmxc.lvl with a6xx_gmu_rpmh_read_arc(), which rejects an entry
without levels, so the GX votes fall back to mx.lvl.
Fixes: b5269bf ("drm/msm/a6xx: Factor out RPMh arc-vote helpers")
Signed-off-by: Tyler Baker tyler.baker@oss.qualcomm.com
Signed-off-by: Lokesh Kumar lok@qti.qualcomm.com
Link: https://lore.kernel.org/lkml/20261030192014.694393-1-tyler.baker@oss.qualcomm.com/
CRs-fixed: 4761426