]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Ignore Transitional Invalid Link Rate Error Message
authorFangzhi Zuo <Jerry.Zuo@amd.com>
Wed, 9 Feb 2022 21:43:45 +0000 (16:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:22:03 +0000 (14:22 -0500)
commitff9757755a1cd9cefd92f16827c96c0e11c566fc
tree5b9c05251e68a3cb463eb7e08ee47e9c6e4868e7
parent359d7e0a9805b20f042e101ab750c1d1eb79ab26
drm/amd/display: Ignore Transitional Invalid Link Rate Error Message

[Why]
When hotplug or unplug happens, each stream disabled one by one, and then
enable any alived streams. Link phy and payload table is cleared when 1st
stream is disabled. That causes the error message pops up when disable 2nd
stream. There is no active stream after link_rate is cleared.
After all streams are disabled, link will be trained again and link rate is
assigned to any alived streams.

Therefore there is no harm for the error message that represents invalid
link rate value in the atomic reset transitional time period.

[How]
Downgrade the log level from ERROR to DEBUG.

Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c