qcs6490: VP9 fix backported from mailing list#9055
Conversation
WalkthroughRestricts the VP9 EOS quirk to IRIS2 cores by replacing the previous IS_V6-based condition with an IRIS2-specific check; sends a NULL EOS address only when running on IRIS2 with firmware ≤ 1.0.87, preserving the non-zero dummy address for other cores. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
patch/kernel/archive/qcs6490-6.18/0050-6.18-VP9-Fix.patch (1)
24-24: Minor typo: missing space after comma.Line 24 has "IRIS2 (SM8250),for firmware" - missing space after the comma.
Apply this diff to fix the formatting:
- /* Send NULL EOS addr for only IRIS2 (SM8250),for firmware <= 1.0.87. + /* Send NULL EOS addr for only IRIS2 (SM8250), for firmware <= 1.0.87.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
patch/kernel/archive/qcs6490-6.18/0050-6.18-VP9-Fix.patch(1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: SuperKali
Repo: armbian/build PR: 8608
File: lib/functions/compilation/patch/drivers_network.sh:361-363
Timestamp: 2025-09-11T06:06:52.328Z
Learning: For the RTW88 SDIO RF path detection fix patch (004-rtw88-sdio-rf-path-detection-fix.patch), SuperKali prefers using exact version matching (eq 6.1 || eq 6.16) rather than range checks, as the patch has only been tested on those specific kernel versions and may be mainstreamed soon.
📚 Learning: 2025-09-11T06:06:52.328Z
Learnt from: SuperKali
Repo: armbian/build PR: 8608
File: lib/functions/compilation/patch/drivers_network.sh:361-363
Timestamp: 2025-09-11T06:06:52.328Z
Learning: For the RTW88 SDIO RF path detection fix patch (004-rtw88-sdio-rf-path-detection-fix.patch), SuperKali prefers using exact version matching (eq 6.1 || eq 6.16) rather than range checks, as the patch has only been tested on those specific kernel versions and may be mainstreamed soon.
Applied to files:
patch/kernel/archive/qcs6490-6.18/0050-6.18-VP9-Fix.patch
🔇 Additional comments (2)
patch/kernel/archive/qcs6490-6.18/0050-6.18-VP9-Fix.patch (2)
1-12: LGTM! Clear patch metadata.The patch metadata follows standard git format, and the subject/description clearly explain the fix scope and rationale.
29-32: IS_IRIS2 macro is defined in kernel 6.18 Venus driver.The change from
IS_V6toIS_IRIS2correctly restricts the EOS quirk to IRIS2 cores only. TheIS_IRIS2macro is defined indrivers/media/platform/qcom/venus/core.has a vpu_version check and is used throughout the Venus driver in 6.18, including in hfi_venus.c and core.c.
e3cd5c5 to
ff0d043
Compare
rebase done, thus dropping the merge commit. I assume that's what you were looking for? Or do you want to further squash the remaining two commits into 1? |
Nice but yeah we don't need this as two commits when merged it should be merged as one with reference to the PR |
|
✅ This PR has been reviewed and approved — all set for merge! |
Description
Upstream Venus driver has a broken implementation regarding VP9 playback. After reporting it to qcom this patch was proposed in the LKML.
Please squash merge this PR
Test
V4L2VideoDecoderChecklist:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.