Patch "soc: qcom: pmic_glink: fix connector type to be DisplayPort" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    soc: qcom: pmic_glink: fix connector type to be DisplayPort

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     soc-qcom-pmic_glink-fix-connector-type-to-be-display.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 85d52d202212019ca47e23840c9ba0135960e4a4
Author: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
Date:   Wed Oct 11 01:52:29 2023 +0300

    soc: qcom: pmic_glink: fix connector type to be DisplayPort
    
    [ Upstream commit f86955f2b1ff9fbc7ae4f6595112b2f896885366 ]
    
    As it was pointed out by Simon Ser, the DRM_MODE_CONNECTOR_USB connector
    is reserved for the GUD devices. Other drivers (i915, amdgpu) use
    DRM_MODE_CONNECTOR_DisplayPort even if the DP stream is handled by the
    USB-C altmode. While we are still working on implementing the proper way
    to let userspace know that the DP is wrapped into USB-C, change
    connector type to be DRM_MODE_CONNECTOR_DisplayPort.
    
    Fixes: 080b4e24852b ("soc: qcom: pmic_glink: Introduce altmode support")
    Cc: Simon Ser <contact@xxxxxxxxxxx>
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
    Reviewed-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
    Acked-by: Simon Ser <contact@xxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20231010225229.77027-1-dmitry.baryshkov@xxxxxxxxxx
    Signed-off-by: Bjorn Andersson <andersson@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/soc/qcom/pmic_glink_altmode.c b/drivers/soc/qcom/pmic_glink_altmode.c
index d05e0d6edf493..974c14d1e0bfc 100644
--- a/drivers/soc/qcom/pmic_glink_altmode.c
+++ b/drivers/soc/qcom/pmic_glink_altmode.c
@@ -465,7 +465,7 @@ static int pmic_glink_altmode_probe(struct auxiliary_device *adev,
 		alt_port->bridge.funcs = &pmic_glink_altmode_bridge_funcs;
 		alt_port->bridge.of_node = to_of_node(fwnode);
 		alt_port->bridge.ops = DRM_BRIDGE_OP_HPD;
-		alt_port->bridge.type = DRM_MODE_CONNECTOR_USB;
+		alt_port->bridge.type = DRM_MODE_CONNECTOR_DisplayPort;
 
 		ret = devm_drm_bridge_add(dev, &alt_port->bridge);
 		if (ret)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux