Skip to content
Commit acf76125 authored by Kuogee Hsieh's avatar Kuogee Hsieh Committed by Greg Kroah-Hartman
Browse files

drm/msm/dp: fix connect/disconnect handled at irq_hpd



[ Upstream commit c58eb1b5 ]

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: default avatarkernel test robot <lkp@intel.com>
Fixes: 26b8d66a ("drm/msm/dp: promote irq_hpd handle to handle link training correctly")
Tested-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarKuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 61f8f403
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment