Skip to content

phy: qcom: qmp-combo: select active DP TX block based on lanes - #1620

Open
quicmahap wants to merge 1 commit into
qualcomm-linux:qcom-7.3from
quicmahap:qcom-7.3-qmp-combo-active-dp-tx-20261203
Open

quicmahap wants to merge 1 commit into
qualcomm-linux:qcom-7.3from
quicmahap:qcom-7.3-qmp-combo-active-dp-tx-20261203

Conversation

@quicmahap

@quicmahap quicmahap commented Dec 3, 2026 •

Copy link
Copy Markdown

Summary

For Glymur's opt-in configuration, select TX0 for reverse orientation and TX1 for normal orientation when DP uses one or two lanes. Program both TX blocks for four lanes. Apply the same mask to DP TX initialization, voltage swing/pre-emphasis, default TX settings, PHY bias/driver enables, and TX synchronization reset programming. Other PHY configurations retain the existing two-block programming behavior.

The QMP combo PHY uses connector orientation to select the DP TX path in
reduced-lane modes. Avoid programming the inactive TX block when
DP uses fewer than four lanes.

Added a TX mask: select TX0 for reverse orientation and
TX1 for normal orientation in 1- and 2-lane modes, and select both
blocks for 4-lane mode. Apply the mask consistently to the DP TX
initialization table, drive and emphasis settings, and  PHY
configuration.

Keep the feature opt-in so other QMP combo PHY variants retain their
existing behavior.

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

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 47074764286 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 30 8 38

Test Matrix

Test Case kbdev-glymur-crd-multimedia
LAVA result ✅ Results
Audio_Card_Registration ✅ Pass
BT_FW_KMD_Service ✅ Pass
BT_ON_OFF ✅ Pass
BT_SCAN ✅ Pass
CPUFreq_Validation ✅ Pass
CPU_affinity ✅ Pass
DSP_AudioPD ⚠️ skip
Ethernet_Basic_Validation ⚠️ skip
Ethernet_Inventory_Validation ⚠️ skip
FastRPC_Runtime_Validation ❌ Fail
Freq_Scaling ✅ Pass
GIC ✅ Pass
IPA ✅ Pass
Interrupts ✅ Pass
KVM_Driver ✅ Pass
KVM_EL2_DTB ✅ Pass
KVM_Infra ✅ Pass
KVM_Runtime_Validation ✅ Pass
OpenCV ✅ Pass
PCIe ✅ Pass
Probe_Failure_Check ❌ Fail
RMNET ✅ Pass
UFS_Validation ⚠️ skip
USBHost ✅ Pass
WiFi_Firmware_Driver ✅ Pass
WiFi_OnOff ✅ Pass
adsp_remoteproc ✅ Pass
cdsp_remoteproc ✅ Pass
gpdsp_remoteproc ⚠️ skip
hotplug ✅ Pass
irq ✅ Pass
pinctrl ✅ Pass
qcom_hwrng ✅ Pass
remoteproc ❌ Fail
rngtest ✅ Pass
shmbridge ✅ Pass
watchdog ✅ Pass
wpss_remoteproc ✅ Pass
Failure summary

Unexpected failures

  • kbdev-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.
  • kbdev-glymur-crd-multimedia: remoteproc => fail.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: Ethernet_Inventory_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.
  • kbdev-glymur-crd-multimedia: FastRPC_Runtime_Validation => fail.
  • kbdev-glymur-crd-multimedia: DSP_AudioPD => skip.

Result: blocked because unexpected failures were found.

@qlijarvis

Copy link
Copy Markdown

LAVA Failed Case Triage Summary

PR: #1620

Job 308310 | SoC glymur-qli-crd

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/308310

Failed test cases in LAVA job 308310 (SoC: glymur-qli-crd).

  Case 1: ** remoteproc
  1. Failed case: ** remoteproc
  2. Root cause: ** The qcom_q6v5_pas driver for the soccp remoteproc (d00000.remoteproc) failed to retrieve the shutdown_state property during attach with error -EINVAL (-22). This is a non-critical property access failure during the late-attach flow for a subsystem that was already running (bootloader-started). The soccp subsystem successfully attached despite the error, and all remoteprocs (soccp, adsp, cdsp) are functionally operational. The test failure is triggered by the CI test's strict dmesg error scanning, not by actual functional failure.
  3. Possible fix: This is a pre-existing non-blocking warning unrelated to the PR under test (PHY QMP combo DP TX changes). The error indicates the device tree for glymur-qli-crd may be missing an optional qcom,shutdown-state property in the soccp remoteproc node. To eliminate the warning: add the qcom,shutdown-state phandle property to the d00000.remoteproc node in arch/arm64/boot/dts/qcom/glymur.dtsi, referencing the appropriate SMEM state. If the property is intentionally omitted for late-attach subsystems, update the qcom_q6v5_pas driver to suppress -EINVAL for optional properties during attach (vs. boot) flows.
  4. Detail analysis attachment: failed_case_job308310_1_detailed.md
  Case 2: Probe_Failure_Check — ASoC Component Register Access Failure
  1. Failed case: Probe_Failure_Check — ASoC Component Register Access Failure
  2. Root cause: Pre-existing non-fatal ASoC register access error (-EIO) in wsa_macro codec driver during sound card initialization on glymur-crd; the two WSA macro codecs (6c90000.codec and 6cb0000.codec) fail to update register 0x5dc during component initialization, but the audio subsystem completes initialization successfully and remains fully functional (Audio_Card_Registration test passed).
  3. Possible fix: This is a pre-existing platform/firmware issue unrelated to PR1620 (which modifies only PHY QMP combo DP TX logic); the Probe_Failure_Check test should be updated to classify this specific ASoC register access error as non-fatal when the audio card successfully registers, or the wsa_macro driver/DT/firmware configuration for glymur-crd should be investigated to resolve the register access failure at its source.
  4. Detail analysis attachment: failed_case_job308310_2_detailed.md
  Case 3: FastRPC_Runtime_Validation — dmesg error check failure (non-functional)
  1. Failed case: FastRPC_Runtime_Validation — dmesg error check failure (non-functional)
  2. Root cause: Test's dmesg error scanner detected a non-fatal remoteproc driver warning (qcom_q6v5_pas d00000.remoteproc: failed to get shutdown_state: -22) during ADSP probe. The warning indicates a missing optional device tree property; the driver continues successfully and ADSP/CDSP/FastRPC are fully functional. This is a pre-existing platform configuration issue unrelated to the PR (which modifies only DisplayPort PHY code).
  3. Possible fix: Add the optional qcom,shutdown-state property to the glymur ADSP remoteproc device tree node, or update the test's dmesg error filter to exclude this known non-fatal warning for glymur. The PR itself does not require changes.
  4. Detail analysis attachment: failed_case_job308310_3_detailed.md

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.

3 participants