]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dp: fixes wrong connection state caused by failure of link train
authorKuogee Hsieh <khsieh@codeaurora.org>
Tue, 3 Nov 2020 22:53:36 +0000 (14:53 -0800)
committerRob Clark <robdclark@chromium.org>
Tue, 10 Nov 2020 20:39:15 +0000 (12:39 -0800)
commit25cbe2a474353bbf35debdceaf7397fdcb8903d9
tree868e340b6d85004e5899f7602e8efad980aeb7a5
parentb2fb703df1dc76e05cf9a17f274f9adfc80bf34d
drm/msm/dp: fixes wrong connection state caused by failure of link train

Connection state is not set correctly happen when either failure of link
train due to cable unplugged in the middle of aux channel reading or
cable plugged in while in suspended state. This patch fixes these problems.
This patch also replace ST_SUSPEND_PENDING with ST_DISPLAY_OFF.

Changes in V2:
-- Add more information to commit message.

Changes in V3:
-- change base

Changes in V4:
-- add Fixes tag

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