From: Daniel Vetter <daniel@ffwll.ch>
To: Stu Hsieh <stu.hsieh@mediatek.com>
Cc: Daniel Vetter <daniel@ffwll.ch>, CK Hu <ck.hu@mediatek.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, srv_heupstream@mediatek.com,
David Airlie <airlied@linux.ie>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
Rob Herring <robh+dt@kernel.org>,
linux-mediatek@lists.infradead.org,
Matthias Brugger <matthias.bgg@gmail.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v7 00/29] Add support for mediatek SOC MT2712
Date: Thu, 28 Jun 2018 08:02:28 +0200 [thread overview]
Message-ID: <20180628060228.GJ13978@phenom.ffwll.local> (raw)
In-Reply-To: <1530157537.11190.53.camel@mtksdccf07>
On Thu, Jun 28, 2018 at 11:45:37AM +0800, Stu Hsieh wrote:
> Hi, Daniel Vetter:
>
> On Mon, 2018-06-25 at 10:47 +0200, Daniel Vetter wrote:
> > On Wed, Jun 20, 2018 at 04:19:02PM +0800, Stu Hsieh wrote:
> > > This patch add support for the Mediatek MT2712 DISP subsystem.
> > > MT2712 is base on MT8173, there are some difference as following:
> > > MT2712 support three disp output(two ovl and one rdma)
> > >
> > > Change in v6:
> > > - Update commit message for the patch
> > > "drm/mediatek: Update the definition of connection from RDMA1 to DPI0"
> >
> > Just a drive-by comment on the mediatek driver:
> >
> > As far as I can see mtk_drm_gem.c reimplements the cma helpers as a
> > copypaste job. Any reasons why you're not using the normal cma helpers?
> >
> > Thanks, Daniel
> > >
>
> In the beginning, we develop mtk_drm_gem.c by referring other platform.
> We will try to use the normal cma helpers according to your idea.
Sounds great if you can do this as a longer-term refactoring task!
I discussed this also a bit with Philipp on irc, and he said there's
possible a need to support non-contig buffers in mtk. If that can't be
done using cma helpers (usually you have an iommu in such a case, which
again gives you a contig buffer in device-address space, and that can be
used by cma I think), then I think it would still be useful if you use the
cma helpers for the contig buffers. But then wrap them in some mtk code to
switch between the two.
Cheers, Daniel
>
> Thanks,
> Stu
>
> > > Stu Hsieh (29):
> > > drm/mediatek: update dt-bindings for mt2712
> > > drm/mediatek: support maximum 64 mutex mod
> > > drm/mediatek: add ddp component AAL1
> > > drm/mediatek: add ddp component OD1
> > > drm/mediatek: add ddp component PWM1
> > > drm/mediatek: add ddp component PWM2
> > > drm/mediatek: add component DPI1
> > > drm/mediatek: add component DSI2
> > > drm/mediatek: add component DSI3
> > > drm/mediatek: add the DSI1 for component init condition
> > > drm/mediatek: add connection from OD1 to RDMA1
> > > drm/mediatek: Update the definition of connection from RDMA1 to DPI0
> > > drm/mediatek: add connection from RDMA0 to DPI0
> > > drm/mediatek: add connection from RDMA0 to DSI2
> > > drm/mediatek: add connection from RDMA0 to DSI3
> > > drm/mediatek: add connection from RDMA1 to DPI1
> > > drm/mediatek: add connection from RDMA1 to DSI1
> > > drm/mediatek: add connection from RDMA1 to DSI2
> > > drm/mediatek: add connection from RDMA1 to DSI3
> > > drm/mediatek: add connection from RDMA2 to DPI0
> > > drm/mediatek: add connection from RDMA2 to DPI1
> > > drm/mediatek: add connection from RDMA2 to DSI1
> > > drm/mediatek: add connection from RDMA2 to DSI2
> > > drm/mediatek: add connection from RDMA2 to DSI3
> > > drm/mediatek: add DPI1 support for mutex
> > > drm/mediatek: add DSI2 support for mutex
> > > drm/mediatek: add DSI3 support for mutex
> > > drm/mediatek: add third ddp path
> > > drm/mediatek: Add support for mediatek SOC MT2712
> > >
> > > .../bindings/display/mediatek/mediatek,disp.txt | 2 +-
> > > drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 3 +
> > > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 235 ++++++++++++++++++---
> > > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 15 +-
> > > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 10 +-
> > > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 47 ++++-
> > > drivers/gpu/drm/mediatek/mtk_drm_drv.h | 5 +-
> > > 7 files changed, 274 insertions(+), 43 deletions(-)
> > >
> > > --
> > > 2.12.5
> > >
> > > _______________________________________________
> > > dri-devel mailing list
> > > dri-devel@lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/dri-devel
> >
>
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
next prev parent reply other threads:[~2018-06-28 6:02 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-20 8:19 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 01/29] drm/mediatek: update dt-bindings for mt2712 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 02/29] drm/mediatek: support maximum 64 mutex mod Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 03/29] drm/mediatek: add ddp component AAL1 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 04/29] drm/mediatek: add ddp component OD1 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 05/29] drm/mediatek: add ddp component PWM1 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 06/29] drm/mediatek: add ddp component PWM2 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 07/29] drm/mediatek: add component DPI1 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 08/29] drm/mediatek: add component DSI2 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 09/29] drm/mediatek: add component DSI3 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 10/29] drm/mediatek: add the DSI1 for component init condition Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 11/29] drm/mediatek: add connection from OD1 to RDMA1 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 12/29] drm/mediatek: Update the definition of connection from RDMA1 to DPI0 Stu Hsieh
2018-06-20 8:33 ` CK Hu
2018-06-20 8:19 ` [PATCH v7 13/29] drm/mediatek: add connection from RDMA0 " Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 14/29] drm/mediatek: add connection from RDMA0 to DSI2 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 15/29] drm/mediatek: add connection from RDMA0 to DSI3 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 16/29] drm/mediatek: add connection from RDMA1 to DPI1 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 17/29] drm/mediatek: add connection from RDMA1 to DSI1 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 18/29] drm/mediatek: add connection from RDMA1 to DSI2 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 19/29] drm/mediatek: add connection from RDMA1 to DSI3 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 20/29] drm/mediatek: add connection from RDMA2 to DPI0 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 21/29] drm/mediatek: add connection from RDMA2 to DPI1 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 22/29] drm/mediatek: add connection from RDMA2 to DSI1 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 23/29] drm/mediatek: add connection from RDMA2 to DSI2 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 24/29] drm/mediatek: add connection from RDMA2 to DSI3 Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 25/29] drm/mediatek: add DPI1 support for mutex Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 26/29] drm/mediatek: add DSI2 " Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 27/29] drm/mediatek: add DSI3 " Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 28/29] drm/mediatek: add third ddp path Stu Hsieh
2018-06-20 8:19 ` [PATCH v7 29/29] drm/mediatek: Add support for mediatek SOC MT2712 Stu Hsieh
2018-06-25 8:47 ` [PATCH v7 00/29] " Daniel Vetter
2018-06-28 3:45 ` Stu Hsieh
2018-06-28 6:02 ` Daniel Vetter [this message]
2018-07-02 1:39 ` CK Hu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180628060228.GJ13978@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=airlied@linux.ie \
--cc=ck.hu@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=matthias.bgg@gmail.com \
--cc=p.zabel@pengutronix.de \
--cc=robh+dt@kernel.org \
--cc=srv_heupstream@mediatek.com \
--cc=stu.hsieh@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®