Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4999320img; Tue, 26 Mar 2019 23:20:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyf/WJo/6vWqTgkHUjquk7o/z5nvtlP9GbScUSBDBIURVQ3j4rCTVArYM1WwholNR+cj1F3 X-Received: by 2002:a17:902:9a09:: with SMTP id v9mr34692845plp.225.1553667633752; Tue, 26 Mar 2019 23:20:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553667633; cv=none; d=google.com; s=arc-20160816; b=NN6bQhyc2sPmNuPUuQwy+Sx13d4SvHPhsLs2y4TQv8t+xtfjG8fw8UU+quO4uVF5oF XrG3jxWrdl86Ih0iFgnqtRd84YnBYmwBAg//tQpInCKUFmUIdL7TjwpYlU5dpMoFb66R zCN8tmM3Ii9yx8qN5xO0yVQ7j0xs5t90mKeyv4/0TZU9JEoSFHWFr4DV1ufWgbrdV6Sd 0BR+62kRTqAf22b/R9UiGlXiVsgykJJFwh2tXA9o+tTRFp8p9gSqoWl3EGs03mEvHw9s CgPud2Kq/G+Uhgn8uc+xY7LdlzNbi/+TUqEXaqOwYMOfBfRA6AUgkwL8IRn0seT1yYOl zaBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=jnFVmKaz78gIDBXhy0dNBPHpCO4Ev3OArRcsF6HnvfA=; b=Vc1Ny91on+JavYPSNOMU/XRnVMnXD9HxsQPvIv9i2Dh38fC30by1bYFVwsSgNIXSwT 8I7CbiAxyyr0aYPkNTQ6bMcXwqiqQugUsw3oacVnkvDf/zXcNcJxt0aGgAIaW/25qCcA JSX6qVFsD0OuEwOeSks2zO9KBvR0ooLaQL69zaFxkSLRGQLXOHLbuJ+x+CfaSrMe8TlG Z2EE+AfIBhK8XIxkoHdrFh7jSs59OCwCKl4yNt1wsbmZM1cO33P/eXiuP/MZ7S8CdniN vNcajzvaJDG1sBT8AW8B9bBBL079BupqvUBfM34v1vZu4HBvE3K5xbjQ2PY88aRoIhih 2Tbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v23si17123759pfm.187.2019.03.26.23.20.18; Tue, 26 Mar 2019 23:20:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733130AbfC0GTh (ORCPT + 99 others); Wed, 27 Mar 2019 02:19:37 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:19691 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725730AbfC0GTg (ORCPT ); Wed, 27 Mar 2019 02:19:36 -0400 X-UUID: cbcb8e45ab9c4edf9bb6c7e4b97f26d8-20190327 X-UUID: cbcb8e45ab9c4edf9bb6c7e4b97f26d8-20190327 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (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: To: , , , CC: , , , , , , , , , Yongqiang Niu 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 Content-Type: text/plain X-TM-SNTS-SMTP: 5FC5F967ED3C29AE1785445935188A9FAA9EED26B1137B9E5F5605692EB2845B2000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yongqiang Niu 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(-) -- 1.8.1.1.dirty