• Stephen Boyd's avatar
    drm/msm/dp: Restore aux retry tuning logic · 413b7a32
    Stephen Boyd authored
    In commit 9fc41843 ("drm/msm/dp: unplug interrupt missed after
    irq_hpd handler") we dropped a reset of the aux phy during aux transfers
    because resetting the phy during active communication caused us to miss
    an hpd irq in some cases. Unfortunately, we also dropped the part of the
    code that changes the aux phy tuning when an aux transfer fails due to a
    timeout. That part of the code was calling into the phy driver to
    reconfigure the aux TX swing controls, working around poor channel
    quality. Let's restore this phy setting code so that aux channel
    communication is more reliable.
    
    Cc: Kuogee Hsieh <khsieh@codeaurora.org>
    Fixes: 9fc41843 ("drm/msm/dp: unplug interrupt missed after irq_hpd handler")
    Signed-off-by: default avatarStephen Boyd <swboyd@chromium.org>
    Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
    413b7a32
dp_aux.c 12.3 KB