drm/amd/display: Fix Synaptics Cascaded Panamera DSC Determination
authorjsg <jsg@openbsd.org>
Mon, 7 Oct 2024 05:23:13 +0000 (05:23 +0000)
committerjsg <jsg@openbsd.org>
Mon, 7 Oct 2024 05:23:13 +0000 (05:23 +0000)
From Fangzhi Zuo
b5d38f1d4acb3a0aa0763d4d70bec6c9cf51300c in linux-6.6.y/6.6.54
4437936c6b696b98f3fe1d8679a2788c41b4df77 in mainline linux

sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c

index 3880ddf..43173a1 100644 (file)
@@ -246,7 +246,7 @@ static bool validate_dsc_caps_on_connector(struct amdgpu_dm_connector *aconnecto
                aconnector->dsc_aux = &aconnector->mst_root->dm_dp_aux.aux;
 
        /* synaptics cascaded MST hub case */
-       if (!aconnector->dsc_aux && is_synaptics_cascaded_panamera(aconnector->dc_link, port))
+       if (is_synaptics_cascaded_panamera(aconnector->dc_link, port))
                aconnector->dsc_aux = port->mgr->aux;
 
        if (!aconnector->dsc_aux)