drm/amd/display: Add MST debug message when link detection fails
authorAlex Hung <alex.hung@amd.com>
Fri, 12 Jul 2024 15:39:13 +0000 (09:39 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:37:07 +0000 (17:37 -0400)
commit1a03b0e6c5fdb476203be4f4597205ff8799369b
tree498a099db39f342c111a9e50525f3c0a2624f5e3
parentfae1879dc229249c17e5fd4ef81bf33684ee58f0
drm/amd/display: Add MST debug message when link detection fails

[WHY & HOW]
dc_link_detect returns a boolean value which can be used to print debug
messages when it fails.

This fixes 1 CHECKED_RETURN issue reported by Coverity.

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c