On 11/25/2026 7:48 PM, [email protected] wrote:
Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [High] drm/bridge: analogix_dp: redundant AUX probes in detect and
analogix_dp_bridge_notify()
- [Medium] drm/bridge: analogix_dp: bypassed HPD check and static poll
in analogix_dp_get_plug_in_status()
- [Medium] drm/bridge: analogix_dp: unsynchronized concurrent updates to
dp->connection_notified
- [Medium] drm/bridge: analogix_dp: late hpd_notify_mode init leaves HPD
IRQ enabled on suspend
--
commit 2e833b8add367c84281267efb779f7ba405e5a0d
Author: Damon Ding <[email protected]>
drm/bridge: analogix_dp: Handle HPD notification from downstream bridge
This commit adds an hpd_notify_mode for pipelines where a downstream bridge
provides HPD notifications without detection, muting native HPD interrupts
and probing the sink over AUX to cache and report connection status.
Link: https://lore.kernel.org/all/5609825.iZASKD2KPV@diego/
On using the DPCD probe in v7 instead of trusting the reported status:
this follows other drivers using this notify mechanism, e.g. msm_dp
reads the AUX link status in .hpd_notify rather than the passed
status, and the real sink state is what the controller needs.
Finding 1: will be fixed in v8. analogix_dp_bridge_detect() will
return the cached dp->connection_notified instead of probing the
sink, so the probe only happens once in analogix_dp_bridge_notify().
Finding 2: will be fixed in v8. analogix_dp_probe_sink() will be
used in analogix_dpaux_wait_hpd_asserted() to make sure the sink
state.
Finding 3: will be fixed in v8. The detect path will not call
analogix_dp_probe_sink() anymore and will use the cached result
instead, so there is no concurrent update.
Finding 4: will be fixed in v8 by the "Manage pm runtime and IRQ for
native HPD pin detection" patch, which drops all the IRQ operations
from analogix_dp_suspend() and analogix_dp_resume().
The v8 will come soon.
Best regards,
Damon