OSDN Git Service

drm/amd/display: lower dp link training message level
authorHersen Wu <hersenxs.wu@amd.com>
Mon, 24 Apr 2023 15:39:20 +0000 (11:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:42:39 +0000 (10:42 -0400)
commit38ff516bb00cd8e974c8b5e70ab6e1b354b8f424
treea0c8c68f7bd18b492844e330b5144aa26a860511
parentcd465a670087f94e62100622f9cbb894f524268a
drm/amd/display: lower dp link training message level

[Why] some test apps report dp link training waring even dp
training pass. there are 4 tries of lt within
perform_link_training_with_retries. if lt pass within 4 tries,
it will NOT be reated as lt failure. for each try of lt, if lt
fails, current driver implementation prints message at warning
level. this let people think dp lt does not work properly.

[How] for 1st, 2nd and 3rd try of lt, print message at debug
level. for the 4th try of lt, print message at warning level.

Reviewed-by: Jerry Zuo <jerry.zuo@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@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/link/protocols/link_dp_training.c