linux/drivers/gpu/drm/msm/dp
Kuogee Hsieh 9463b64d1a drm/msm/dp: only signal audio when disconnected detected at dp_pm_resume
Currently there is audio not working problem after system resume from suspend
if hdmi monitor stay plugged in at DUT. However this problem does not happen
at normal operation but at a particular test case. The root cause is DP driver
signal audio with connected state at resume which trigger audio trying to setup
audio data path through DP main link but failed due to display port is not setup
and enabled by upper layer framework yet. This patch only have DP driver signal
audio only when DP is in disconnected state so that audio option shows correct
state after system resume. DP driver will not signal audio with connected state
until display enabled executed by upper layer framework where display port is
setup completed and main link is running.

Changes in V2:
-- add details commit text

Fixes: afc9b8b6ba ("drm/msm/dp: signal audio plugged change at dp_pm_resume")
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1632932224-25102-1-git-send-email-khsieh@codeaurora.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
2021-10-11 17:30:40 -07:00
..
dp_audio.c drm/msm/dp: initialize audio_comp when audio starts 2021-05-06 16:26:57 -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: reset aux controller after dp_aux_cmd_fifo_tx() failed. 2021-08-10 14:48:32 -07:00
dp_aux.h drm/msm/dp: Handle aux timeouts, nacks, defers 2021-06-23 07:32:15 -07:00
dp_catalog.c drm for v5.15-rc1 2021-09-01 11:26:46 -07:00
dp_catalog.h drm/msm/dp: remove the repeated declaration 2021-06-23 07:33:53 -07:00
dp_ctrl.c drm/msm/dp: do not end dp link training until video is ready 2021-08-10 14:49:54 -07:00
dp_ctrl.h drm/msm: Convert to use resource-managed OPP API 2021-06-23 07:33:52 -07:00
dp_debug.c drm/msm/dp: delete unnecessary debugfs error handling 2021-04-07 11:05:44 -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: only signal audio when disconnected detected at dp_pm_resume 2021-10-11 17:30:40 -07:00
dp_display.h drm/msm: add support to take dpu snapshot 2021-06-23 07:32:13 -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: Fix incorrect NULL check kbot warnings in DP driver 2021-04-07 11:05:44 -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: add logs across DP driver for ease of debugging 2021-08-07 11:48:39 -07: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: return correct edid checksum after corrupted edid checksum read 2021-08-10 14:49:29 -07: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 logs across DP driver for ease of debugging 2021-08-07 11:48:39 -07:00
dp_power.h drm/msm/dp: Fixed couple of typos 2021-06-23 07:33:52 -07:00
dp_reg.h drm/msm/dp: return correct connection status after suspend 2020-11-10 12:38:58 -08:00