Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2726925pxb; Sun, 15 Nov 2020 15:50:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVuyK9wnPMztyDg/XjlLj/TONHtVYRhNYBbYEVN4pQJ+wwePWNOsUvYN+RPjy5w1uEp2Wi X-Received: by 2002:aa7:d54b:: with SMTP id u11mr13657919edr.341.1605484229265; Sun, 15 Nov 2020 15:50:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605484229; cv=none; d=google.com; s=arc-20160816; b=k0o40X7otoJH5MLK5UpwQVwCPO1C210iMK7ma8DrLSsLRocj388bvFBINzPtD8VWxQ MRo1NZQyVmJ7qCnI3U/kEVI/KitY6m4uaLAdN+nJv18ISwzg4hNBK3a/ri5ZB6cotbh6 zagohIbfXoeMcFPc1rqHepv0KuX2Obrz4BjuJdUa5/sTlkIHw850x0rtTgSVqoAPsu/O pKQdWGelKVc2Tt8JsoHcBD5cYMs9BpOM3XnsispPsvOdvE0L4t82hbKEQGb+dggChICc dQ70U7U1+Bj/daSmDWYRYJCHplTxr7/OlYlZZDnP28J6vJkk/FGfYNjuhKdxG7NAxNuP +i2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=i3mXifefPBXJh66rik6ksh5jG3ElCifv0i4xjhjVmOM=; b=OVKbbPMUHKbXusA1UC7Lt2wcbrjmqIyQuR7duN78hFMG6lFfyhqlpzdeTeTenpa+/1 xd04G5bBpVsUE8y5XzBudajJVdgBN0Ef3Bf/dTwuS5yJzvSr5/hD1kCeKfLURchtu8bj qzEEhXbpeJbhrNJSEgQ6a9TYg8hS6rjKIbw0Dc4+OnyaOLRKdioKTWmePUKEDA0Vrchl CMjQ8x3U8zU3m/mqu95683emvSTzaWpWtiXGk1UmqSzmwF+vAYKlENWe4ywqWf8fm6/H nThwrIfS/gXLAO4JQGk24KQV/vT7xRKgRyPH6kCjf/8ili9hR2JDeC2y9kR6pE40kS29 4UcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zNe+9Bds; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e15si10301507ejr.176.2020.11.15.15.50.06; Sun, 15 Nov 2020 15:50:29 -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; dkim=pass header.i=@kernel.org header.s=default header.b=zNe+9Bds; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726970AbgKOXd1 (ORCPT + 99 others); Sun, 15 Nov 2020 18:33:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:37376 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbgKOXd0 (ORCPT ); Sun, 15 Nov 2020 18:33:26 -0500 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9D73322453 for ; Sun, 15 Nov 2020 23:33:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605483205; bh=AxjPWHiAXimR3BwkGu8Fq6s+JPSbGYc4j1v6w0slZqU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=zNe+9BdsyFczGaIH+LDVLTlcFnYB7CoBtFB5N5EKdyKvAHRcGPsJtMLWZr5LoZHiO XyFg9n3dSQyNL2Ysote/LTsaY5HNlyE0fxKlA4g62mGy72Tm38E0/Pn569V51YVAk2 74sqrbMgK1xvZsQHUmkwHR+D4jEMyKFi7ApbqoQE= Received: by mail-ej1-f44.google.com with SMTP id f20so21930236ejz.4 for ; Sun, 15 Nov 2020 15:33:25 -0800 (PST) X-Gm-Message-State: AOAM530aenaKTVtoeThx4cr+0Dj1avDfAz7xDZiTh8FP0ekePXVtfCGP ZC/d7mEu1IoO4YVpvuytB1W6iBeJIe1hcyiNuw== X-Received: by 2002:a17:906:5a96:: with SMTP id l22mr12127130ejq.303.1605483204156; Sun, 15 Nov 2020 15:33:24 -0800 (PST) MIME-Version: 1.0 References: <20201103003422.17838-1-chunkuang.hu@kernel.org> In-Reply-To: <20201103003422.17838-1-chunkuang.hu@kernel.org> From: Chun-Kuang Hu Date: Mon, 16 Nov 2020 07:33:13 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/11] Decouple Mediatek DRM sub driver To: Chun-Kuang Hu Cc: Philipp Zabel , David Airlie , Daniel Vetter , linux-kernel , DRI Development , "moderated list:ARM/Mediatek SoC support" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chun-Kuang Hu =E6=96=BC 2020=E5=B9=B411=E6=9C=883= =E6=97=A5 =E9=80=B1=E4=BA=8C =E4=B8=8A=E5=8D=888:34=E5=AF=AB=E9=81=93=EF=BC= =9A > > mtk ccorr is controlled by DRM and MDP [1]. In order to share > mtk_ccorr driver for DRM and MDP, decouple Mediatek DRM sub driver > which include mtk_ccorr, so MDP could use this decoupled mtk_ccorr. Applied the whole series into mediatek-drm-next [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/= log/?h=3Dmediatek-drm-next Regards, Chun-Kuang. > > [1] https://patchwork.kernel.org/patch/11140751/ > > CK Hu (9): > drm/mediatek: Move clk info from struct mtk_ddp_comp to sub driver > private data > drm/mediatek: Move regs info from struct mtk_ddp_comp to sub driver > private data > drm/mediatek: Remove irq in struct mtk_ddp_comp > drm/mediatek: Use struct cmdq_client_reg to gather cmdq variable > drm/mediatek: Move cmdq_reg info from struct mtk_ddp_comp to sub > driver private data > drm/mediatek: Change sub driver interface from mtk_ddp_comp to device > drm/mediatek: Register vblank callback function > drm/mediatek: DRM driver directly refer to sub driver's function > drm/mediatek: Move mtk_ddp_comp_init() from sub driver to DRM driver > > Chun-Kuang Hu (2): > drm/mediatek: Get CMDQ client register for all ddp component > drm/mediatek: Use correct device pointer to get CMDQ client register > > drivers/gpu/drm/mediatek/mtk_disp_color.c | 86 ++--- > drivers/gpu/drm/mediatek/mtk_disp_drv.h | 69 ++++ > drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 215 ++++++----- > drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 169 +++++---- > drivers/gpu/drm/mediatek/mtk_dpi.c | 44 +-- > drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 75 ++-- > drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 1 - > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 389 ++++++++++++-------- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 100 ++--- > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 30 +- > drivers/gpu/drm/mediatek/mtk_drm_drv.h | 2 +- > drivers/gpu/drm/mediatek/mtk_dsi.c | 47 +-- > 12 files changed, 658 insertions(+), 569 deletions(-) > create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_drv.h > > -- > 2.17.1 >