Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp461732rwb; Mon, 26 Sep 2022 01:02:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7pQjTf/jonz73jqKAwbfgQu/6SyxB4d8LzZN+EgSQABXS3b6qeNZiq8IPTTwetXpV33Cjo X-Received: by 2002:a17:90b:3847:b0:203:1ef6:ce1 with SMTP id nl7-20020a17090b384700b002031ef60ce1mr23518980pjb.113.1664179338192; Mon, 26 Sep 2022 01:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664179338; cv=none; d=google.com; s=arc-20160816; b=OKr9q+ssfLVgkh8KNdOtiZkoqGjJw7VasHinkl0fe8UEcJlXxIEAdWbscwjlee1VMp LDwVxgcy9dfAlHb2DCSk7oUPLAD5hvwn0f3WqEE+SiOAfqJOPJxiVfVl+InVwM3Tnmct 83f5JE8n5AfLMRCAjAcykm8B5beFVVeLfcDOfXkBUCyDUoVGsdYAEfsOJavBLGVne+um 8kJ9EmXTz3l6hKM76UCwnAkLWYHZfl4XkdiacWAH/7OZbcrYjufVexET1eHTtOJIz0CG fq5KhsKn6t65FuIlItvKAegZko5jCg1uLsBwolGSfhWdDgbJI94FHmA2DdAspDxLC+ir HdEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TN5pwVx0JKrskrUjcut4nAnjT5obDbX9ozlF0UU0zQ0=; b=HanAiMPOBdcb4QzXZm8p5LS0zSzxT4bKegdZ/rVqWsx0vfmXV/ferPvBmnIMUzlh7Z Vdx/BJFgZ4YbJQVLboYNen04ys3rQlbWJVmM9fcNaxDyIjENGMYbUvu3v0vwxxoM0RhR /S3muOUJrRo21KLw0Br2x4fXAgmBJsEK7cFfeQ+ftRkSFeqhz79mNntEmDbJIfgskkRZ ZfpEumLckJH/Zgho1DZiTHufLEO9m7UFW3xsuWz93vL8U1P7fnfhTXF0435B15EjRPWg mtwxRJwwKVGQwLFPykJn4CfsS7hf9EOQ8IKP8viZt9+lvhubxwgUg3WL3qe9joMTdoiA UZZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=FsmEHAe7; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u38-20020a632366000000b0043aeaf8db0esi18731572pgm.55.2022.09.26.01.02.07; Mon, 26 Sep 2022 01:02:18 -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=@mediatek.com header.s=dk header.b=FsmEHAe7; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234101AbiIZHna (ORCPT + 99 others); Mon, 26 Sep 2022 03:43:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233290AbiIZHnZ (ORCPT ); Mon, 26 Sep 2022 03:43:25 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 177292A271 for ; Mon, 26 Sep 2022 00:43:23 -0700 (PDT) X-UUID: 810bf903814940fd99e033fac9a72fbb-20220926 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=TN5pwVx0JKrskrUjcut4nAnjT5obDbX9ozlF0UU0zQ0=; b=FsmEHAe7Awy+KuH976YCsy7q91WssFEC8ugNUbyhZ/LwjxAWih+8Cv7li8CztxFqUrelPDhu1iXMowIO0+WZ+Fout0mZzDLLDl3f/wKq9kVHW3xMcgBvvjAeJeXrY4I11cQDWdsBw86tvPiThBop+IkVFIqVWepmPuJd82ODShE=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.11,REQID:2a47c642-4db7-4922-8028-8c883a48149f,IP:0,U RL:0,TC:0,Content:-25,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:70 X-CID-INFO: VERSION:1.1.11,REQID:2a47c642-4db7-4922-8028-8c883a48149f,IP:0,URL :0,TC:0,Content:-25,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTI ON:quarantine,TS:70 X-CID-META: VersionHash:39a5ff1,CLOUDID:860a0407-1cee-4c38-b21b-a45f9682fdc0,B ulkID:220926154321U7NNUOTA,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48|823| 824,TC:nil,Content:0,EDM:-3,IP:nil,URL:11|1,File:nil,Bulk:nil,QS:nil,BEC:n il,COL:0 X-UUID: 810bf903814940fd99e033fac9a72fbb-20220926 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2101562953; Mon, 26 Sep 2022 15:43:20 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Mon, 26 Sep 2022 15:43:18 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 26 Sep 2022 15:43:18 +0800 From: To: , , , , , , , CC: , , , , , , Xinlei Lee Subject: [PATCH v11,2/3] drm: mediatek: Set dpi format in mmsys Date: Mon, 26 Sep 2022 15:43:10 +0800 Message-ID: <1664178191-27964-3-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1664178191-27964-1-git-send-email-xinlei.lee@mediatek.com> References: <1664178191-27964-1-git-send-email-xinlei.lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N 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_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY 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 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 Reviewed-by: CK Hu --- 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/mediatek/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