From: Jeffrey Hugo <quic_jhugo@quicinc.com>
To: Lizhi Hou <lizhi.hou@amd.com>, <ogabbay@kernel.org>,
<dri-devel@lists.freedesktop.org>
Cc: <linux-kernel@vger.kernel.org>, <min.ma@amd.com>,
<max.zhen@amd.com>, <sonal.santan@amd.com>, <king.tam@amd.com>
Subject: Re: [PATCH V4 06/10] accel/amdxdna: Add GEM buffer object management
Date: Fri, 18 Oct 2024 14:49:08 -0600 [thread overview]
Message-ID: <3696e980-1bb9-db9e-acea-e04762c8166a@quicinc.com> (raw)
In-Reply-To: <20241011231244.3182625-7-lizhi.hou@amd.com>
On 10/11/2024 5:12 PM, Lizhi Hou wrote:
> There different types of BOs are supported:
>
> - shmem
> A user application uses shmem BOs as input/output for its workload running
> on NPU.
>
> - device memory heap
> The fixed size buffer dedicated to the device.
>
> - device buffer
> The buffer object allocated from device memory heap.
>
> - command buffer
> The buffer object created for delivering commands. The command buffer
> object is small and pinned on creation.
>
> New IOCTLs are added: CREATE_BO, GET_BO_INFO, SYNC_BO. SYNC_BO is used
> to explicitly flush CPU cache for BO memory.
>
> Co-developed-by: Min Ma <min.ma@amd.com>
> Signed-off-by: Min Ma <min.ma@amd.com>
> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
next prev parent reply other threads:[~2024-10-18 20:49 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-11 23:12 [PATCH V4 00/10] AMD XDNA driver Lizhi Hou
2024-10-11 23:12 ` [PATCH V4 01/10] accel/amdxdna: Add documentation for AMD NPU accelerator driver Lizhi Hou
2024-10-18 20:24 ` Jeffrey Hugo
2024-10-11 23:12 ` [PATCH V4 02/10] accel/amdxdna: Add a new driver for AMD AI Engine Lizhi Hou
2024-10-18 20:31 ` Jeffrey Hugo
2024-10-11 23:12 ` [PATCH V4 03/10] accel/amdxdna: Support hardware mailbox Lizhi Hou
2024-10-18 20:34 ` Jeffrey Hugo
2024-10-11 23:12 ` [PATCH V4 04/10] accel/amdxdna: Add hardware resource solver Lizhi Hou
2024-10-11 23:12 ` [PATCH V4 05/10] accel/amdxdna: Add hardware context Lizhi Hou
2024-10-18 20:47 ` Jeffrey Hugo
2024-10-11 23:12 ` [PATCH V4 06/10] accel/amdxdna: Add GEM buffer object management Lizhi Hou
2024-10-18 20:49 ` Jeffrey Hugo [this message]
2024-10-11 23:12 ` [PATCH V4 07/10] accel/amdxdna: Add command execution Lizhi Hou
2024-10-15 2:13 ` Matthew Brost
2024-10-17 3:53 ` Lizhi Hou
2024-10-17 15:51 ` Matthew Brost
2024-10-11 23:12 ` [PATCH V4 08/10] accel/amdxdna: Add suspend and resume Lizhi Hou
2024-10-18 20:53 ` Jeffrey Hugo
2024-10-11 23:12 ` [PATCH V4 09/10] accel/amdxdna: Add error handling Lizhi Hou
2024-10-18 21:01 ` Jeffrey Hugo
2024-10-18 21:19 ` Lizhi Hou
2024-10-11 23:12 ` [PATCH V4 10/10] accel/amdxdna: Add query functions Lizhi Hou
2024-10-18 21:07 ` Jeffrey Hugo
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=3696e980-1bb9-db9e-acea-e04762c8166a@quicinc.com \
--to=quic_jhugo@quicinc.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=king.tam@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizhi.hou@amd.com \
--cc=max.zhen@amd.com \
--cc=min.ma@amd.com \
--cc=ogabbay@kernel.org \
--cc=sonal.santan@amd.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