OpenCloudOS-Kernel/drivers/gpu/drm/msm/dp
Kuogee Hsieh f2f46b8787 drm/msm/dp: initialize audio_comp when audio starts
Initialize audio_comp when audio starts and wait for audio_comp at
dp_display_disable(). This will take care of both dongle unplugged
and display off (suspend) cases.

Changes in v2:
-- add dp_display_signal_audio_start()

Changes in v3:
-- restore dp_display_handle_plugged_change() at dp_hpd_unplug_handle().

Changes in v4:
-- none

Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Tested-by: Stephen Boyd <swboyd@chromium.org>
Fixes: c703d57895 ("drm/msm/dp: trigger unplug event in msm_dp_display_disable")
Link: https://lore.kernel.org/r/1619048258-8717-3-git-send-email-khsieh@codeaurora.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
2021-05-06 16:26:57 -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: Restore aux retry tuning logic 2021-03-17 09:17:24 -07:00
dp_aux.h
dp_catalog.c drm/msm/dp: unplug interrupt missed after irq_hpd handler 2021-01-31 11:34:36 -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 Merge tag 'drm-msm-next-2021-02-07' of https://gitlab.freedesktop.org/drm/msm into drm-next 2021-02-25 09:27:42 +10:00
dp_ctrl.h drm/msm/dp: reset dp controller only at boot up and pm_resume 2021-02-06 09:28:17 -08: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: initialize audio_comp when audio starts 2021-05-06 16:26:57 -07:00
dp_display.h drm/msm/dp: initialize audio_comp when audio starts 2021-05-06 16:26:57 -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: 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: remove unneeded variable: "rc" 2021-02-04 13:40:48 -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: Fix indentation kbot warnings in DP driver 2021-04-07 11:05:44 -07: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