Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2688455pxb; Mon, 31 Jan 2022 02:01:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyx+K3YZT6uzspB/qbO9MYYPGUDzX7CtU5exnzcZRuoD95iGScLLwUxodwPjMjuMz3fzQ8g X-Received: by 2002:a17:902:d483:: with SMTP id c3mr20306307plg.141.1643623295431; Mon, 31 Jan 2022 02:01:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643623295; cv=none; d=google.com; s=arc-20160816; b=YmZbADpeRiNmc2sBon4noL3GDzvwQjdar8P/MKfn56jXaqR6dSDadMs03higwFfACX DujxO3sS6d1ePsHZ/AMT8tSwY1Hik2QCOzlTp8J43XowU68RwosF+ehcU0QrZx1ThDBF YhWJYS6OWkmqpmrSr7yD4O8Ae7AvLg2xZmKksXDt1VwvRNwwxow7c/l1M7ZQjGIl+pSr fha+9O2EenIUYKeaNKwyEdbFuqeWX7oeFaeQkDGPHvQFvaGCYllYX+AbNT3/fo+t9TL8 2Lt59SY/I6Ko/pRGC3E2ol1bIo0LMeWT+pnTdnL75tBeJW70hWpVYhZA0AEkuhpGPx72 OwLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=EHxm8jq3BPXq/cf+G3omcVhgvpn5qGBuFf2noCkg49I=; b=qmshjlwv5F6Jt9QcOq/dxLM0oRhG+A6ssJTIWlZ/IgaGh6SpP4EmUC8VZ8kPV6Cdzm 6G3UaaxC7FIuymrJlPB5HMbHyn2Yx5QTsD6ZgtVwkuDFUOYRT/TnGQA9G1UFHV0NSUQK rfvq+/4/fZ6G+oVv0pXxN+ahqX7ccjPkodf818vHE1d5B50DRd8oiIN+jQd7FfnOF7Se dWCaHSipbUseBAcmFx3EsMA/rVRwEPuiIR8nM4nn40cMbud3lONenD6vazvrMyodaEeu qRIyh6B/IHsI2iZDKXCMfeN2OaRHiA+n61RAuNL5PvkOoeXzoW4oSW34jIpf5/Eh4/1B 6sFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m11si12477891pls.431.2022.01.31.02.01.24; Mon, 31 Jan 2022 02:01:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348290AbiA1MHZ (ORCPT + 99 others); Fri, 28 Jan 2022 07:07:25 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:59814 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231315AbiA1MHY (ORCPT ); Fri, 28 Jan 2022 07:07:24 -0500 X-UUID: 686009ec37ba427bb52f2eeb8bb912f7-20220128 X-UUID: 686009ec37ba427bb52f2eeb8bb912f7-20220128 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 39610135; Fri, 28 Jan 2022 20:07:21 +0800 Received: from mtkexhb02.mediatek.inc (172.21.101.103) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 28 Jan 2022 20:07:20 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkexhb02.mediatek.inc (172.21.101.103) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 28 Jan 2022 20:07:20 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 28 Jan 2022 20:07:19 +0800 From: Yongqiang Niu To: Chun-Kuang Hu CC: Rob Herring , Matthias Brugger , Philipp Zabel , "David Airlie" , Daniel Vetter , Jassi Brar , Yongqiang Niu , Fabien Parent , Dennis YC Hsieh , , , , , , , Hsin-Yi Wang Subject: [PATCH v1, 0/4] add display support for mediatek SOC MT8186 Date: Fri, 28 Jan 2022 20:07:14 +0800 Message-ID: <20220128120718.30545-1-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yongqiang Niu (4): soc: mediatek: mmsys: Add mt8186 mmsys routing table soc: mediatek: add mtk mutex support for MT8186 drm/mediatek: split postmask component drm/mediatek: add mt8186 display support drivers/gpu/drm/mediatek/Makefile | 1 + drivers/gpu/drm/mediatek/mtk_disp_drv.h | 8 + drivers/gpu/drm/mediatek/mtk_disp_postmask.c | 155 +++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 30 +--- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 41 +++++ drivers/gpu/drm/mediatek/mtk_drm_drv.h | 1 + drivers/soc/mediatek/mt8186-mmsys.h | 113 ++++++++++++++ drivers/soc/mediatek/mtk-mmsys.c | 11 ++ drivers/soc/mediatek/mtk-mutex.c | 45 ++++++ 9 files changed, 378 insertions(+), 27 deletions(-) create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_postmask.c create mode 100644 drivers/soc/mediatek/mt8186-mmsys.h -- 2.25.1