Message ID | 1553667561-25447-1-git-send-email-yongqiang.niu@mediatek.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4D57913B5 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 27 Mar 2019 06:20:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3100E28A48 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 27 Mar 2019 06:20:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23F6928C0D; Wed, 27 Mar 2019 06:20:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2408928A48 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 27 Mar 2019 06:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2cSFPatXbR2GvulC1t/GmZzF6BS7zMtIazc4zo6oWT8=; b=Qnq/zRHf2QTPjd T4l3HBXdLzJxtWTf9OhxHhZn1A38wtV6XCy98RBv9+VD/RJfD4hXAEqQA8CXAzThDKD1MqUMC8AcK xRrD2lV/M6cyAaz/aqvLC8qknBdHmfpWK02QwHZrMZBvvWIaUG8MNSeCvFNv7CkY55tNjlAb4Sg9E F5NsM8i4l0O3k19mL8rdIDEdcACjKLMrR1bw9NtlIsf+sOH5ceSHgK91v876cIgXodCHtl9Y0u9J1 9tFzW6TBrXCrxUKODGJ8dOopyQnPso4OsoOcjvpVU0LsEVw7fIke9zOCHQajod4sLEJ1/29cmJ8GR tL058cuuE/mhrijjW0Mg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h91v5-0002An-Me; Wed, 27 Mar 2019 06:20:15 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h91ug-0000fK-Uc; Wed, 27 Mar 2019 06:19:52 +0000 X-UUID: 6298da3dc73946cf9cd26e2c84e605e8-20190326 X-UUID: 6298da3dc73946cf9cd26e2c84e605e8-20190326 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from <yongqiang.niu@mediatek.com>) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 385663816; Tue, 26 Mar 2019 22:19:34 -0800 Received: from MTKMBS01N2.mediatek.inc (172.21.101.79) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 26 Mar 2019 23:19:32 -0700 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 27 Mar 2019 14:19:30 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 27 Mar 2019 14:19:29 +0800 From: <yongqiang.niu@mediatek.com> To: <ck.hu@mediatek.com>, <p.zabel@pengutronix.de>, <robh+dt@kernel.org>, <matthias.bgg@gmail.com> Subject: [PATCH v2 00/25] add drm support for MT8183 Date: Wed, 27 Mar 2019 14:18:56 +0800 Message-ID: <1553667561-25447-1-git-send-email-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 X-TM-SNTS-SMTP: 5FC5F967ED3C29AE1785445935188A9FAA9EED26B1137B9E5F5605692EB2845B2000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_231950_990535_D621EB80 X-CRM114-Status: GOOD ( 10.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Yongqiang Niu <yongqiang.niu@mediatek.com>, airlied@linux.ie, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Bibby.Hsieh@mediatek.com, yt.shen@mediatek.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
add drm support for MT8183
|
expand
|
From: Yongqiang Niu <yongqiang.niu@mediatek.com> This series are based on 5.1-rc1 and provide 25 patches to support mediatek SOC MT8183 Changes since v1: - fix reviewed issue in v1 - add dts for mt8183 display nodes - adjust display clock control flow in patch 22 - add vmap support for mediatek drm in patch 23 - fix page offset issue for mmap function in patch 24 - enable allow_fb_modifiers for mediatek drm in patch 25 Yongqiang Niu (25): arm64: dts: add display nodes for mt8183 dt-bindings: mediatek: add binding for mt8183 display drm/mediatek: add mutex mod into ddp private data drm/mediatek: add mutex sof into ddp private data drm/mediatek: split DISP_REG_CONFIG_DSI_SEL setting into another use case drm/mediatek: redefine mtk_ddp_sout_sel drm/mediatek: move rdma sout from mtk_ddp_mout_en into mtk_ddp_sout_sel drm/mediatek: add ddp component CCORR drm/mediatek: add mmsys private data for ddp path config drm/mediatek: add commponent OVL0_2L drm/mediatek: add component OVL1_2L drm/mediatek: add component DITHER drm/mediatek: add gmc_bits for ovl private data drm/medaitek: add layer_nr for ovl private data drm/mediatek: add function to background color input select for ovl/ovl_2l direct link drm/mediatek: add ddp write register common api drm/mediatek: add background color input select function for ovl/ovl_2l drm/mediatek: add RDMA fifo size error handle drm/mediatek: add function mtk_ddp_comp_get_type drm/mediatek: add ovl0/ovl0_2l usecase drm/mediatek: add support for mediatek SOC MT8183 drm/mediatek: adjust ddp clock control flow drm/mediatek: add vmap support for mediatek drm drm/mediatek: respect page offset for PRIME mmap calls drm/mediatek: enable allow_fb_modifiers for mediatek drm .../bindings/display/mediatek/mediatek,disp.txt | 37 +- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 107 +++++ drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 81 +++- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 21 +- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 68 +++- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 444 ++++++++++++++++----- drivers/gpu/drm/mediatek/mtk_drm_ddp.h | 11 + drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 87 ++++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 28 ++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 61 +++ drivers/gpu/drm/mediatek/mtk_drm_drv.h | 4 + drivers/gpu/drm/mediatek/mtk_drm_gem.c | 14 +- drivers/gpu/drm/mediatek/mtk_drm_gem.h | 1 + drivers/gpu/drm/mediatek/mtk_drm_plane.c | 15 +- 14 files changed, 838 insertions(+), 141 deletions(-)