Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2525770rwo; Thu, 3 Aug 2023 10:35:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlHmuwkWD0YIG5H+IhrtNUp6RhOhRZ+oOBhCrfpW3S/RHZOxUkryLn7+JYOPm7UNZiW8wLQx X-Received: by 2002:a17:907:a070:b0:99b:ed18:7a10 with SMTP id ia16-20020a170907a07000b0099bed187a10mr7385797ejc.36.1691084147523; Thu, 03 Aug 2023 10:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691084147; cv=none; d=google.com; s=arc-20160816; b=lau5iZOPd6KDRxSdFX0tssGG2xm/bWKnEE1xZZoxITndvLKChhJ83gqhFxQMU7aF7Q +y3+pHYNqwNjZGx3YSJFb2mUboBFWCSzNROVw7ufMT863oUN+ksJV+YZymf3/N68DHlD allcIwPX2hlshSErun3vFkIpBpbFj69ct/ttTHsQZW1IlgNV66zztWT/g84bRTIJEl8r JyC10LRHEGNsRqiwa3L8s8bBUFhtATt4omeZN8KQ+7Us/1LPjTHJMmDqyNgGGOcrhWg+ EIgQyGflJbFPhKRHvF2vV3KEVxm4++aT5jqkmhEIN7GoKoWVATBDI7IIbC1WDDxIe7bz 7QhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=BBP2N35iv+TqeJMWI2iqlYWFErJ4Za6QEiZFTOjdzB4=; fh=BNfH7yJ8un9eu6FMBZcRA6gc2qz9vKZ8LWPHwcoMIds=; b=u6u3wHjsQ78iZQVmR+fGOPjASWUQcAAB64MXs7JY95wTPU2lHyk/X3pWO4FedCIEz0 /YRbNqCMjZuFzMv8jWfIYdfpAvg/kiLJPkQ6csDyrqPQUp8lnDky/a4SikVn1d0gJl1U sFD9cPWO6LqFVn7sc31iJCYvwme2HWRxrv9p5+fy7x5w/qZzHLvQapVAzyUZzVHCZP9W tzssJ6LKR69gqaAkqFYHgW18TFOY5csHMnEJ2UrNMgpncr8gVrfns4IZ1+X2hWB+Ja+G lSABTlyZPXqxyefLRwBo7YNwfSPfVo+KEb3GPkB9lWo5EGTiNT4DgkX1taDhc2kTo4EU txqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail2 header.b=KNGQPx6R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gu6-20020a170906f28600b00993b3881ecdsi153983ejb.687.2023.08.03.10.35.21; Thu, 03 Aug 2023 10:35:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail2 header.b=KNGQPx6R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237201AbjHCPnl (ORCPT + 99 others); Thu, 3 Aug 2023 11:43:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237208AbjHCPni (ORCPT ); Thu, 3 Aug 2023 11:43:38 -0400 Received: from mail-40136.proton.ch (mail-40136.proton.ch [185.70.40.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 534EE35B5 for ; Thu, 3 Aug 2023 08:43:36 -0700 (PDT) Date: Thu, 03 Aug 2023 15:43:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail2; t=1691077413; x=1691336613; bh=BBP2N35iv+TqeJMWI2iqlYWFErJ4Za6QEiZFTOjdzB4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=KNGQPx6R1J+TwnF3ps8/cb5fj9VHSkxvb70Ugdd4tV0JhCAsxXrvTf4bDR3FHqseC W9QcBbsHbAdQKtmf3VBkPWfNn0UJW0G6RZWgVUc1LvgDsDpcctNkHNqZ/7OGCOILzx cmDzkQZ/jRcj5WxRysh6hyGmaygkL5/ehTz1Sv0BVENcquG0xlr5gGkSWnh4fOri+Q Fatbm7ylCTgLxJicogPX3bZ40LCtTHgwitXsVsFtiiPEOYE7LegoPHcvKApf1wus41 wIP9NydXUtkpMgP18K5sgU9Mrzc9PN4Zchb65roXha2CAeEwMHJp+/MuJD7C9EWg6g +rYCknq4JHNSA== To: Dmitry Baryshkov From: Simon Ser Cc: Laurent Pinchart , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , Andy Gross , Bjorn Andersson , Konrad Dybcio , Janne Grunau , Alex Deucher , =?utf-8?Q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , Harry Wentland , Leo Li , Rodrigo Siqueira , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org Subject: Re: [PATCH 3/4] drm/uapi: document the USB subconnector type Message-ID: In-Reply-To: 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> Feedback-ID: 1358184:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, August 3rd, 2023 at 17:36, Dmitry Baryshkov wrote: > On Thu, 3 Aug 2023 at 18:31, Simon Ser contact@emersion.fr wrote: >=20 > > On Thursday, August 3rd, 2023 at 17:22, Simon Ser contact@emersion.fr w= rote: > >=20 > > > The KMS docs describe "subconnector" to be defined as "downstream por= t" for DP. > > > Can USB-C (or USB) be seen as a DP downstream port? > >=20 > > 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 =E2=86=92 VGA adapter. >=20 > My opinion hasn't changed: I think this should be the USB connector > with proper DP / DVI / HDMI / etc. subconnector type (or lack of it). > In the end, the physical connector on the side of laptop is USB-C. - Even if the connector is USB-C, the protocol used for display is still DP. There's also the case of Thunderbolt. - This is inconsistent with existing drivers. i915 and amdgpu expose DP ports for their USB-C ports. Changing that isn't possible without causing user-space regressions (compositor config files use the connector type).