drm/amd/display: Don't show stack trace for missing eDP
Subsystems (3)
PATCH v2 1/1 drm/amd/display: Don't show stack trace for missing eDP
Some systems are only connected by HDMI or DP, so warning related to missing eDP is unnecessary. Downgrade to debug instead.
Cc Hamza Mahfooz <[email protected]>
Fixes 6d9b6dceaa51 ("drm/amd/display: only warn once in dce110_edp_wait_for_hpd_ready()")
Reported-by [email protected]
Signed-off-by Mario Limonciello <[email protected]>
---v1->v2:
* Use DC_LOG_DC instead
--- drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +2 -1
@@ -777,7 +777,8 @@ void dce110_edp_wait_for_hpd_ready(dal_gpio_destroy_irq (&hpd);/* ensure that the panel is detected */ -ASSERT (edp_hpd_high); +if (!edp_hpd_high) +DC_LOG_DC ("%s: wait timed out!\n" , __func__); } void dce110_edp_power_control(
Signature · 1 line
2.34.1
Quoted 8 lines · Mario Limonciello
Some systems are only connected by HDMI or DP, so warning related to missing eDP is unnecessary. Downgrade to debug instead.
Cc Hamza Mahfooz <[email protected]>Fixes 6d9b6dceaa51 ("drm/amd/display: only warn once in dce110_edp_wait_for_hpd_ready()")Reported-by [email protected]Signed-off-by Mario Limonciello <[email protected]>---
Reviewed-by Hamza Mahfooz <[email protected]>
Quoted 20 lines
v1->v2:
* UseDC_LOG_DCinstead--- drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +2
-1@@ -777,7 +777,8 @@ void dce110_edp_wait_for_hpd_ready(dal_gpio_destroy_irq (&hpd);/* ensure that the panel is detected */ -ASSERT (edp_hpd_high); +if (!edp_hpd_high) +DC_LOG_DC ("%s: wait timed out!\n" , __func__); } void dce110_edp_power_control(
Signature · 1 line
Hamza