From patchwork Wed Mar 13 12:00:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yongqiang Niu X-Patchwork-Id: 10852331 Return-Path: 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 6CB5D6C2 for ; Thu, 14 Mar 2019 08:24:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 550EA2870C for ; Thu, 14 Mar 2019 08:24:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 51A0928C33; Thu, 14 Mar 2019 08:24: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=-3.5 required=2.0 tests=BAYES_00,HTML_MESSAGE, MAILING_LIST_MULTI,MIME_BASE64_TEXT,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 E5F4928A20 for ; Thu, 14 Mar 2019 08:24:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D1DC56E16E; Thu, 14 Mar 2019 08:23:39 +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 3261D6E0AF for ; Wed, 13 Mar 2019 12:01:12 +0000 (UTC) X-UUID: 7eed0559666044ac991197fdd6e851ec-20190313 X-UUID: 7eed0559666044ac991197fdd6e851ec-20190313 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1585044133; Wed, 13 Mar 2019 20:01:08 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 13 Mar 2019 20:01:00 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 13 Mar 2019 20:01:00 +0800 From: Yongqiang Niu To: , , , Subject: [RESEND PATCH v1, 00/18] add drm support for MT8183 Date: Wed, 13 Mar 2019 20:00:39 +0800 Message-ID: <1552478457-9615-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: A38217188AD7219E51D9935576FE0BD0F87E87371068234F0BC378E4498A720F2000:8 X-Mailman-Approved-At: Thu, 14 Mar 2019 08:23:35 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Yongqiang Niu , airlied@linux.ie, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This series are based on 4.20-rc1 and provide 18 patches to support mediatek SOC MT8183 Yongqiang Niu (18): drm/mediatek: update dt-bindings for mt8183 drm/mediatek: add mutex mod and sof into ddp private data 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 connect module with it's previous one drm/mediatek: add ddp write register common api drm/mediatek: add connect function for ovl drm/mediatek: add RDMA1 fifo size into RDMA private data drm/mediatek: add function mtk_ddp_comp_get_type drm/mediatek: add ovl0/ovl0_2l usecase drm/mediatek: add support for mediatek SOC MT8183 .../bindings/display/mediatek/mediatek,disp.txt | 11 +- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 64 ++- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 23 +- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 42 +- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 458 ++++++++++++++++----- drivers/gpu/drm/mediatek/mtk_drm_ddp.h | 11 + drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 100 +++++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 24 ++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 55 +++ drivers/gpu/drm/mediatek/mtk_drm_drv.h | 4 + 10 files changed, 688 insertions(+), 104 deletions(-)