Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A1894C00528 for ; Thu, 3 Aug 2023 20:44:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A1E010E113; Thu, 3 Aug 2023 20:44:56 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id D911F10E113; Thu, 3 Aug 2023 20:44:54 +0000 (UTC) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 625A58C1; Thu, 3 Aug 2023 22:43:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1691095428; bh=LWzMEFgrC/PlVsgJUx4AkW/o073y3IloiFtC+MVjNYo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=htZTfD0VD+z3VFAZGYDuiQdDo5xVWEbeOBhNwfGKc9LSk3PLbSVgkCtCkjM/j9BxB 8E5WnhtCUzr1uXSi06u7uVCt7vB6c1QPpGZ7D0gtqlhSJXze9SobkS2nZtv1Qcnef/ l1oHArjkLnBuI+DbSS/WNT7hvS4yOlhpzZ/ukXSM= Date: Thu, 3 Aug 2023 23:44:59 +0300 From: Laurent Pinchart To: Simon Ser Subject: Re: [PATCH 3/4] drm/uapi: document the USB subconnector type Message-ID: <20230803204459.GD27752@pendragon.ideasonboard.com> References: <20230729004913.215872-1-dmitry.baryshkov@linaro.org> <20230729004913.215872-4-dmitry.baryshkov@linaro.org> <20230802185547.GC32500@pendragon.ideasonboard.com> <20230802191351.GA1407@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, Andrzej Hajda , Janne Grunau , Robert Foss , Rodrigo Siqueira , Jernej Skrabec , Andy Gross , Thomas Zimmermann , Jonas Karlman , Leo Li , intel-gfx@lists.freedesktop.org, Tvrtko Ursulin , Dmitry Baryshkov , Maxime Ripard , Rodrigo Vivi , Neil Armstrong , Bjorn Andersson , "Pan, Xinhui" , linux-kernel@vger.kernel.org, Konrad Dybcio , Alex Deucher , Christian =?utf-8?B?S8O2bmln?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, Aug 03, 2023 at 03:31:16PM +0000, Simon Ser wrote: > On Thursday, August 3rd, 2023 at 17:22, Simon Ser wrote: > > > The KMS docs describe "subconnector" to be defined as "downstream port" for DP. > > Can USB-C (or USB) be seen as a DP downstream port? > > To expand on this a bit: I'm wondering if we're mixing apples and > oranges here. The current values of "subconnector" typically describe > the lower-level protocol tunneled inside DP. For instance, VGA can be > tunneled inside the DP cable when using DP → VGA adapter. Doesn't this contradict the example use case you gave in your previous e-mail, with wlroots stating "DP-3 via DVI-D" ? I understand that as DP carried over a DVI-D physical connector, did I get it wrong ? > However, in the USB-C case, DP itself is tunneled inside USB-C. And you > might use a USB-C → DP adapter. So it's not really *sub*connector, it's > more of a *super*connector, right? > > I think [1] is somewhat related, since it also allows user-space to > discover whether a connector uses USB-C. But relying on sysfs to figure > this out isn't super optimal perhaps. > > [1]: https://lore.kernel.org/dri-devel/20221108185004.2263578-1-wonchung@google.com/ -- Regards, Laurent Pinchart