Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2951813rwe; Mon, 29 Aug 2022 03:21:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR6tEX/7pDmuCMTGoxKAtQvnEBY8FgNSIhEog4JpmWgjs96AMMwg6mss8627XvysKU7EMUqY X-Received: by 2002:a17:906:cc0e:b0:73d:d898:3900 with SMTP id ml14-20020a170906cc0e00b0073dd8983900mr11487834ejb.82.1661768482190; Mon, 29 Aug 2022 03:21:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661768482; cv=none; d=google.com; s=arc-20160816; b=pWYb5bZGtzKjSiLl2nNsH/qxu/MpNnWjMwWYS9KaPGfZEWrR5HI3y02YgG00Nc3fb3 s94xqDuBUV07bpvauQL2XRxdwf+hlko6u2b3T6jyAYWCcAQI7eyJlS5RtcM4R2eDKRy/ 4fuxu4UCwpqKTJfrIqB3rKrjasU7X7s8/qo2ykt+gRUF/og8pKv1IQzIkyPXTm6sOANr PWZo3qXTcUF6SwoW4UwHxK0MvRwczwfyCidexNoCiXwp6M/WXH8z7YLfnWfbtfhUWgRI f3zkUBd17je6iwOBS72z63Tjux+s9XNDWHLwuXEbnvKIB5GAsYRJG7o6VmfWnyhCE9+k j9Uw== 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=Qy8iSu0Y13eIt5WlUoEfC/oqmnaxcyH3OIM6jOevbW8=; b=sDTDaN6QzEont++ttt2V2NGwhD30VgrESI5QKRezqZgdf8gxXxSE8G8PuVmkP9AlUq cN80G2J+4HRVOsjhXW0DoPFY6Jz34+YVtmrAwgRGZg7Q5W4YsW4Bo5TjWH5p11usalph F5rEB1wuaoA5YfdKSXG3wHuG7CYnnvtm4fpEu04dwIaKvF4zL48LL5y+zIdqrnaaGRiZ x7hAgRt0XYVznY+0T7RHFjPydAL6Zv+zI3S610Q+psYokrV66WlWEdMXqhy8YKMHS6W8 GDrRXJu6tuwlPIR0058CQmoXOCJw09x9sGZEkHnImymL89NzWxUMf2R0ZRyG6jTOoqwO d6Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LGbv0gfi; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d20-20020a1709061f5400b0073c1e339952si5832633ejk.339.2022.08.29.03.20.55; Mon, 29 Aug 2022 03:21:22 -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=@collabora.com header.s=mail header.b=LGbv0gfi; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229870AbiH2JxJ (ORCPT + 99 others); Mon, 29 Aug 2022 05:53:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229854AbiH2JxF (ORCPT ); Mon, 29 Aug 2022 05:53:05 -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 6BC5A5E33C for ; Mon, 29 Aug 2022 02:53:03 -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)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 96ED166016BE; Mon, 29 Aug 2022 10:53:01 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1661766782; bh=tyHVP8TVsJx7dsp4RoCLCe9+RAOLMn7P+Kx5RBRj4vk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=LGbv0gfi1N/Vte34r6F56RHV1wAfbo207qYXVmTbX0COv5wDShGObyvRyS94XCdqE PjGPoUn/p0qNc+yorYkQm/3xgtr7RIhqpRVnQ+jZz3kwh6lOju6z4JcXqPVj5sKHsb DYXoqtrTnge7+/082g90s3IqH24Q8aAkXlu38qo/2FnlY1+b2t3L7KcnK6Bqr5nSwJ QZTTmT5u79TdvTzgg46MbUalFaSv3pP06uM0nueQcSCaMzrBQKzoX4PfjTHn/P5eI5 nh7tNeBRkO28ab7+G/26wFFze5w3UBIDsCnvFsopmmUyGKGOqqQrAenijG9VBxX3Kn tPghf7FU/eSYw== Message-ID: <8ccf007b-e411-3a56-e5aa-629264cdafee@collabora.com> Date: Mon, 29 Aug 2022 11:52:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v4,2/2] drm: mediatek: Adjust the dpi output format to MT8186 Content-Language: en-US To: xinlei.lee@mediatek.com, matthias.bgg@gmail.com, rex-bc.chen@mediatek.com, jason-jh.lin@mediatek.com, yongqiang.niu@mediatek.com, chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@linux.ie, daniel@ffwll.ch Cc: jitao.shi@mediatek.com, 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 References: <1661743308-29120-1-git-send-email-xinlei.lee@mediatek.com> <1661743308-29120-3-git-send-email-xinlei.lee@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <1661743308-29120-3-git-send-email-xinlei.lee@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,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Il 29/08/22 05:21, xinlei.lee@mediatek.com ha scritto: > From: Xinlei Lee > > Dpi output needs to adjust the output format to dual edge for MT8186. > > Co-developed-by: Jitao Shi > Signed-off-by: Jitao Shi > Signed-off-by: Xinlei Lee > > --- > drivers/gpu/drm/mediatek/mtk_dpi.c | 32 +++++++++++++++++++++++++ > drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 5 ++++ > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ > 3 files changed, 39 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi.c > index fb0b79704636..c23ef7deef26 100644 > --- a/drivers/gpu/drm/mediatek/mtk_dpi.c > +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c > @@ -14,6 +14,7 @@ > #include > #include > #include > +#include > #include > > #include