Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1306518lqh; Mon, 6 May 2024 03:57:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdzBViFr5xsS1ml7NT49OAE5WxG4KXwdte2RCnRXX6O92+FsYnqlCqRoIaQI8qgbUUbyzPbS+dWZtDB7q0hi0FaUPhYHLDISisw0f1Rw== X-Google-Smtp-Source: AGHT+IGuw7hFOsG2FT+Nl3JS7NHyghgQGJuXB5eknx9RYsLagUOo/AujZiAndArS4V5U2iM7F55p X-Received: by 2002:a05:620a:934f:b0:792:9a7c:c4ee with SMTP id sg15-20020a05620a934f00b007929a7cc4eemr2404066qkn.29.1714993051998; Mon, 06 May 2024 03:57:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714993051; cv=pass; d=google.com; s=arc-20160816; b=iZVZvi9Oj9I8DnQp/SI5xC68mKM96phhCXL170eOw41cmRlK7fDbyNc7b8a2DhsJ/T e7RcV7yVRBw0V+Qf+ulqBGrR37hc/FEfyxnBOCSzZExDRlmZiqCM7bDgIaD6bxAk1wxo VonDsXNnxQBtV1SP7ioJd9K4i6ZZOrXkOlNewTCPHmUlC864MDSGjDxbsBBfUMtdcpnm 1PRiLXnwS3FF1MVZ7FFkKiyvgyZ0ikZoDtfdPOgoq49j1Vsu+7r5uwWk9GTiV3jXxsNl 6jZELUp/0Ps0P07Nz9ZCmGTBF8Qn2pcAthGcdrXDQR7ZULkU/wWCPhjzP/4Us0XzwbUy kTSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=fDueiugpQGz4yiAY/xg33eOQq7+2iJmuG28whJZLROE=; fh=YPxs+PTd6idd257r5j9taeXGcJK5pVsX/ntbB+RAJUk=; b=F1M0kK1zfqiLQNDjkvmn2/MAFOj7eRyUDEnIkkrGO1iyl2EZRuOHBUZx1mv5dHo/FM B7FXOXSlXpSRy+jI3+g+W07Sc5lkxL3bGqu1cx3MCIlyTuHk6heC5th12DvvkKZlDXvZ Ej8ZUtk5e/bIs6yKS1bXgDMfnfshyxmSsfJF5rVr0/C50qhCwNmgGXD2zbo26neANBdV KjRWmRSoTO1Ix0GxnbN1ptwQr8lrUmjLMpoNSeFoq693ZXUGSZl5ymskyuNi9ZgFrLqr QolKbJnrUK1/9bfENybim625klfcZaOO6UYZH2PV51f7t6/JO8FY0Wdi2IRJiI7ZJjba ulvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="H9zbk/XA"; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-169714-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id br15-20020a05620a460f00b007906fea14c1si9874619qkb.218.2024.05.06.03.57.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 03:57:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169714-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="H9zbk/XA"; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-169714-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 625FE1C22273 for ; Mon, 6 May 2024 10:57:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70C03142E77; Mon, 6 May 2024 10:57:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="H9zbk/XA" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E3B2128372; Mon, 6 May 2024 10:57:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714993024; cv=none; b=L+yNaKyhxGB3UGRvw/k0yBnYSgiz6gx8xBvaHb6MgjIAdiWUeFGaKnjWx7CZsaebVgmuvIjUhmqn9qSJSmczlFBvgkWm8rHN158oX70Q87FqvprvJYnIn0AWJAzlXkCgduUhXMu//DZsqad768B/uhncg5cwr1zMW8W9vEbw+2M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714993024; c=relaxed/simple; bh=X2NzglRsxYEgR27bOlIO3yydggeqp11lrTPWCFdKpY0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=aUOKswzbyCKT/HSp2FDpnrhyOqaOVo9boxaAn55bj5YcP7on8Sx1fqik0nodf5RWgHPNFlLsqlSyIArvqR+XWQOo9ewnjMBtxwrJW/8wqyDGRwOTgapxsFbFBM3cCfmlkymXtocyESuNdfH56TVKr5oeLmHxyaqm6nt4VEbB32Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=H9zbk/XA; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1714993020; bh=X2NzglRsxYEgR27bOlIO3yydggeqp11lrTPWCFdKpY0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=H9zbk/XAZ/2DHUMgiAMu8VSJv0zpRMVlMYmkN+a0gGmvIS1wpR8SVqAOQ+pPu2pbg znIR0b7JnrWRLD2zl7chGIC5Z6Vq6d72sYYuV0XVCrlVz2Two0ojARXYz7uOLElEML kn1sc8EW89SVM1tYxf3Y96BnMyB3XIuEYBpzrpVrnvnWFBswLMorZLCIRI9NWxBpoJ HLdGd/1fiYwUxfoTRi+i0P1ekhKpzpTlHBpcMYbOzEUyWcny755o+W3TziWpNgBv3C NWWSxG8zdTxBrpP+Pl7JSZKnQL9lSxwahltQi5EpNX9oyZExta3bcDjyjgraEmFU97 I4iG6AP/yCpcQ== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 0BA97378020D; Mon, 6 May 2024 10:56:58 +0000 (UTC) Message-ID: <50be68dc-b86a-4334-9f83-43c6fda2c271@collabora.com> Date: Mon, 6 May 2024 12:56:58 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/3] drm/mediatek: Add support for OF graphs To: Michael Walle , Alexandre Mergnat , chunkuang.hu@kernel.org Cc: robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, matthias.bgg@gmail.com, shawn.sung@mediatek.com, yu-chang.lee@mediatek.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, wenst@chromium.org, kernel@collabora.com References: <20240409120211.321153-1-angelogioacchino.delregno@collabora.com> <1fc23530-89ba-4e36-9e9a-a1289f56a9bc@baylibre.com> <608fdbde-ad06-45ec-9771-18aa9f002f2d@collabora.com> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 06/05/24 12:02, Michael Walle ha scritto: > Hi Angelo, > > On Tue Apr 30, 2024 at 1:33 PM CEST, AngeloGioacchino Del Regno wrote: >>>> This series was tested on MT8195 Cherry Tomato and on MT8395 Radxa >>>> NIO-12L with both hardcoded paths, OF graph support and partially >>>> hardcoded paths (meaning main display through OF graph and external >>>> display hardcoded, because of OVL_ADAPTOR). >>> >>> Is that make sense for you to add the DTS changes of these boards into this serie ? >>> I asked because, IMHO, that could help to understand the serie. >>> >> >> Yes and no... but I imagine that you're asking this because you're trying to >> prepare something with a different SoC+board(s) combination :-) >> >> In that case, I'm preventively sorry because what follows here is not 100% >> perfectly tidy yet as I didn't mean to send the devicetree commits upstream >> before this series got picked.... >> >> ... but there you go - I'm sure that you won't mind and that the example will >> be more than good enough for you. > > I've tested this series with the DSI0 output and it works. Nice! No > need for my DSI0 patch for the MT8395 anymore. > > But I can't get it to work with the DisplayPort output, that is the > dp_intf1/dp_tx interface. I don' know how the pipeline have to look > like. The functional spec seems to be ambiguous on this. The text > seem to refer to the second vdosys but there is also a diagram where > you can use the first vdosys and dsc0. If you have any pointers for > me, I'm all ears :) > The problem with this is that you need DDP_COMPONENT_DRM_OVL_ADAPTOR... which is a software thing and not HW, so that can't be described in devicetree. The only thing this series won't deal with is exactly that. It's relatively easy, though, to add support for the OVL_ADAPTOR... as it would be just a matter of checking if any of the components in the pipeline contain a compatible that is in the OVL_ADAPTOR compatible list. I'll try to add that up today, let's see what I can do. Cheers, Angelo