Skip to content

Commit f86955f

Browse files
lumagandersson
authored andcommitted
soc: qcom: pmic_glink: fix connector type to be DisplayPort
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: 080b4e2 ("soc: qcom: pmic_glink: Introduce altmode support") Cc: Simon Ser <contact@emersion.fr> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Simon Ser <contact@emersion.fr> Link: https://lore.kernel.org/r/20231010225229.77027-1-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent ada1682 commit f86955f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soc/qcom/pmic_glink_altmode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ static int pmic_glink_altmode_probe(struct auxiliary_device *adev,
467467
alt_port->bridge.funcs = &pmic_glink_altmode_bridge_funcs;
468468
alt_port->bridge.of_node = to_of_node(fwnode);
469469
alt_port->bridge.ops = DRM_BRIDGE_OP_HPD;
470-
alt_port->bridge.type = DRM_MODE_CONNECTOR_USB;
470+
alt_port->bridge.type = DRM_MODE_CONNECTOR_DisplayPort;
471471

472472
ret = devm_drm_bridge_add(dev, &alt_port->bridge);
473473
if (ret) {

0 commit comments

Comments
 (0)