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 <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Acked-by: Simon Ser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent ada1682 commit f86955f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)