Message ID | 1553667561-25447-1-git-send-email-yongqiang.niu@mediatek.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.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 1EAB8922 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 27 Mar 2019 08:45:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08FC328C2F for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 27 Mar 2019 08:45:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED3BA28D30; Wed, 27 Mar 2019 08:45:12 +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,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EC6F428C2F for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 27 Mar 2019 08:45:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2ACE96E0E0; Wed, 27 Mar 2019 08:45:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by gabe.freedesktop.org (Postfix) with ESMTPS id F1E7B6E0AA for <dri-devel@lists.freedesktop.org>; Wed, 27 Mar 2019 06:19:36 +0000 (UTC) X-UUID: cbcb8e45ab9c4edf9bb6c7e4b97f26d8-20190327 X-UUID: cbcb8e45ab9c4edf9bb6c7e4b97f26d8-20190327 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from <yongqiang.niu@mediatek.com>) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1310697454; Wed, 27 Mar 2019 14:19:32 +0800 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-Mailman-Approved-At: Wed, 27 Mar 2019 08:45:06 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.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, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.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(-)