drm/mst: Enhance MST topology logging
authorEryk Brol <eryk.brol@amd.com>
Thu, 25 Mar 2021 18:06:14 +0000 (14:06 -0400)
committerLyude Paul <lyude@redhat.com>
Fri, 26 Mar 2021 21:09:18 +0000 (17:09 -0400)
commite55f2ffc4dc1052bd1ad4c0d3a51e6f1459c0659
tree9587bb107495687752d2e531e2e2ebed52d8289d
parent58442f0db3f89b7e77113295c72ac0672f74f92a
drm/mst: Enhance MST topology logging

[why]
MST topology print was missing fec logging and pdt printed
as an int wasn't clear. vcpi and payload info was printed as an
arbitrary series of ints which requires user to know the ordering
of the prints, making the logs difficult to use.

[how]
-add fec logging
-add pdt parsing into strings
-format vcpi and payload info into tables with headings
-clean up topology prints
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210325180614.37060-1-eryk.brol@amd.com
drivers/gpu/drm/drm_dp_mst_topology.c