drm/dp_mst: Allow DSC in any Synaptics last branch device
authorImre Deak <imre.deak@intel.com>
Tue, 24 Oct 2023 01:09:01 +0000 (04:09 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 8 Nov 2023 15:22:08 +0000 (17:22 +0200)
commit6f1aa39d6497d4d27f8ee132e9cb8bdbfe7c0674
tree5ce280dade750afe4c5c687b17a2fdef589ba179
parentd075bca47c18779301fee5a9d140f146cde4b532
drm/dp_mst: Allow DSC in any Synaptics last branch device

The Synaptics MST branch devices support DSC decompression on all their
output ports, provided that they are last branch devices (with their
output ports connected to the sinks). The Thinkpad 40B0 TBT dock for
instance has two such branch devices, a secondary one connected to one
of the output ports of the primary; hence the decompression needs to be
enabled in both branch devices to enable decompression for all the
sinks.

Based on the above add support for enabling decompression in last
Synaptics branch devices.

Cc: Lyude Paul <lyude@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231030155843.2251023-7-imre.deak@intel.com
drivers/gpu/drm/display/drm_dp_mst_topology.c