]> 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)
commit5b960a13d925b0ca205e961c629056ec84eae9f3
tree67f762e91b38d0c4ff9bd2c22238e611661ddf2d
parenteaab25c793bb47c0bd8c45a38c3cb28a705725f4
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