Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp232748rdb; Thu, 19 Oct 2023 02:56:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHVn3Pv0/BBw89Hrnut4slmZKOEMyTvtst/kbDXGXThoDbsGx/SAunmuSLsqY+9gc1QIlby X-Received: by 2002:aca:1715:0:b0:3af:585:400b with SMTP id j21-20020aca1715000000b003af0585400bmr1541629oii.58.1697709414451; Thu, 19 Oct 2023 02:56:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697709414; cv=none; d=google.com; s=arc-20160816; b=m4PDQt5sBQ1cRzFjwVajKue8oqZ+29B1J3vdffZX+fAeBnLxlhfKdIO0WXF1DbJqqg KajTZy+LZ5OpzhNnGDY4hJl8b9C/yLi03CKKB/zi2HoHhLmrpF1L72wt7s/GDzuwtM/W KFZycTr1W1qcn/5ue/K5PF3UO2NLTvP3ZSCkbTKjpXSqUVASD3jqQr3nLTrSQoCnVE3v ZAfCqqhV1jCVI64yxaLT/Ca5RnZqeD20juuJXGdQ7NlWXrjFNsRlCTTcx2BPGh587p1R lfynoAqnLZVHdhvSzxlb1dDRBfOempUCOW41Qxx4QiMJdSvuU0cvy/cjRAIy73UwGkM0 haSg== 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=5g/kC0Qn3IkWkZuftE7KlCuY9KAXA6LWbsMlgIenDBo=; fh=On4piFzdrnkQwyU+Wyj49FwGXDPXs4lGF+wrBVark5k=; b=Xb0akpBelng4Rfw7Iq4GAM3q95WYGthGZCiZBMXyKK1sSrpeUiUiTqXGENaW26E8pR 80s6rnGh0eRqnFKjd146VxlmHrHlq1cQmMamqJXm7RDWcgmSSWm/kIpjDX+IOSH2SeZT g01+UUp9Ep3os3eShunDNI+ecobfrxFZUZuqW5EjcKkwGmEBsttWVI/ojtpopuh7I4jY BOSheuQda0kWNvSI+/mjRm0yAn37mL4gp8EloQifQVhIXVWHnuWOfpCBmw3opywQLuTq 19t/FEQdK9noHd0s2FwwOZO/ZeVcHxEhK4F2SaReibBgEeKoDbmpapYRMnpQfDTH4XSG X4dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=E+k7IAIe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id m123-20020a632681000000b005a0737404a7si4635654pgm.258.2023.10.19.02.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 02:56:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=E+k7IAIe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C1EBC80793C9; Thu, 19 Oct 2023 02:56:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345112AbjJSJz7 (ORCPT + 99 others); Thu, 19 Oct 2023 05:55:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjJSJz6 (ORCPT ); Thu, 19 Oct 2023 05:55:58 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12AF5B8; Thu, 19 Oct 2023 02:55:55 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (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 madras.collabora.co.uk (Postfix) with ESMTPSA id 0D69B6607322; Thu, 19 Oct 2023 10:55:53 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697709354; bh=yuKemI62+zc0hC6m7ajh4gUvLspeNsvwTUgJd0PrQ3o=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=E+k7IAIeoa8vocqyyDDT6Qgjn08rqbP1ptYlde1udC3I9r3cjr+YmIzxYfs2e6I8d v2xXGzIDV2iJAhtGZuvIs+vT1EWsK8VLcqw9t9CljyD47vIeES+qVZ+iWhyWgjhE0Q eyYgJmxNqJVwzv3dHP/dy39xoJhtz7aLAM8B6FDBtuC25Q6Jk27X0MiFVljt9RE+IS KwuoiIpl/g2z7ES3crb5rRImtMi+zYQLtEMjge2AqTCXNJBMmz2ORq4jLETdDGxx9w FarTWHblGKqm0Q4bYpU/GJyzutFlVEQ/uLNNMp2zh/mYzE7LIdEmdoa+Z1zC1uKfGx QQDaY5h5eq5kw== Message-ID: Date: Thu, 19 Oct 2023 11:55:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v10 20/24] drm/mediatek: Add Padding to OVL adaptor Content-Language: en-US To: =?UTF-8?B?U2hhd24gU3VuZyAo5a6L5a2d6KyZKQ==?= , =?UTF-8?B?Q0sgSHUgKOiDoeS/iuWFiSk=?= , "matthias.bgg@gmail.com" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" Cc: "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "chunkuang.hu@kernel.org" , =?UTF-8?B?SmFzb24tSkggTGluICjmnpfnnb/npaUp?= , "devicetree@vger.kernel.org" , =?UTF-8?B?TmFuY3kgTGluICjmnpfmrKPonqIp?= , =?UTF-8?B?TW91ZHkgSG8gKOS9leWul+WOnyk=?= , "daniel@ffwll.ch" , "p.zabel@pengutronix.de" , "dri-devel@lists.freedesktop.org" , =?UTF-8?B?TmF0aGFuIEx1ICjlkYLmnbHpnJYp?= , "airlied@gmail.com" , "sean@poorly.run" , "linux-arm-kernel@lists.infradead.org" , "fshao@chromium.org" , "johnson.wang@mediatek.corp-partner.google.com" References: <20231019055619.19358-1-shawn.sung@mediatek.com> <20231019055619.19358-21-shawn.sung@mediatek.com> <0a3b0755-73e3-4698-9a3a-be38578ceb3f@collabora.com> <9939f8f5fbc2fcc469db212cf53fd3be0231384f.camel@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <9939f8f5fbc2fcc469db212cf53fd3be0231384f.camel@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 02:56:02 -0700 (PDT) Il 19/10/23 11:20, Shawn Sung (宋孝謙) ha scritto: > Hi Angelo, > > On Thu, 2023-10-19 at 11:10 +0200, AngeloGioacchino Del Regno wrote: >>> static const struct of_device_id mtk_ovl_adaptor_comp_dt_ids[] = >>> { >>> + { .compatible = "mediatek,mt8188-padding", .data = (void >>> *)OVL_ADAPTOR_TYPE_PADDING }, >> >> Uhm, for consistency I'd call this "mediatek,mt8188-disp-padding" >> (you don't have >> to drop Reviewed-by tags for such a change, not here and not in the >> yaml commit), >> but it's fine if you have reasons against that. >> >> So, regardless of this being changed or not >> >> Reviewed-by: AngeloGioacchino Del Regno < >> angelogioacchino.delregno@collabora.com> >> >>> { .compatible = "mediatek,mt8195-disp-ethdr", .data = (void >>> *)OVL_ADAPTOR_TYPE_ETHDR }, >>> { .compatible = "mediatek,mt8195-disp-merge", .data = (void >>> *)OVL_ADAPTOR_TYPE_MERGE }, >>> { .compatible = "mediatek,mt8195-vdo1-rdma", .data = (void >>> *)OVL_ADAPTOR_TYPE_MDP_RDMA }, >> > > Thanks for pointing this out. Had changed Padding driver's name to > "mtk-disp-padding", but I just notice that Padding will also be used by > MDP and they will share the same driver with display. Should we change > the name again or is it just fine to use "mtk-disp-padding"? > That's like many other components in MediaTek, so we can keep the mtk-disp-padding name.... in devicetree, we will anyway use "mediatek,mt8195-mdp3-padding" as one of the compatible string(s). This is the only way that we have to actually distinguish between components used for MDP3 and components used for the display subsystem, if we keep them "generic" we won't understand what's going on in case of issues. The driver name should contain "disp" for consistency with all of the component drivers in mediatek-drm; if this wasn't in this folder, we could've dropped the "disp" in the name, but that's not the case. Consistency is #1. Cheers, Angelo > Thanks, > Shawn