Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3040269rwl; Mon, 27 Mar 2023 08:28:34 -0700 (PDT) X-Google-Smtp-Source: AKy350b8XVfgsKiklLysAPJJZ7fhZTyjYO2/yGpcdHs9IqX/W7OY9kRLmjN1YqNS1huCpyPcwQcQ X-Received: by 2002:a17:90b:2243:b0:23f:7176:df32 with SMTP id hk3-20020a17090b224300b0023f7176df32mr12786449pjb.40.1679930914605; Mon, 27 Mar 2023 08:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679930914; cv=none; d=google.com; s=arc-20160816; b=baFHURqj9FPd8WrX4q0KhQRnJRMavJm7nP5q2oMl5j6IdfpvYKYyISfydJaPcM2ksC bZukGhh+/vAF4U9B/3hx1rNPjeQDS4XvoDNPdW75XtnTgmbAVyeH8TTBTqZ4cbveCGkB jfTdDS/wZy1v+QoXWxT7sdm0ePbaiZWwkuns94oWvHt5CzaK4eLSwu+bSw+tOJ/eF/IA tGtCd7XDKFE/8rtr8TGL/lqL0IjT/BrI+AtEb8nUbLstx8zOVS6dA3WfMXgSXgLdbUnH BMCuBe2KFYE2E2zqrW+lT4Tas/Lhecgw4XKxBlvP/8kfWHcgviyTZMzsKYzo+/K+9bzb kfvg== 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=WxXjXDVt250Dzp30WluOUfbIb760o1vY2QBgR+3iufI=; b=RbMOgWzBnDtKKFSAcJwW2ZhKfnjI4SLE5x0y3agrLE8vur2p6HL/2vo6wVrw/yDRHa IaWffbeYT3Pgl/337RU93F0UOMz+yr6H0rpKaBs0pCqKV3t6STzozHGkig958X7BCPCl mLYyOPzBaKKpriOZV6zq6McQhkmkwJx8+rrOQhgB8lGFKNj4DeBa1ALcZMNws8kh6gL0 n6cerh7BK6tB77a9XBMSzjtdnkNzFWGKEpBRHBGX6OWChykwonl5v58F2RLr0DjGMfMr o8M+0+kPfrsN2/xH+eWIeWEPgmOWmAeSBKXl13C/+mCkv7ZMdkHmvgBApLy/uCiM4gYH DoqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DgSCKdzH; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h19-20020a17090ac39300b0023e066d4e2dsi10531973pjt.184.2023.03.27.08.28.23; Mon, 27 Mar 2023 08:28:34 -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=@kernel.org header.s=k20201202 header.b=DgSCKdzH; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232043AbjC0PRZ (ORCPT + 99 others); Mon, 27 Mar 2023 11:17:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230212AbjC0PRY (ORCPT ); Mon, 27 Mar 2023 11:17:24 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B40C6199; Mon, 27 Mar 2023 08:17:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 679AEB81616; Mon, 27 Mar 2023 15:17:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E7CEC4339B; Mon, 27 Mar 2023 15:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679930240; bh=WxXjXDVt250Dzp30WluOUfbIb760o1vY2QBgR+3iufI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DgSCKdzHtd3A8JummnAbCF0GnDlwtgZE6oSuVEtby2k6dFHawi07+eYzwPhFI/zPn 1IqdQXp31wiy/gxtYX6xIXwHsgB7dDWGbPo6yynzdtMX0Vzh+sZ7ApcD4v6Hrd7yJM xTrafTzK5Qq9V8l3zkkyJ+yxFjRh4x26wz388XcMmrfyf1YhaCvtQo9lmQT6pcvAcA bMYMFdx1Gz2tsb/AYwR47c26nxs8JIX5KkB8g9NdHo8PqeB5MQ2sLpGsRviMSYsdYc EOg4Jv1ldxV8sUCYxJzAt8ZpOKQIeoGcrTIh8+8rqmOATAeYbhPniEhhLGy8a0zYPU 3q5KeUrdBoIzg== Received: by mail-lj1-f177.google.com with SMTP id a21so2236083ljq.10; Mon, 27 Mar 2023 08:17:20 -0700 (PDT) X-Gm-Message-State: AAQBX9eKZiCt8jkD65xvwQRbwQzJaPlvkKpdZCmq38zpKkFuoJIO5YKM JpMFjo0tDRA5eqN6dJ+cNglT4X2mBkK/mytx/Q== X-Received: by 2002:a2e:a304:0:b0:2a1:627a:70bb with SMTP id l4-20020a2ea304000000b002a1627a70bbmr3582823lje.10.1679930238193; Mon, 27 Mar 2023 08:17:18 -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: <97a5f383-38f5-e8ea-e1d8-489b690e4521@collabora.com> From: Chun-Kuang Hu Date: Mon, 27 Mar 2023 23:17:06 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v30 0/7] Add MediaTek SoC DRM (vdosys1) support for mt8195 To: AngeloGioacchino Del Regno Cc: Chun-Kuang Hu , "Nancy.Lin" , Philipp Zabel , Rob Herring , Matthias Brugger , krzysztof.kozlowski+dt@linaro.org, Daniel Vetter , Nathan Chancellor , Nick Desaulniers , CK Hu , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, clang-built-linux@googlegroups.com, Project_Global_Chrome_Upstream_Group@mediatek.com, singo.chang@mediatek.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 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:3= 8=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 s= everal 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-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, 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 han= ds)... but > yes, I can share my test environment. > > I have one MicroSD that I use either in the MicroSD slot of the target ma= chine, or > in a USB reader; this *single* system is what I boot on *all* Chromebooks= 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 bewa= re that > it currently uses an outdated kernel, so, what I have locally is a symlin= k to my > kernel tree. > You can change/add/remove the devicetree blobs that will get added to the= image > by modifying `chromebook-setup.sh`; before tampering with kernel tree sym= link, > please run that script for the first time, as it will download a cross-co= mpiler, > a kernel tree (that you will replace for sure) and the (very old) Debian = rootfs > that you can update with `apt-get dist-upgrade` after booting the Chromeb= ook. > > If you want to check about possible kernel configuration differences, wha= t I use > is at [2], so that you can compare. Thanks for the information, I would try to compare the kernel config first. > > [1]: https://gitlab.collabora.com/google/chromebooks/-/tree/mtk-av1 > [2]: > https://gitlab.collabora.com/google/chromeos-kernel/-/blob/mt8195-trackin= g-master-rolling/arch/arm64/configs/defconfig > > Regards, > Angelo