Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2455272rwl; Mon, 26 Dec 2022 15:32:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXsE2l/uaEwxHmv7yJD2O2942aVGRCPwcdhQy5hisxy4Wn+lUuEniXwLghpS7XpUmE6AW5gc X-Received: by 2002:aa7:c796:0:b0:46c:aec4:606f with SMTP id n22-20020aa7c796000000b0046caec4606fmr16931950eds.23.1672097530220; Mon, 26 Dec 2022 15:32:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672097530; cv=none; d=google.com; s=arc-20160816; b=CnL2PrJOaFMPrbJhJvJKy/+VSjFPmaNf54bJoQ8FDS5bBmFR4MEkmrxzmrktFNtEsJ qw9sp1tGGu6SGMuwRwDgh/at4KGxi0Pc6qf1RKNXEt46v9sL5It7/gzBbyX0O+DipP80 iTgCwi98L7AXhBD5IClUESXjfp/OZIvF1FXpRxpK1glZWEi/9I5l/cW0NPWVMSJ1ls6g DRMeWNHC7+/QZeOpnkSUmTy+hkbUK9kOzNxPF1keQ9HjyvMv/jLog6lveIkql7gJlHkB r8vRV3csgVkWr1y6qb1erZo8XRJ1uRgr8/ybq5KpgIvr4k7WR65n4s7VZp9GEE/IwdwM CQcg== 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=CWWw3wa9IYlY8NyS5FLBYUcWNLUZHl2PQFLi0aobrOk=; b=ZDM/DMQ+4+zMBUDwBM0eT7UezRf7tUnPiw4N2t1Mw8S16sRaHGYnOQNnmhUpfGwKBd 541dcPVGhOoRVQx/gQ0Il0oLYNbM4e/TqPtqYrnvdzAwjLyl46R2lJPB+bzPjvcnqIQz 3gCUz3v/X4pI1Mch+LI7GH/KwQfwjsutixklm7/T2SOWLEpMbB6Jfb0zjVE2cDPDXkDN qw0A3mRomaciA5/Q/jchEkuB2A4Di+QrdVQwhRrxo+Q8aczjj+OPL+mRTxJK0JtSyPTz OQpwoKlFC0FyYLHlwgVEFx8psEsWTBY50o9vKv8YvQN5lU0Oix4Jr4Yw6K49LsaQOH97 oc6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aqlrtXHs; 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 bo15-20020a0564020b2f00b0046cd7eb4327si9139267edb.376.2022.12.26.15.31.54; Mon, 26 Dec 2022 15:32:10 -0800 (PST) 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=aqlrtXHs; 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 S232387AbiLZXMt (ORCPT + 67 others); Mon, 26 Dec 2022 18:12:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229837AbiLZXMq (ORCPT ); Mon, 26 Dec 2022 18:12:46 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B4C9CDF for ; Mon, 26 Dec 2022 15:12:45 -0800 (PST) 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 1AC96B80DC2 for ; Mon, 26 Dec 2022 23:12:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7CF4C433EF for ; Mon, 26 Dec 2022 23:12:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672096362; bh=3YDD7i5vigtk0jYnq/iRyL3tJUBwVFtguhEmbqMMi+I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=aqlrtXHsiIDxJbcrsrfD/N6vtMEGNb9C6rrIZwHaatwMF7YyNjPqcv6quLX5Nc+Xi WKfy3zcvyM+w7Zs6jO6Vu1Ro1XXIwLgejG/lY/oXtEw7Nt6HcbNvp74xecShx/R4SS diiYgOv61ZvKZbOG6p1iPB1ujxTEzFJfZPEuuvgqnv1BBrSXKQ8wbh71Rb35mEkVuZ wtYhUhJPOzCI4KmHqktBTFTKjO5fuZoIqP+/+Mw8Ayas/ojCxDiG6SHIqnRGkZsoDv rTrl7zGSE49p0EUuUX3H3w/AFj7WvS1nJHLycNbDZLRHkcjxZfYABpi13AutwSKLtK 1thQ1nby1QkLg== Received: by mail-oi1-f176.google.com with SMTP id j130so5564168oif.4 for ; Mon, 26 Dec 2022 15:12:42 -0800 (PST) X-Gm-Message-State: AFqh2kpnsq/5nkbZGRQX2QoQp1Rh8BgSYvZguP8p8qxMuT9MfTEgvEUs Sk4YTOQYdvwzTIdufbnTWnKB74M8uZuCO0pWBQ== X-Received: by 2002:a05:6808:130f:b0:35a:eee1:6710 with SMTP id y15-20020a056808130f00b0035aeee16710mr865013oiv.69.1672096361913; Mon, 26 Dec 2022 15:12:41 -0800 (PST) MIME-Version: 1.0 References: <1666577099-3859-1-git-send-email-xinlei.lee@mediatek.com> <1666577099-3859-3-git-send-email-xinlei.lee@mediatek.com> In-Reply-To: <1666577099-3859-3-git-send-email-xinlei.lee@mediatek.com> From: Chun-Kuang Hu Date: Tue, 27 Dec 2022 07:12:31 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v13,2/3] drm: mediatek: Set dpi format in mmsys To: xinlei.lee@mediatek.com Cc: matthias.bgg@gmail.com, rex-bc.chen@mediatek.com, angelogioacchino.delregno@collabora.com, jason-jh.lin@mediatek.com, nfraprado@collabora.com, chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com, Jitao Shi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hi, Xinlei: =E6=96=BC 2022=E5=B9=B410=E6=9C=8824=E6=97=A5 =E9= =80=B1=E4=B8=80 =E4=B8=8A=E5=8D=8810:05=E5=AF=AB=E9=81=93=EF=BC=9A > > From: Xinlei Lee > > Dpi output needs to adjust the output format to dual edge for MT8186. Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/= log/?h=3Dmediatek-drm-next Regards, Chun-Kuang. > > Co-developed-by: Jitao Shi > Signed-off-by: Jitao Shi > Signed-off-by: Xinlei Lee > Reviewed-by: CK Hu > Reviewed-by: AngeloGioacchino Del Regno > Reviewed-by: N=C3=ADcolas F. R. A. Prado > --- > drivers/gpu/drm/mediatek/mtk_dpi.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediate= k/mtk_dpi.c > index 630a4e301ef6..ad87ecddf58d 100644 > --- a/drivers/gpu/drm/mediatek/mtk_dpi.c > +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c > @@ -15,6 +15,7 @@ > #include > #include > #include > +#include > #include > > #include