]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP
authorSankeerth Billakanti <quic_sbillaka@quicinc.com>
Mon, 25 Apr 2022 11:44:30 +0000 (17:14 +0530)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 1 May 2022 23:39:34 +0000 (02:39 +0300)
commit3e43759c2dbbed3e5804cc1f3af4181a14b4bbb4
tree4c07b031c372e50cd1d972af245f439f21ebe3bf
parentd73d537bf7d98fec7e81a8b460004d0c539a1e28
drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP

The panel-edp enables the eDP panel power during probe, get_modes
and pre-enable. The eDP connect and disconnect interrupts for the eDP/DP
controller are directly dependent on panel power. As eDP display can be
assumed as always connected, the controller driver can skip the eDP
connect and disconnect interrupts. Any disruption in the link status
will be indicated via the IRQ_HPD interrupts.

So, the eDP controller driver can just enable the IRQ_HPD and replug
interrupts. The DP controller driver still needs to enable all the
interrupts.

Signed-off-by: Sankeerth Billakanti <quic_sbillaka@quicinc.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/483310/
Link: https://lore.kernel.org/r/1650887072-16652-3-git-send-email-quic_sbillaka@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/dp/dp_catalog.c
drivers/gpu/drm/msm/dp/dp_display.c