drm/dp_mst: Retrieve extended DPCD caps for topology manager
authorKoba Ko <koba.ko@canonical.com>
Tue, 22 Sep 2020 06:53:13 +0000 (14:53 +0800)
committerLyude Paul <lyude@redhat.com>
Tue, 22 Sep 2020 18:06:20 +0000 (14:06 -0400)
commitad44c03208e46b83e4ae3269e32c9e524aa71cf8
tree730e4d917be461d349906e4daac67bf65217f71c
parent9572e6693cd731268521ab5af43858315a8cfb10
drm/dp_mst: Retrieve extended DPCD caps for topology manager

As per DP-1.3, First check DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT.
If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 1,read the DP_DP13_DPCD_REV to
get the faster capability.
If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 0,read DP_DPCD_REV.

Signed-off-by: Koba Ko <koba.ko@canonical.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
[added aux name to drm_dbg_kms() call]
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200922065313.4794-1-koba.ko@canonical.com
drivers/gpu/drm/drm_dp_mst_topology.c