linux-stable/drivers/gpu/drm/msm/dp
Kuogee Hsieh c58eb1b54f drm/msm/dp: fix connect/disconnect handled at irq_hpd
Some usb type-c dongle use irq_hpd request to perform device connection
and disconnection. This patch add handling of both connection and
disconnection are based on the state of hpd_state and sink_count.

Changes in V2:
-- add dp_display_handle_port_ststus_changed()
-- fix kernel test robot complaint

Changes in V3:
-- add encoder_mode_set into struct dp_display_private

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 26b8d66a39 ("drm/msm/dp: promote irq_hpd handle to handle link training correctly")
Tested-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2020-12-03 08:51:40 -08:00
..
dp_audio.c drm/msm/dp: wait for audio notification before disabling clocks 2020-09-15 10:54:35 -07:00
dp_audio.h drm/msm/dp: add audio support for Display Port on MSM 2020-09-15 10:54:34 -07:00
dp_aux.c drm/msm/dp: Use qmp phy for DP PLL and PHY 2020-09-15 10:54:35 -07:00
dp_aux.h
dp_catalog.c drm/msm/dp: remove duplicate include statement 2020-11-29 10:54:49 -08:00
dp_catalog.h drm/msm/dp: deinitialize mainlink if link training failed 2020-11-10 12:39:31 -08:00
dp_ctrl.c drm/msm/dp/dp_ctrl: Move 'tu' from the stack to the heap 2020-11-29 10:36:53 -08:00
dp_ctrl.h drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets 2020-09-15 10:54:34 -07:00
dp_debug.c drm/msm/dp: add debugfs nodes for video pattern tests 2020-09-15 10:54:35 -07:00
dp_debug.h drm/msm/dp: fix incorrect function prototype of dp_debug_get() 2020-09-25 20:31:06 -07:00
dp_display.c drm/msm/dp: fix connect/disconnect handled at irq_hpd 2020-12-03 08:51:40 -08:00
dp_display.h drm/msm/dp: Use qmp phy for DP PLL and PHY 2020-09-15 10:54:35 -07:00
dp_drm.c drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets 2020-09-15 10:54:34 -07:00
dp_drm.h
dp_hpd.c drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets 2020-09-15 10:54:34 -07:00
dp_hpd.h drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets 2020-09-15 10:54:34 -07:00
dp_link.c drm/msm/dp: skip checking LINK_STATUS_UPDATED bit 2020-11-10 12:39:48 -08:00
dp_link.h drm/msm/dp: DisplayPort PHY compliance tests fixup 2020-11-04 08:26:25 -08:00
dp_panel.c drm/msm/dp: deinitialize mainlink if link training failed 2020-11-10 12:39:31 -08:00
dp_panel.h drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets 2020-09-15 10:54:34 -07:00
dp_parser.c drm/msm/dp: Use qmp phy for DP PLL and PHY 2020-09-15 10:54:35 -07:00
dp_parser.h drm/msm/dp: Use qmp phy for DP PLL and PHY 2020-09-15 10:54:35 -07:00
dp_power.c drm/msm/dp: add opp_table corner voting support base on dp_ink_clk rate 2020-11-04 08:26:26 -08:00
dp_power.h drm/msm/dp: add opp_table corner voting support base on dp_ink_clk rate 2020-11-04 08:26:26 -08:00
dp_reg.h drm/msm/dp: return correct connection status after suspend 2020-11-10 12:38:58 -08:00