Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4292523rwl; Mon, 3 Apr 2023 02:51:35 -0700 (PDT) X-Google-Smtp-Source: AK7set+nw5n2znZ1Lxg3zSW9s7wlt1ZNVdwx18Ulv6uke+zwTkfzu7Gsy3bWQmwoHZ++xyYKCLO9 X-Received: by 2002:a62:1b05:0:b0:62a:87ce:14ca with SMTP id b5-20020a621b05000000b0062a87ce14camr33511766pfb.32.1680515494748; Mon, 03 Apr 2023 02:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680515494; cv=none; d=google.com; s=arc-20160816; b=lioBc3NxkBfPD+igRs+saH7RoTZWxY4YVegO/yJ+gASgOuHoEBAmsTXoPKP1xoqZxh K9VZuyoGmIXOPEjsTZELDqDFp70S207bj25qoEGCgy104JcoBD7EcwxvOtplh5EpRpPg sx5TUy3roiNbC0ETa1/nEVMa6eMcU2DhyAr2LC7oDpWjOLYo72fPE+Rbw3w4d0oq5VNY QXMDv6kL83KPWvzYyrqQ2i1pvayF3vU464umOXP7hwbFpHwhugixyaXhGMul3XcMGVft Cnuk+eQwln2398EcDOxxAXu0/et8aKxgGLrJRoHJlBJSzVn/AEzuIIzfV3bO4AZuKDVj Q0Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=htPk5PXTOqeqOET7dyhcLS5Nxh2cxnK3mpGnQz9jlEw=; b=B/XiuVvP+sRdV9k0NNZXLJ7KOegfIhECyq1UyFNc5Ha5nxpO1BUcyXuqy8EVpzjGG7 puotb6aSccNOO6rjd33tk1xZu8UHvZvzBBMPH8c9514GN5ug+dGQYqE4AK9O0C/Ug6uj V3M1EJQIuG381PsJbaAZxP0tNDcJ6zNsGBr8mX91tySIPdH1opV5R6uhaEp/PcndJfx7 apOX88OfhRShnGC7fAtrLI0+KgyRYagrGixbxeEcX0BWZsOZ/jBLr74Hlstlas8Sbcbk Pg78olEf7JeOijpC/pJmaVQI+BmnSpy0/KaeIC4+pSEH04cL3olrGp3zOC+yiSAvSkPZ TlqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SvoeEbbR; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 132-20020a63058a000000b0050bf225ba32si7783198pgf.706.2023.04.03.02.51.22; Mon, 03 Apr 2023 02:51: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=@linaro.org header.s=google header.b=SvoeEbbR; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232353AbjDCJr7 (ORCPT + 99 others); Mon, 3 Apr 2023 05:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232214AbjDCJrh (ORCPT ); Mon, 3 Apr 2023 05:47:37 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C16011E97 for ; Mon, 3 Apr 2023 02:47:19 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id h8so114865521ede.8 for ; Mon, 03 Apr 2023 02:47:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680515237; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=htPk5PXTOqeqOET7dyhcLS5Nxh2cxnK3mpGnQz9jlEw=; b=SvoeEbbR8OcfvVqTljRORHpbqaNFE7cu/bdh4a3d3VE4NUnwo1J/oyoAPXZ0a+yBUd hIKYw+s6BKEbV0nyzwPXNSkFmbnG6OvxYMeFlUu8hGHeCQjuWipnJzmGn+D0mXZA7nOM /Y+FgreAigmNIHhIlvRuWlr3UDh+bYcY3u4ByQaS7QhPfxvqH4hJAZS0IR9nJoqOfiPU GZLEPeUrjBKgNAEOt9DNXW8PLIhwOk20YHAJALYC7vLuI5K+qpFmK2ZLZAVYgR4bIwAa EhDpTeIbMKoqH9kswhsCWOrMOTkV2nvh1hy+jA9x4KeaKRRkGfWjdQ4iChZRhW1ax7/b vGbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680515237; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=htPk5PXTOqeqOET7dyhcLS5Nxh2cxnK3mpGnQz9jlEw=; b=kqLIOynDL7dXgVN5M/sXCXf6ePT0/Vto+txJPIUA8A1biWEm6+KGKJSuoMBBF3OgEW culbHBrT7oFl6l+mx/RTfcfM1HC8UYqhWSZyayBUiyw//k3ZZxIdwsh0LvSu4FVlKxbQ qUmnYkAzBJVOFxLh40j0PtEFDamX4p42hLx9iasTna+nSSa5sV1APWH/MyXfwp1fEa/1 hFitfBQZzdHoS6GHgBCZzxVANHR0cVjlb8S1EiKsLXjw2WWrZRoLiidii3hSJMl9ahzD Q1/fIMkEgRQTGm+k+UYA3pwsMaynI80zL5xjktz8ZCeS2Z2XbZpJMIn/Qa5hQH1GcC1h Hn3Q== X-Gm-Message-State: AAQBX9eQ3AblIBUZYkiRTDczAn/Bar9QWb99YikJf+18CU3NhG0Jze9Z gdRoWRmcENi+Z9gM+i0XXtqXPg== X-Received: by 2002:a17:906:6bd5:b0:930:7ae6:9ebd with SMTP id t21-20020a1709066bd500b009307ae69ebdmr35660301ejs.70.1680515237638; Mon, 03 Apr 2023 02:47:17 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:ae90:d80:1069:4805? ([2a02:810d:15c0:828:ae90:d80:1069:4805]) by smtp.gmail.com with ESMTPSA id la6-20020a170907780600b009351565d1f5sm4285058ejc.52.2023.04.03.02.47.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Apr 2023 02:47:17 -0700 (PDT) Message-ID: Date: Mon, 3 Apr 2023 11:47:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v30 0/7] Add MediaTek SoC DRM (vdosys1) support for mt8195 Content-Language: en-US To: Chun-Kuang Hu , Chen-Yu Tsai 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 References: <20230321121859.2355-1-nancy.lin@mediatek.com> <17831605-5c9d-9c92-d190-04f91060ace4@collabora.com> <97a5f383-38f5-e8ea-e1d8-489b690e4521@collabora.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 03/04/2023 05:30, Chun-Kuang Hu wrote: > Hi, Chen-yu: > > Chen-Yu Tsai 於 2023年3月30日 週四 下午7:05寫道: >> >> On Mon, Mar 27, 2023 at 11:17 PM Chun-Kuang Hu wrote: >>> >>> Hi, Angelo: >>> >>> AngeloGioacchino Del Regno 於 >>> 2023年3月24日 週五 下午4:38寫道: >>>> >>>> Il 24/03/23 00:25, Chun-Kuang Hu ha scritto: >>>>> Hi, Angelo: >>>>> >>>>> AngeloGioacchino Del Regno 於 >>>>> 2023年3月23日 週四 下午4:58寫道: >>>>>> >>>>>> 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-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 hands)... 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* 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 beware that >>>> it currently uses an outdated kernel, so, what I have locally is a symlink 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 symlink, >>>> 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) Debian rootfs >>>> that you can update with `apt-get dist-upgrade` after booting the Chromebook. >>>> >>>> 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 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. > > 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 Best regards, Krzysztof