drm/amd/display: Read DP tunneling support only for DPIA endpoints
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Wed, 30 Oct 2024 18:06:18 +0000 (18:06 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2024 16:45:30 +0000 (11:45 -0500)
commit15b9f629fbf7b93267e42074e4e05cc71c530e2d
tree3451cc755c933272aedbf73d7c357ad61a2dc498
parent9517aa5b0a20aec77250813a468fb150c4f20d18
drm/amd/display: Read DP tunneling support only for DPIA endpoints

Unconditionally reading DP tunneling support results in extraneous
errors messages on certain devices. Fix this by guarding the DPCD read
for DP tunneling support for USB4 DPIA endpoints.

Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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/link/protocols/link_dp_capability.c