]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp_mst: Parse FEC capability on MST ports
authorDavid Francis <David.Francis@amd.com>
Thu, 6 Jun 2019 15:20:10 +0000 (11:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jan 2020 23:07:46 +0000 (18:07 -0500)
commitf4e31029b116c1ea9ed95bec057660c41153e9fb
treee6c14ad092c1152e57e70218074aab311db455ad
parentaa152acfe5efb7cdd816b7d500d307aa53d7c1f8
drm/dp_mst: Parse FEC capability on MST ports

As of DP1.4, ENUM_PATH_RESOURCES returns a bit indicating
if FEC can be supported up to that point in the MST network.

The bit is the first byte of the ENUM_PATH_RESOURCES ack reply,
bottom-most bit (refer to section 2.11.9.4 of DP standard,
v1.4)

That value is needed for FEC and DSC support

Store it on drm_dp_mst_port

Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: David Francis <David.Francis@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_dp_mst_topology.c
include/drm/drm_dp_mst_helper.h