Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp764641pxb; Sat, 21 Aug 2021 18:18:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDnYqjfwlEQUC9OXbf3qDuCwnQeBjHyfpG4NcfybRj7fMMlMhMuMy/mSRQo5dDooyrxar6 X-Received: by 2002:a05:6402:40d4:: with SMTP id z20mr29539988edb.314.1629595084287; Sat, 21 Aug 2021 18:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629595084; cv=none; d=google.com; s=arc-20160816; b=yMojPnuTdKZqGIPcq5e+iaa9MUS/IPu8wj8E8V8IWxJGqYicJDhmeuU/IOgykzWu1F boIKnH9AOnbFPNazL6AL92thDRvLlPfw2VOJBpSjzxsaI1seHpkIPccCk6bXHQAYmo05 FMF3/yKHocorko6jLxbQw8X5MwYlp+INLLvQDvXRSfE0qccUp0ggosfy9Nw2AMT57yQs 9xd2WD/XdzUe9/Rkh1+7f83ffxP9zBWKWJ741vkLr5iGWPwx2fSllg4Hs4/WYMamKJqb zih+GXRS7n4NkcUuzS3UL+exzffXhlqlx1vzyXoXpaDDltfDOxRirILDHMFb7e91b0hO kEYA== 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=8W3yNw2pz+QAuSxZuT7VeZudhxzeNivvLIch+ZUKWWY=; b=UD0RTGm1VQOQ4zlVdCJTv7ESrGRs2EdRxipwgu2QHHdRFFftoH9YdWcKw1zNOMQnX9 jwmagT7OvD+BzExBwUGDx7DZzs7vFNXiLBxLDc9+MTje4p0OOKMesRQaW0mG0NHewX/s 0+v8KuuJEGl33K1gbbF2lTtkdUo9R/o2G8u5rJMqAdc/nivAdZvUXzbfi5mpIft8PGz7 bXdzKdCpW9nT/hQ1ZzaO3kNwwqd8Pf0I9vhIG3Oed2gEKZkUe4wq3diznPvCAky26Qny ZJRFu1eJvQTZOE68R1IFFUPeoj87TQRh5ZcQinUY2QZlNiEyG5t+ZNEcz2dFTosFDcCz ALyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o7jAL41c; 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 y3si10124175eds.548.2021.08.21.18.17.13; Sat, 21 Aug 2021 18:18:04 -0700 (PDT) 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=k20201202 header.b=o7jAL41c; 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 S230387AbhHVBPS (ORCPT + 99 others); Sat, 21 Aug 2021 21:15:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:46692 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229950AbhHVBPR (ORCPT ); Sat, 21 Aug 2021 21:15:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 017F76128A; Sun, 22 Aug 2021 01:14:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629594877; bh=zCzuD/gSEAZz6whQU8OxleDxwzLhRBG1uIqnRGpvqP8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=o7jAL41cV1Q05ea7fZSRvzv0vZ5APxyLyXwqZQX5/Qab2O1tdaSDk66vm/LNZy8fo U0wrcOc69+Sfa1T/XIcGMMf8oR5/fPHm+Vk+TDsqcrYosh8V+5qdko8InUVg+19TwD zWTmsHpkn+PPv4mbUgW6RZ5P7yUSNikeFdOcZ6DKmhm3k0+s6Janm0YtbJ6PlFG3uR UQM+8zDahpFfnfm0AljOy2ZR4ana+oP+ZWw8HPdRCjHNHZQqFGLXKZfnSYqjRE7osf tzfLxf/C2/NFw/n/U1dSm6059t7bAu6T1APRfPPyg/S4WI0C35xLNLuyxptlp34MHe lbQJxoXBsePkQ== Received: by mail-ej1-f43.google.com with SMTP id ia27so6244577ejc.10; Sat, 21 Aug 2021 18:14:36 -0700 (PDT) X-Gm-Message-State: AOAM532DSMnfyJmLpdw40m9wqy0mmB+tbWHHlonspaFRNbFzgo1O4i02 z1XQDbkozJwx/aJD32R1RH0Gqm1OpZBoEATK/Q== X-Received: by 2002:a17:906:b18e:: with SMTP id w14mr28931433ejy.63.1629594875631; Sat, 21 Aug 2021 18:14:35 -0700 (PDT) MIME-Version: 1.0 References: <20210818091847.8060-1-nancy.lin@mediatek.com> <20210818091847.8060-16-nancy.lin@mediatek.com> In-Reply-To: <20210818091847.8060-16-nancy.lin@mediatek.com> From: Chun-Kuang Hu Date: Sun, 22 Aug 2021 09:14:24 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 15/15] drm/mediatek: add mediatek-drm of vdosys1 support for MT8195 To: "Nancy.Lin" Cc: CK Hu , Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Matthias Brugger , "jason-jh . lin" , Yongqiang Niu , DRI Development , "moderated list:ARM/Mediatek SoC support" , DTML , linux-kernel , Linux ARM , singo.chang@mediatek.com, srv_heupstream Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Nancy: Nancy.Lin =E6=96=BC 2021=E5=B9=B48=E6=9C=8818=E6= =97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=885:18=E5=AF=AB=E9=81=93=EF=BC=9A > > Add driver data of mt8195 vdosys1 to mediatek-drm and modify drm for > multi-mmsys support. The two mmsys (vdosys0 and vdosys1) will bring > up two drm drivers, only one drm driver register as the drm device. > Each drm driver binds its own component. The first bind drm driver > will allocate the drm device, and the last bind drm driver registers > the drm device to drm core. Each crtc path is created with the > corresponding drm driver data. > > Signed-off-by: Nancy.Lin > > > +static const struct mtk_ddp_comp_funcs ddp_ovl_adaptor =3D { > + .clk_enable =3D mtk_ethdr_clk_enable, > + .clk_disable =3D mtk_ethdr_clk_disable, > + .config =3D mtk_ethdr_config, > + .start =3D mtk_ethdr_start, > + .stop =3D mtk_ethdr_stop, > + .layer_nr =3D mtk_ethdr_layer_nr, > + .layer_config =3D mtk_ethdr_layer_config, > + .enable_vblank =3D mtk_ethdr_enable_vblank, > + .disable_vblank =3D mtk_ethdr_disable_vblank, > +}; I think ethdr is inside the group of ovl_adpator. I preter this function is implemented by ovl_adaptor, and ovl_adaptor control rdma, merge, ethdr. Regards, Chun-Kuang. > + >