drm/msm/dp: replug event is converted into an unplug followed by an plug events
authorKuogee Hsieh <khsieh@codeaurora.org>
Thu, 5 Aug 2021 20:44:53 +0000 (13:44 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 10 Aug 2021 21:49:05 +0000 (14:49 -0700)
commit7e10bf427850f2d7133fd091999abd5fc1755cdb
tree474a18745824f93a2546175ab539547f155ff728
parent0b324564ff74fa0556002be8fbbace556b9b2ad0
drm/msm/dp: replug event is converted into an unplug followed by an plug events

Remove special handling of replug interrupt and instead treat replug event
as a sequential unplug followed by a plugin event. This is needed to meet
the requirements of DP Link Layer CTS test case 4.2.1.3.

Changes in V2:
-- add fixes statement

Changes in V3:
-- delete EV_HPD_REPLUG_INT

Fixes: f21c8a276c2d ("drm/msm/dp: handle irq_hpd with sink_count = 0 correctly")

Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1628196295-7382-5-git-send-email-khsieh@codeaurora.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dp/dp_display.c