]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dp: postpone irq_hpd event during connection pending state
authorKuogee Hsieh <khsieh@codeaurora.org>
Fri, 18 Dec 2020 17:53:40 +0000 (09:53 -0800)
committerRob Clark <robdclark@chromium.org>
Thu, 7 Jan 2021 17:11:02 +0000 (09:11 -0800)
commit108539a1f436b3f50b645b14f2a7ad10d08edf43
tree67f762e91b38d0c4ff9bd2c22238e611661ddf2d
parent01e6415fd17573bf34d5d8965f46ae57b7e640ac
drm/msm/dp: postpone irq_hpd event during connection pending state

irq_hpd event can only be executed at connected state. Therefore
irq_hpd event should be postponed if it happened at connection
pending state. This patch also make sure both link rate and lane
are valid before start link training.

Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dp/dp_display.c
drivers/gpu/drm/msm/dp/dp_panel.c