diff options
author | Kuogee Hsieh <[email protected]> | 2021-04-21 16:37:35 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2021-05-06 16:26:01 -0700 |
commit | d9aa6571b28ba0022de1e48801ff03a1854c7ef2 (patch) | |
tree | 619a7df588e9e4d8544aa764dfffe568930801ac /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 02ded1314a465a89267be38231d9858206853d80 (diff) |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions