diff options
| author | Kuogee Hsieh <[email protected]> | 2021-04-21 23:37:35 +0000 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2021-05-06 23:26:01 +0000 |
| commit | d9aa6571b28ba0022de1e48801ff03a1854c7ef2 (patch) | |
| tree | 619a7df588e9e4d8544aa764dfffe568930801ac /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | drm/msm: fix minor version to indicate MSM_PARAM_SUSPENDS support (diff) | |
| download | kernel-d9aa6571b28ba0022de1e48801ff03a1854c7ef2.tar.gz kernel-d9aa6571b28ba0022de1e48801ff03a1854c7ef2.zip | |
drm/msm/dp: check sink_count before update is_connected status
Link status is different from display connected status in the case
of something like an Apple dongle where the type-c plug can be
connected, and therefore the link is connected, but no sink is
connected until an HDMI cable is plugged into the dongle.
The sink_count of DPCD of dongle will increase to 1 once an HDMI
cable is plugged into the dongle so that display connected status
will become true. This checking also apply at pm_resume.
Changes in v4:
-- none
Fixes: 94e58e2d06e3 ("drm/msm/dp: reset dp controller only at boot up and pm_resume")
Reported-by: Stephen Boyd <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Tested-by: Stephen Boyd <[email protected]>
Signed-off-by: Kuogee Hsieh <[email protected]>
Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
