summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorKuogee Hsieh <khsieh@codeaurora.org>2020-11-03 12:49:01 -0800
committerRob Clark <robdclark@chromium.org>2020-11-10 12:39:48 -0800
commitea530388e64bd584645f2d89e40ca7dffade8eff (patch)
tree02f229b34f4be0b7c5448b7ccd22d8ff489343f4 /drivers/dma
parent231a04fcc6cb5b0e5f72c015d36462a17355f925 (diff)
drm/msm/dp: skip checking LINK_STATUS_UPDATED bit
Some dongle will not clear LINK_STATUS_UPDATED bit after DPCD read which cause link training failed. This patch just read 6 bytes of DPCD link status from sink and return without checking LINK_STATUS_UPDATED bit. Only 8 bits are used to represent link rate at sinker DPCD. The really link rate is 2.7Mb times the 8 bits value. For example, 0x0A at DPCD is equal to 2.7Gb (10 * 2.7Mb). This patch also convert 8 bits value of DPCD to really link rate to fix worng link rate error during phy compliance test. Fixes: 6625e2637d93 ("drm/msm/dp: DisplayPort PHY compliance tests fixup") Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org> Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions