Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1693212rwl; Wed, 5 Apr 2023 23:00:54 -0700 (PDT) X-Google-Smtp-Source: AKy350annPGcke/XmtimHmRaN5732r2y2L+AFAIrtKmkVHi2ZcNL/CcB/dvGRmjb29/6jz1i3h1j X-Received: by 2002:a62:790e:0:b0:627:f837:2f5b with SMTP id u14-20020a62790e000000b00627f8372f5bmr8445779pfc.11.1680760853988; Wed, 05 Apr 2023 23:00:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680760853; cv=none; d=google.com; s=arc-20160816; b=dOf+gC+/5vmRoJz4eOck7PHpvTnD/mZUN0nS3p5LJRvtKfr1Z6KkQSFzmXO4Sx/N87 iaM+qrZxEA2fC41ScOWIsafR/8xAIUbBGsOMPYsus2r1iVPDYkPnqrh4AhxJz5FqCz1F S7m2iynQF+tyXNYziZbhrw3g9SDwBjK3YJwi3pMxOOJcUd3p4JlybmLbgQEYApRM0XxT 4pAC2L4+mQF9AM19tJglhRAbvIC6GqDEkQCiGW+mYl5GflaTdBw7mo/obgcNnp1rVROD bFAE3OXGI8LVd4G0DEQeQzLIRNJPsTtSqVAFz25bH/h3sObshgFIKbkkCsyiX/+ZwVYb J4IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YZ8PVA/atiia/tjTYHEDk3XUx3h0g9cX9xWoZrnfSaI=; b=kAAxP+uwiNoXwf9TGzZ3cifxCEc+/EwsOEIohCCwAa1v1mMnSMP2hXr8BtpVgHGJhr EevFV4xhj0I+PT9NYn1gIOsfDj51Kedr8i8pCe0v7H/b06DFocqmQq1MI2E+GRMHiPH9 RS4YNnfDeF9P5zHAUc2+3ncj4xdrbrKaXafQNbF70K6Hrf8hAcmkXCcnc/x8p0RXcI+m VnQ3bjvmu228UR/IsAtpfR1mqtui6I8Qtdg+lMbLeg5iJmqkBQIyVXmeIn6gXI/NG2IO 6A83DU++BDfzkZ4hV/ijkTXhak6MufbQqn53q6S76CF3gCgQly1C8cMNbNcRVe0APLtk s/vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=VAJUd7Ak; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b29-20020aa7951d000000b00592591f1972si632474pfp.64.2023.04.05.23.00.13; Wed, 05 Apr 2023 23:00:52 -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=@chromium.org header.s=google header.b=VAJUd7Ak; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229520AbjDFFtB (ORCPT + 99 others); Thu, 6 Apr 2023 01:49:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjDFFtA (ORCPT ); Thu, 6 Apr 2023 01:49:00 -0400 Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 834AF5BAD for ; Wed, 5 Apr 2023 22:48:58 -0700 (PDT) Received: by mail-vs1-xe33.google.com with SMTP id c1so33514557vsk.2 for ; Wed, 05 Apr 2023 22:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1680760137; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YZ8PVA/atiia/tjTYHEDk3XUx3h0g9cX9xWoZrnfSaI=; b=VAJUd7AkFuitBCaDn4PDCke2qUypZywbfeYT2Ko80sDqTyivuobWW8FDMdqeUCZDql MoEXSViUMBV7PMMIsLKdnr4H5mWcL98In5TEPR6cYjze1wdNL6Pq4/XHl1q8EYepFsIP 6gUGhA52NjbDOp5i4NfyZ7ar2DhgYcgwV3INo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680760137; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YZ8PVA/atiia/tjTYHEDk3XUx3h0g9cX9xWoZrnfSaI=; b=Vwzu9VQtospdnme/9T4D7wrwZdN8hHviaroR9hyXebWgoyEW2gyzXsHBmNTYY9qeSZ ehyPaVMZiitO6g4rOXC7WUkZuKC9t44N5VVniZZMTmks9RaycI9P17lfXWqw9pskHMek yzRuh8sqnpCdB8ug7rcf6s+IBcKHIykKUUtiHuV1S+5OXwAzVLDt/xY6ixyKE0fepcHG +H+DevWnxYVt0S8tjEggts4NrZ0ju4llXIqFXCh9ejEUNE90DZ+3eMVmV/vvTeDxo/QO bFFKPq5+VcW9GsEj8EES9vnE1Y4Y5fMofQsGYNvgoNIMSSKABoqduX8A+LX/KRvz6AMa LO0w== X-Gm-Message-State: AAQBX9fQ5Ir8molhTMgdcMyt1TojU3tguWcH+gQkvVlCOIZuCJXX6AjJ R1lvcZhWvbBVsd8x2RSV3atzh8BfmSvnjKjzS9kUeQ== X-Received: by 2002:a67:c01c:0:b0:425:f1e7:fecf with SMTP id v28-20020a67c01c000000b00425f1e7fecfmr6371648vsi.7.1680760137615; Wed, 05 Apr 2023 22:48:57 -0700 (PDT) MIME-Version: 1.0 References: <20230321121859.2355-1-nancy.lin@mediatek.com> <17831605-5c9d-9c92-d190-04f91060ace4@collabora.com> <97a5f383-38f5-e8ea-e1d8-489b690e4521@collabora.com> In-Reply-To: From: Chen-Yu Tsai Date: Thu, 6 Apr 2023 13:48:46 +0800 Message-ID: Subject: Re: [PATCH v30 0/7] Add MediaTek SoC DRM (vdosys1) support for mt8195 To: Chun-Kuang Hu Cc: Krzysztof Kozlowski , AngeloGioacchino Del Regno , Project_Global_Chrome_Upstream_Group@mediatek.com, devicetree@vger.kernel.org, singo.chang@mediatek.com, Nick Desaulniers , linux-kernel@vger.kernel.org, Rob Herring , Nathan Chancellor , "Nancy.Lin" , linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org, krzysztof.kozlowski+dt@linaro.org, clang-built-linux@googlegroups.com, Matthias Brugger , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Mon, Apr 3, 2023 at 5:47=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 03/04/2023 05:30, Chun-Kuang Hu wrote: > > Hi, Chen-yu: > > > > Chen-Yu Tsai =E6=96=BC 2023=E5=B9=B43=E6=9C=8830= =E6=97=A5 =E9=80=B1=E5=9B=9B =E4=B8=8B=E5=8D=887:05=E5=AF=AB=E9=81=93=EF=BC= =9A > >> > >> On Mon, Mar 27, 2023 at 11:17=E2=80=AFPM Chun-Kuang Hu wrote: > >>> > >>> Hi, Angelo: > >>> > >>> AngeloGioacchino Del Regno = =E6=96=BC > >>> 2023=E5=B9=B43=E6=9C=8824=E6=97=A5 =E9=80=B1=E4=BA=94 =E4=B8=8B=E5=8D= =884:38=E5=AF=AB=E9=81=93=EF=BC=9A > >>>> > >>>> Il 24/03/23 00:25, Chun-Kuang Hu ha scritto: > >>>>> Hi, Angelo: > >>>>> > >>>>> AngeloGioacchino Del Regno =E6=96=BC > >>>>> 2023=E5=B9=B43=E6=9C=8823=E6=97=A5 =E9=80=B1=E5=9B=9B =E4=B8=8B=E5= =8D=884:58=E5=AF=AB=E9=81=93=EF=BC=9A > >>>>>> > >>>>>> Il 21/03/23 13:18, Nancy.Lin ha scritto: > >>>>>>> The hardware path of vdosys1 with DPTx output need to go through = by several modules, such as, OVL_ADAPTOR and MERGE. > >>>>>>> > >>>>>>> Add DRM and these modules support by the patches below: > >>>>>>> > >>>>>> > >>>>>> I've tested v30 again on MT8173, MT8192 and MT8195 based Chromeboo= ks. > >>>>>> Green light from me. > >>>>> > >>>>> I'm curious about how you build code and test on Chromebooks. Do yo= u > >>>>> build in cros environment or pure linux > >>>>> (https://archlinuxarm.org/platforms/armv8/mediatek/acer-chromebook-= r13). > >>>>> I've a MT8183 based Chromebook (HP 11a) and I've tried to run a > >>>>> upstream kernel on it. cros is too heavy for me and I doubt I could > >>>>> use it. I've tried the pure linux and could boot up with console, b= ut > >>>>> display does not work. If you use the pure linux environment, could > >>>>> you share how it works? > >>>>> > >>>> > >>>> I haven't tested MT8183 (I don't actually have any 8183 machine in m= y hands)... but > >>>> yes, I can share my test environment. > >>>> > >>>> I have one MicroSD that I use either in the MicroSD slot of the targ= et machine, or > >>>> in a USB reader; this *single* system is what I boot on *all* Chrome= books that I > >>>> have: one kernel, multiple devicetrees, same Debian-based userspace. > >>>> > >>>> What we have to prepare this bootable media can be found at [1], but= beware that > >>>> it currently uses an outdated kernel, so, what I have locally is a s= ymlink to my > >>>> kernel tree. > >>>> You can change/add/remove the devicetree blobs that will get added t= o the image > >>>> by modifying `chromebook-setup.sh`; before tampering with kernel tre= e symlink, > >>>> please run that script for the first time, as it will download a cro= ss-compiler, > >>>> a kernel tree (that you will replace for sure) and the (very old) De= bian rootfs > >>>> that you can update with `apt-get dist-upgrade` after booting the Ch= romebook. > >>>> > >>>> If you want to check about possible kernel configuration differences= , what I use > >>>> is at [2], so that you can compare. > >>> > >>> Thanks for the information, I would try to compare the kernel config = first. > >> > >> Hi CK, > >> > >> Would you consider adding your repo to linux-next? That would let ever= yone > >> do integration testing, especially automated ones, earlier, before you= send > >> your PRs to drm maintainers. > >> > >> You can do so by sending an email to Stephen Rothwell to do so. > > > > I don't understand what this process is. Does it means that I directly > > upstream patches into linux-next? I prefer that my patches go through > > drm maintainers' tree. Does any document introduce this process? > > All maintainers and sub-maintainers trees are supposed to be fed into > linux-next. > > https://lore.kernel.org/linux-next/20230327124805.3ca4f3cc@canb.auug.org.= au/T/#md226a8e714cc731c2ab4ba5ee7eb43fe21a55009 > > Documentation/process/howto.rst > Documentation/process/2.Process.rst As Krzysztof mentioned, the purpose of linux-next is for integration testin= g. Your queued up patches still go through the DRM tree for eventually merging into Linus's tree. Getting included into linux-next means that your branch gets automatically merged together with other branches, gets build and boot tested by the various CI platforms and bots out there, and provides a commo= n base for other developers. I don't think there is any downside to having your branch integrated into linux-next. ChenYu