Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3040976rdg; Tue, 17 Oct 2023 02:48:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEBERNE1YGl8Qs90612CBL0CGeHEpc2u7qbTsv51P3VK5WzGTc6ZeKDIQ4/xYmPrs0p8lFi X-Received: by 2002:a17:90b:374b:b0:27d:136a:4bf4 with SMTP id ne11-20020a17090b374b00b0027d136a4bf4mr1658433pjb.8.1697536095591; Tue, 17 Oct 2023 02:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697536095; cv=none; d=google.com; s=arc-20160816; b=0HnRYEtTmhNIdNEOU3Dy2WKYdxkSXqKrCV3EWm8+CMgP62kMbP//s8pFaSbTWrbexa jB6wc6Iy9mI2VFIKzyHudn6INiU0/qYUMgqedx7yJ5UE+GYwv39nI/OXkSHTcWnQ5ez6 ulWz4HYDeEBKgLpHwcmFHE8hKGuYDmBgxozx/w2wZflFFrhPZsiwttd+Px2GB//GO6xN bZy2MamK0C0WD1LbpoBBlP4KZnv3vTPKHcEbx3el8GJ8IDfB2iAWfgSwwqjZ0AyZc7wY dPf2bHr1QnoGlCuCVE2kTBl3nWvgvzacRav5iwfeSKxw2lRSJZelfNPOaRgiSzue/plL Vg5g== 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=M+liYlweKIXu6N7S4m/k/bRDBUeKAJt2vxuhR0nl/B8=; fh=W34SOItl1lj8wl9YrT4TiuLL50OQcdfIb7Xa0dpmCs0=; b=OEXTmZnXpP5gUFrHQ5yfziCjJAZD5l6GMjRyV1XXCjkH50cTays2X6US5abs0jkJji 2RQjSK4KOu3uJvy7PkCPkWMDrMIWlCSexttxKeYYkBaoUx/HVfhd3yg4sYJRmzk7pUnc +JXjwK5QOEm9iVQMGYNqikBISNfTvsvzrFUfEmP71vCg5YnJYc74CHWOyR/HstafBg0g XW5/Drw+xgrZn7dgXdhJa0qfQqqItwws54M+MS85/LL56d/bUi51mYkVqrmxcD1mQqJW xhTUyTFvJeLTgr9VthsiTagnQv68DmgAi46PhAfngtUN7csqh+5AZsGlXSgcKt/HJsfZ g30Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ghVrzDas; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id e12-20020a63db0c000000b00573fdbc93c0si1400443pgg.892.2023.10.17.02.48.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 02:48:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ghVrzDas; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 B6A04802A728; Tue, 17 Oct 2023 02:48:14 -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 S1343522AbjJQJsI (ORCPT + 99 others); Tue, 17 Oct 2023 05:48:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234794AbjJQJsF (ORCPT ); Tue, 17 Oct 2023 05:48:05 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12843A2; Tue, 17 Oct 2023 02:48:04 -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 B622866072E4; Tue, 17 Oct 2023 10:48:01 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697536082; bh=f1idfIPcMQyPsHWuXPvo14v1fXq19rfleCQgQ3pX2nQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ghVrzDasF81DZVT5kyGRSpfn4vBQSmeCCtp+bj2xMA7Sy2CmffoVSer/w3Kl/6CjQ c8sRG3qh8tdw7vbDh8C6u69DHRvNTyuX+jswhW/yi6i6YQi2X1PaPDKZT6+hNszKF5 ujAhV0eypK8FgOXIIQCtwcTLnydbG1GN9LPT7SzS+WcvvODQhv6/2WAhoZ0AWaJRW1 RCizx0T0ReJ6HvHSWEUgMnVJhAK74VPYU0toJGYuXC7QixDoSHoOpm2LTWM36jWCxx cUHiZ/B5qEnXKINHuLX5Rq3x4YNPxkJV+UoczSm+NyGTy0GpMw9muiYGsgLBYCBAdL sDW9UTyx3x2ew== Message-ID: <97dae7c0-0bcb-456f-b808-b794ba9e3c8a@collabora.com> Date: Tue, 17 Oct 2023 11:47:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 18/23] drm/mediatek: Add Padding to OVL adaptor Content-Language: en-US To: Hsiao Chien Sung , CK Hu , Krzysztof Kozlowski , Matthias Brugger , Rob Herring Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Fei Shao , Sean Paul , Johnson Wang , "Nancy . Lin" , Moudy Ho , "Jason-JH . Lin" , Nathan Lu , Yongqiang Niu , Hans Verkuil , Mauro Carvalho Chehab , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <20231016104010.3270-1-shawn.sung@mediatek.com> <20231016104010.3270-19-shawn.sung@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20231016104010.3270-19-shawn.sung@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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]); Tue, 17 Oct 2023 02:48:14 -0700 (PDT) Il 16/10/23 12:40, Hsiao Chien Sung ha scritto: > Add MT8188 Padding to OVL adaptor to probe the driver. > > Signed-off-by: Hsiao Chien Sung --- > .../gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 26 +++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c b/drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c > index 354ba6186166..b80425360e76 100644 > --- a/drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c > +++ b/drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c > @@ -29,6 +29,7 @@ enum mtk_ovl_adaptor_comp_type { > OVL_ADAPTOR_TYPE_ETHDR, > OVL_ADAPTOR_TYPE_MDP_RDMA, > OVL_ADAPTOR_TYPE_MERGE, > + OVL_ADAPTOR_TYPE_PADDING, > OVL_ADAPTOR_TYPE_NUM, > }; > > @@ -46,6 +47,14 @@ enum mtk_ovl_adaptor_comp_id { > OVL_ADAPTOR_MERGE1, > OVL_ADAPTOR_MERGE2, > OVL_ADAPTOR_MERGE3, > + OVL_ADAPTOR_PADDING0, > + OVL_ADAPTOR_PADDING1, > + OVL_ADAPTOR_PADDING2, > + OVL_ADAPTOR_PADDING3, > + OVL_ADAPTOR_PADDING4, > + OVL_ADAPTOR_PADDING5, > + OVL_ADAPTOR_PADDING6, > + OVL_ADAPTOR_PADDING7, > OVL_ADAPTOR_ID_MAX > }; > > @@ -66,6 +75,7 @@ static const char * const private_comp_stem[OVL_ADAPTOR_TYPE_NUM] = { > [OVL_ADAPTOR_TYPE_ETHDR] = "ethdr", > [OVL_ADAPTOR_TYPE_MDP_RDMA] = "vdo1-rdma", > [OVL_ADAPTOR_TYPE_MERGE] = "merge", > + [OVL_ADAPTOR_TYPE_PADDING] = "padding", > }; > > static const struct mtk_ddp_comp_funcs _ethdr = { > @@ -80,6 +90,13 @@ static const struct mtk_ddp_comp_funcs _merge = { > .clk_disable = mtk_merge_clk_disable, > }; > > +static const struct mtk_ddp_comp_funcs _padding = { Please, _padding -> padding or mtk_padding Thanks, Angelo