Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1962782rwl; Thu, 30 Mar 2023 04:10:55 -0700 (PDT) X-Google-Smtp-Source: AKy350YB1HOW7FESOkkb88TNz8jWr9oEyNTppNsDbqJvxLEE3SJcgSwy6xcw3TOdS2256X1FmLm2 X-Received: by 2002:a17:902:da88:b0:19d:2a3:f019 with SMTP id j8-20020a170902da8800b0019d02a3f019mr1944787plx.1.1680174655462; Thu, 30 Mar 2023 04:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680174655; cv=none; d=google.com; s=arc-20160816; b=Nij+rQOjHT9VgejvThaj9huGqFAyRCMgbpMthQDSE94LfAU2+jOK16yA6EU/4QOlIw nJw8UgFu3ETuDHEQuXK2FIuTg/xE1fL4tU9eTBxVhIxgLm6+wiu6L9dJejhh/otM0DF8 v6xBXTSdJ1GjtI48HpLLTiVwSNsx9+yyVHhqLH6Tco6mQFPAkIATi2Z2aYdiiYl+UATA RZ6PgxcEWdFas/fi3RITQig5DpmKZ1oPQ8wd0DAiv19xrdfvOXy3tE3mxdi94CVbMK69 VTATrWiIjYXym6oMcE3OH5okfFfkdEe+BOR8sxvSdAcH1v5U3pnRzZORg9ACv2+7cqQB qURA== 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=ZBDBg0HH1y2Gx5yNNGEH03tfCHf1/oZeA1OHg/lrfwY=; b=Xq8z7Ku7DVkW5eBr/U9D2zSVVvwT8T0GX1zeRWjaKjAHvHHmwmQtDNWCjk+UekM2tY r1QC5vxyDemxP+grDxRZsnrzPZN8AesYalajJ37TN8CNqsJ+thCpE+nRRY5tx4ES/6L5 RZ1NhvvGonoRUKNFUWlo+FSDQg05letLp47rT9AkWdAXVXkacQKBLwwBfxNuoGUEQDz5 +wtZRgQ4rerd6RgPqee2Rpo9PAoo2H5qYEtUJqUE14zaQ/vMZ7Cj3+4tUO7LWlvL5ij9 dHFkDzhODex1gAcDgX+yfeiDAH8By8SfrKgirb3RStYybtiOko+hwSQ8DdbUCOD7uJC+ xFWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AGTDkYKm; 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 m2-20020a170902db0200b001a1defc30cbsi24698976plx.479.2023.03.30.04.10.43; Thu, 30 Mar 2023 04:10:55 -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=AGTDkYKm; 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 S231485AbjC3LF1 (ORCPT + 99 others); Thu, 30 Mar 2023 07:05:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231344AbjC3LFZ (ORCPT ); Thu, 30 Mar 2023 07:05:25 -0400 Received: from mail-ua1-x933.google.com (mail-ua1-x933.google.com [IPv6:2607:f8b0:4864:20::933]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F629139 for ; Thu, 30 Mar 2023 04:05:24 -0700 (PDT) Received: by mail-ua1-x933.google.com with SMTP id s23so13481334uae.5 for ; Thu, 30 Mar 2023 04:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1680174323; 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=ZBDBg0HH1y2Gx5yNNGEH03tfCHf1/oZeA1OHg/lrfwY=; b=AGTDkYKmFIkU7h3W8pUDAThR19VjWhlbEZrEPvdb2Yx2vCg94ZjAqrG6KdUMC8h8K9 maVYRHf3bch+/BMgpjdex5tmMlxiaHr9BpXNIAMOOceA02T9oM2ZGmhDxqSEzYWNVdql UsNbJGx8nES0tVzze1xqgvpmHa7rthlXUKm+o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680174323; 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=ZBDBg0HH1y2Gx5yNNGEH03tfCHf1/oZeA1OHg/lrfwY=; b=ttgwKfeaWghPyHJxb2cSErx6RX2rKFARxlZf5t8sIV1TMKOxx+qQk5154PpYHZmK6o gf52icQjF371flbltNyu5/2PhYY36HnY6CqImOXKgSICDvnwHIwsv0autCBTmlIK6O7z f62r2UtHDj6Ta5GN9LAxQ1cyDqXK/ilvIuQkEqqjdzaH/630/EahQtbJohC56KU7ZxmK +sw4z5/axEI6NGWmOIlfkAocJWkF44lrT17guGYC+5jhW06qUgxNkgZ/U1l+EkyZt7ji i7wpqbLqOVoKK9tgT6nZewFE2m/QiqxgSVutqWd/zKPoHQ8Lg/FcgoTRH4M6TSvEP+V1 p5AA== X-Gm-Message-State: AAQBX9cy9d2QbO84fruJSfP1/Jh/IvNCZvLaZ1vKZ0O8n6ttIrFmdMoz nuxHw5a7YYUVOwLxr8jPFRXAduCfcv9i+6zZtwpOXw== X-Received: by 2002:ab0:2019:0:b0:765:8f29:d679 with SMTP id v25-20020ab02019000000b007658f29d679mr3245687uak.1.1680174323569; Thu, 30 Mar 2023 04:05:23 -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, 30 Mar 2023 19:05:12 +0800 Message-ID: Subject: Re: [PATCH v30 0/7] Add MediaTek SoC DRM (vdosys1) support for mt8195 To: Chun-Kuang Hu Cc: 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, 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 Chromebooks= . > > >> Green light from me. > > > > > > I'm curious about how you build code and test on Chromebooks. Do you > > > build in cros environment or pure linux > > > (https://archlinuxarm.org/platforms/armv8/mediatek/acer-chromebook-r1= 3). > > > 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, but > > > 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 my h= ands)... but > > yes, I can share my test environment. > > > > I have one MicroSD that I use either in the MicroSD slot of the target = machine, or > > in a USB reader; this *single* system is what I boot on *all* Chromeboo= ks 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 be= ware that > > it currently uses an outdated kernel, so, what I have locally is a syml= ink to my > > kernel tree. > > You can change/add/remove the devicetree blobs that will get added to t= he image > > by modifying `chromebook-setup.sh`; before tampering with kernel tree s= ymlink, > > please run that script for the first time, as it will download a cross-= compiler, > > a kernel tree (that you will replace for sure) and the (very old) Debia= n rootfs > > that you can update with `apt-get dist-upgrade` after booting the Chrom= ebook. > > > > If you want to check about possible kernel configuration differences, w= hat I use > > is at [2], so that you can compare. > > Thanks for the information, I would try to compare the kernel config firs= t. Hi CK, Would you consider adding your repo to linux-next? That would let everyone 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. ChenYu > > > > [1]: https://gitlab.collabora.com/google/chromebooks/-/tree/mtk-av1 > > [2]: > > https://gitlab.collabora.com/google/chromeos-kernel/-/blob/mt8195-track= ing-master-rolling/arch/arm64/configs/defconfig > > > > Regards, > > Angelo