drm/amd/display: Create debugfs to tell if connector is DPIA link
authorStylon Wang <stylon.wang@amd.com>
Tue, 15 Nov 2022 12:10:05 +0000 (20:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Nov 2022 16:03:38 +0000 (11:03 -0500)
commit7a259c6df9010fb9508dcbf34a3f5f16993ca37b
tree511f4e5a406d7f9cc6152dec1203f2e5981617fb
parentbb622e0c004404b6131633faa6bd8c4939b1df42
drm/amd/display: Create debugfs to tell if connector is DPIA link

[Why]
Tests need to tell if display is connected via USB4 DPIA link.
Currently this is only possible via analyzing dmesg logs.

[How]
Create a per-connector debugfs entry to report if the link is
tunneled via USB4 DPIA.

Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c