drm/amd/display: only warn once in dce110_edp_wait_for_hpd_ready()
Since, hot plugging eDP displays isn't supported, it is sufficient for us to warn about the lack of a connected display once. So, use ASSERT() in dce110_edp_wait_for_hpd_ready() instead of DC_LOG_WARNING(). Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d9e1e14f42
commit
6d9b6dceaa
1 changed files with 2 additions and 4 deletions
|
@ -779,10 +779,8 @@ void dce110_edp_wait_for_hpd_ready(
|
|||
|
||||
dal_gpio_destroy_irq(&hpd);
|
||||
|
||||
if (false == edp_hpd_high) {
|
||||
DC_LOG_WARNING(
|
||||
"%s: wait timed out!\n", __func__);
|
||||
}
|
||||
/* ensure that the panel is detected */
|
||||
ASSERT(edp_hpd_high);
|
||||
}
|
||||
|
||||
void dce110_edp_power_control(
|
||||
|
|
Loading…
Add table
Reference in a new issue