From: Alexandre Bailon <abailon@baylibre.com>
To: linux-remoteproc@vger.kernel.org, ohad@wizery.com,
gpain@baylibre.com, stephane.leprovost@mediatek.com,
jstephan@baylibre.com, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org,
mturquette@baylibre.com, bjorn.andersson@linaro.org,
christian.koenig@amd.com, linux-media@vger.kernel.org
Subject: Re: [RFC PATCH 0/4] Add a RPMsg driver to support AI Processing Unit (APU)
Date: Thu, 1 Oct 2020 19:28:27 +0200 [thread overview]
Message-ID: <8e4bb739-c3b3-d790-e8e3-dd5df2d6f869@baylibre.com> (raw)
In-Reply-To: <20201001084856.GC438822@phenom.ffwll.local>
Hi Daniel,
On 10/1/20 10:48 AM, Daniel Vetter wrote:
> On Wed, Sep 30, 2020 at 01:53:46PM +0200, Alexandre Bailon wrote:
>> This adds a RPMsg driver that implements communication between the CPU and an
>> APU.
>> This uses VirtIO buffer to exchange messages but for sharing data, this uses
>> a dmabuf, mapped to be shared between CPU (userspace) and APU.
>> The driver is relatively generic, and should work with any SoC implementing
>> hardware accelerator for AI if they use support remoteproc and VirtIO.
>>
>> For the people interested by the firmware or userspace library,
>> the sources are available here:
>> https://github.com/BayLibre/open-amp/tree/v2020.01-mtk/apps/examples/apu
> Since this has open userspace (from a very cursory look), and smells very
> much like an acceleration driver, and seems to use dma-buf for memory
> management: Why is this not just a drm driver?
I have never though to DRM since for me it was only a RPMsg driver.
I don't know well DRM. Could you tell me how you would do it so I could
have a look ?
Thanks,
Alexandre
> -Daniel
>
>> Alexandre Bailon (3):
>> Add a RPMSG driver for the APU in the mt8183
>> rpmsg: apu_rpmsg: update the way to store IOMMU mapping
>> rpmsg: apu_rpmsg: Add an IOCTL to request IOMMU mapping
>>
>> Julien STEPHAN (1):
>> rpmsg: apu_rpmsg: Add support for async apu request
>>
>> drivers/rpmsg/Kconfig | 9 +
>> drivers/rpmsg/Makefile | 1 +
>> drivers/rpmsg/apu_rpmsg.c | 752 +++++++++++++++++++++++++++++++++
>> drivers/rpmsg/apu_rpmsg.h | 52 +++
>> include/uapi/linux/apu_rpmsg.h | 47 +++
>> 5 files changed, 861 insertions(+)
>> create mode 100644 drivers/rpmsg/apu_rpmsg.c
>> create mode 100644 drivers/rpmsg/apu_rpmsg.h
>> create mode 100644 include/uapi/linux/apu_rpmsg.h
>>
>> --
>> 2.26.2
>>
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2020-10-01 17:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-30 11:53 [RFC PATCH 0/4] Add a RPMsg driver to support AI Processing Unit (APU) Alexandre Bailon
2020-09-30 11:53 ` [RFC PATCH 1/4] Add a RPMSG driver for the APU in the mt8183 Alexandre Bailon
2020-10-14 22:55 ` Mathieu Poirier
2020-10-15 16:33 ` Mathieu Poirier
2021-07-20 8:24 ` Alexandre Bailon
2020-09-30 11:53 ` [RFC PATCH 2/4] rpmsg: apu_rpmsg: Add support for async apu request Alexandre Bailon
2020-09-30 11:53 ` [RFC PATCH 3/4] rpmsg: apu_rpmsg: update the way to store IOMMU mapping Alexandre Bailon
2020-09-30 11:53 ` [RFC PATCH 4/4] rpmsg: apu_rpmsg: Add an IOCTL to request " Alexandre Bailon
2020-10-01 8:48 ` [RFC PATCH 0/4] Add a RPMsg driver to support AI Processing Unit (APU) Daniel Vetter
2020-10-01 17:28 ` Alexandre Bailon [this message]
2020-10-02 9:35 ` Daniel Vetter
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=8e4bb739-c3b3-d790-e8e3-dd5df2d6f869@baylibre.com \
--to=abailon@baylibre.com \
--cc=bjorn.andersson@linaro.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gpain@baylibre.com \
--cc=jstephan@baylibre.com \
--cc=linaro-mm-sig@lists.linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=ohad@wizery.com \
--cc=stephane.leprovost@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;
as well as URLs for NNTP newsgroup(s).