linux_dsm_epyc7002/drivers/gpu/drm/bridge/synopsys
Jonathan Liu bc551d776b drm: bridge: dw-hdmi: Avoid resetting force in the detect function
It has been observed that resetting force in the detect function can
result in the PHY being powered down in response to hot-plug detect
being asserted, even when the HDMI connector is forced on.

Enabling debug messages and adding a call to dump_stack() in
dw_hdmi_phy_power_off() shows the following in dmesg:
[  160.637413] dwhdmi-rockchip ff940000.hdmi: EVENT=plugin
[  160.637433] dwhdmi-rockchip ff940000.hdmi: PHY powered down in 0 iterations

Call trace:
dw_hdmi_phy_power_off
dw_hdmi_phy_disable
dw_hdmi_update_power
dw_hdmi_detect
dw_hdmi_connector_detect
drm_helper_probe_detect_ctx
drm_helper_hpd_irq_event
dw_hdmi_irq
irq_thread_fn
irq_thread
kthread
ret_from_fork

Fixes: 381f05a7a8 ("drm: bridge/dw_hdmi: add connector mode forcing")
Signed-off-by: Jonathan Liu <net147@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201031081747.372599-1-net147@gmail.com
2020-11-12 22:21:00 +01:00
..
dw-hdmi-ahb-audio.c Update rmk's email address in various drivers 2020-04-21 17:50:09 +01:00
dw-hdmi-audio.h drm/bridge: dw-hdmi-i2s: add .get_eld support 2019-08-14 15:03:36 +02:00
dw-hdmi-cec.c cec: add cec_adapter to cec_notifier_cec_adap_unregister() 2019-10-07 12:47:43 +02:00
dw-hdmi-cec.h
dw-hdmi-i2s-audio.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dw-hdmi.c drm: bridge: dw-hdmi: Avoid resetting force in the detect function 2020-11-12 22:21:00 +01:00
dw-hdmi.h drm/bridge: dw-hdmi: Add Dynamic Range and Mastering InfoFrame support 2019-10-10 12:50:00 +02:00
dw-mipi-dsi.c drm/bridge: dw-mipi-dsi: permit configuring the escape clock rate 2020-09-11 15:01:36 +02:00
Kconfig
Makefile