Skip to content

drm/msm/dp: Skip IRQ_HPD handling when PHY is off - #2425

Open
Naidu Nama (namanaidu) wants to merge 1 commit into
qualcomm-linux:tech/mm/drmfrom
namanaidu:skip_irq
Open

Naidu Nama (namanaidu) wants to merge 1 commit into
qualcomm-linux:tech/mm/drmfrom
namanaidu:skip_irq

Conversation

@namanaidu

@namanaidu Naidu Nama (namanaidu) commented Nov 30, 2026 •

Copy link
Copy Markdown

When DP is plugged, IRQ_HPD is delivered when PHY is in uninitialized state, In this case avoid runtime-resuming the controller and attempting AUX access for an already-plugged, while the PHY is uninitialized state.

CRs-fixed: 4736670

When DP is plugged, IRQ_HPD is delivered when PHY is in uninitialized
state, In this case avoid runtime-resuming the controller and
attempting AUX access for an already-plugged, while the
PHY is uninitialized state.

Signed-off-by: naidu nama <naidu.nama@oss.qualcomm.com>
@qswat-orbit-external

Copy link
Copy Markdown

Change Requests Validation Check

No CR numbers found in the pull request description.

Please add CR numbers in the format: CRs-fixed: {number} (one per line).

Example:

CRs-fixed: 12345
CRs-fixed: 67890

@qcomlnxci
qcomlnxci requested review from a team, Rajesh Kemisetti (quic-rajeshk) and riteshk-quic and removed request for a team November 30, 2026 07:15
@qswat-orbit-external

Copy link
Copy Markdown

Dev Completion validation failed

CR: 4736670
Change Task: kernel.qli.0.0
Error: GenAI Assisted field must be set before moving change tasks to Development Complete. Please provide GenAI information.

The change task for this CR could not be moved to Dev Complete because of the error above. Please resolve the issue in Orbit and re-run the failed Orbit check.

@qlijarvis

Copy link
Copy Markdown

PR #2425 — validate-patch

PR: #2425

Verdict Issues Detailed Report
❌ 5 Full report

Final Summary

  1. Lore link present: No — no lore.kernel.org link found in commit message; no commit prefix to indicate source/status
  2. Lore link matches PR commits: N/A — no lore link to compare against
  3. Upstream patch status: Unknown — cannot determine without lore link or commit prefix; appears to be a new fix
  4. PR present in qcom-next/topics: Partial - 1/1 commit(s) only have partial integration evidence
Verdict: ❌ — click to expand

🔍 Patch Validation

PR: #2425 - drm/msm/dp: Skip IRQ_HPD handling when PHY is off
Upstream commit: N/A
Verdict: ❌ FAIL

Commit Message

Check Status Note
Subject matches upstream N/A No lore link to compare against
Body preserves rationale ⚠️ Grammar issues: "when PHY is in uninitialized state" (missing article), "for an already-plugged" (incomplete phrase)
Fixes tag present/correct ❌ Missing - this appears to be a bug fix but has no Fixes tag
Authorship preserved N/A No upstream source to verify
Backport note (if applicable) N/A Not a backport

Diff

File Status Notes
drivers/gpu/drm/msm/dp/dp_display.c ⚠️ Code change appears reasonable but cannot verify against upstream

Issues

Critical:

  1. No lore link present - The commit has no Link: tag pointing to lore.kernel.org, and no commit prefix (UPSTREAM:, FROMLIST:, BACKPORT:, QCLINUX:, etc.) to indicate the source or status of this change.

  2. Missing Fixes tag - This is clearly a bug fix (skipping IRQ_HPD handling to avoid issues when PHY is uninitialized), but lacks a Fixes: tag to identify which commit introduced the issue.

  3. Commit message grammar issues:

    • "when PHY is in uninitialized state" → should be "when the PHY is in an uninitialized state"
    • "for an already-plugged, while the PHY is uninitialized state" → incomplete/unclear phrase
  4. Integration presence: PARTIAL - According to integration_presence_report.md, this commit shows only "partial" evidence in qcom-next (subject or partial tree evidence found, but full change not verified). This suggests the change may exist in a different form or is incomplete.

Recommendations:

  • Add appropriate commit prefix (QCLINUX: if vendor-only, FROMLIST: if posted upstream, UPSTREAM: if merged)
  • Add Link: tag if this was posted to or merged from upstream
  • Add Fixes: tag identifying the commit that introduced the bug
  • Fix grammar in commit message body
  • Verify why integration presence shows "partial" - the change may need reconciliation with existing code in qcom-next

Verdict

Do not merge - Missing required metadata (commit prefix, lore link or justification for absence, Fixes tag), commit message needs grammar fixes, and integration presence is only partial suggesting potential conflicts or incomplete implementation.

Final Summary

  1. Lore link present: No — no lore.kernel.org link found in commit message; no commit prefix to indicate source/status
  2. Lore link matches PR commits: N/A — no lore link to compare against
  3. Upstream patch status: Unknown — cannot determine without lore link or commit prefix; appears to be a new fix
  4. PR present in qcom-next/topics: Partial — integration_presence_report.md shows "partial - subject or partial tree evidence found, but full change was not verified" (0/1 fully present, 1/1 partial)

Deterministic Integration Presence

Integration Presence Report

This report is generated by Jarvis before validate-patch runs.
It is the authoritative source for whether PR changes are already present
in qcom-next or in the kernel topic branches.

Kernel repo: /local/mnt/workspace/sgaud/Qgenie/image_pipeline/kernel
qcom-next ref: 8fffe4778122b8d4fac6dd8396a2de99e05be00f
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/1 [PATCH] drm/msm/dp: Skip IRQ_HPD handling when PHY is off partial - subject or partial tree evidence found, but full change was not verified missing - no subject, patch-id, or full tree-content match found partial

Final Status

overall_status: PARTIAL
present_commits: 0/1
partial_commits: 1/1
missing_commits: 0/1
topics_checked_for_commits: 1/1
final_summary: PR present in qcom-next/topics: Partial - 1/1 commit(s) only have partial integration evidence

@qlijarvis

Copy link
Copy Markdown

PR #2425 — checker-log-analyzer

PR: #2425
Checker run: https://github.com/qualcomm-linux/kernel-config/actions/runs/46372374874

Checker Result Summary
Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ⏭️ Skipped (no DTS changes)
sparse-check ✅ No static analysis warnings
check-uapi-headers ✅ No UAPI/ABI issues
check-patch-compliance ❌ Missing subject prefix
tag-check ❌ Subject prefix required for tech/mm/drm branch

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #2425 - drm/msm/dp: Skip IRQ_HPD handling when PHY is off
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/46372374874

Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ⏭️ Skipped (no DTS changes)
sparse-check ✅ No static analysis warnings
check-uapi-headers ✅ No UAPI/ABI issues
check-patch-compliance ❌ Missing subject prefix
tag-check ❌ Subject prefix required for tech/mm/drm branch

❌ check-patch-compliance

Root cause: Commit subject does not start with a required prefix tag.

Failure details:

Checking commit: drm/msm/dp: Skip IRQ_HPD handling when PHY is off
Commit summary does not start with a required prefix

Analysis:

The PR targets branch tech/mm/drm, which is not qcom-next or qcom-next-staging. Per the kernel-topics workflow, all commits merged into topic branches must carry a subject-line prefix indicating the patch origin.

The commit subject is:

drm/msm/dp: Skip IRQ_HPD handling when PHY is off

This lacks any of the required prefixes:

  • FROMLIST: — patch posted to lore.kernel.org
  • FROMGIT: — patch taken from a maintainer git tree
  • UPSTREAM: — patch merged into Linus's mainline tree
  • BACKPORT: — upstream patch backported with modifications
  • QCLINUX: — vendor-only change with no upstream equivalent
  • PENDING: — work-in-progress, not yet posted upstream
  • WORKAROUND: — temporary fix not suitable for upstream

Fix:

  1. Determine the patch origin:

    • If this patch has been posted to the DRM mailing list → use FROMLIST:
    • If this is a vendor-specific fix not intended for upstream → use QCLINUX:
    • If this is work-in-progress → use PENDING:
  2. Amend the commit to add the prefix:

    git rebase -i <base_sha>   # mark commit as 'edit'
    git commit --amend -m "FROMLIST: drm/msm/dp: Skip IRQ_HPD handling when PHY is off"
    # (keep the rest of the commit body unchanged)
    git rebase --continue
  3. If using FROMLIST: or UPSTREAM:, also add a Link: trailer pointing to the lore.kernel.org URL in the commit body.

Reproduce locally:

cd kernel
git log --oneline <base>..<head>
# Verify subject starts with a valid prefix

❌ tag-check

Root cause: Subject prefix is mandatory for all branches except qcom-next/qcom-next-staging.

Failure details:

The PR targets tech/mm/drm, which requires every commit to carry a subject-line prefix tag. The commit:

b1024fbcee67 ("drm/msm/dp: Skip IRQ_HPD handling when PHY is off")

does not start with any of the required prefixes.

Fix:

Same as check-patch-compliance above — add the appropriate prefix based on patch origin.

Note: The tag-check and check-patch-compliance failures are related — both enforce subject-line prefix requirements, but check-patch-compliance only accepts upstream-linkable prefixes (FROMLIST:, FROMGIT:, UPSTREAM:, BACKPORT:), while tag-check also allows vendor-internal prefixes (QCLINUX:, PENDING:, WORKAROUND:).

If you choose QCLINUX: or PENDING:, the check-patch-compliance checker will still fail (known limitation), but the commit will be compliant with the broader tag-check policy.


Verdict

1 blocker must be fixed before merge:

The commit subject must be amended to include a valid prefix tag. Choose the prefix based on the patch's upstream status:

  • Recommended: If this patch will be (or has been) posted upstream → use FROMLIST: and add a Link: trailer
  • Alternative: If this is a vendor-only fix → use QCLINUX: (note: check-patch-compliance will still fail, but this is acceptable for vendor-only commits)

All other checkers passed cleanly.

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.

2 participants