drm/amd/display: only warn once in dce110_edp_wait_for_hpd_ready()
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Tue, 14 Feb 2023 18:51:08 +0000 (13:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Feb 2023 22:35:58 +0000 (17:35 -0500)
commit6d9b6dceaa513c19a968c523f4d68477a33a98c9
tree1b9ec77ea9f737ae2d05d3b8c7fd05dbe5258b11
parentd9e1e14f42337ea11b2dfc0bab99485a8f7fa210
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>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c