[Freedreno] [PATCH] soc: qcom: pmic_glink: fix connector type to be DisplayPort
Bjorn Andersson
andersson at kernel.org
Mon Oct 16 18:59:08 UTC 2023
On Wed, Oct 11, 2023 at 01:52:29AM +0300, Dmitry Baryshkov wrote:
> 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 at emersion.fr>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
Applied, thanks.
> ---
> drivers/soc/qcom/pmic_glink_altmode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/soc/qcom/pmic_glink_altmode.c b/drivers/soc/qcom/pmic_glink_altmode.c
> index 9569d999391d..6f8b2f7ae3cc 100644
> --- a/drivers/soc/qcom/pmic_glink_altmode.c
> +++ b/drivers/soc/qcom/pmic_glink_altmode.c
> @@ -467,7 +467,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) {
> --
> 2.39.2
>
More information about the Freedreno
mailing list