[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3696e980-1bb9-db9e-acea-e04762c8166a@quicinc.com>
Date: Fri, 18 Oct 2024 14:49:08 -0600
From: Jeffrey Hugo <quic_jhugo@...cinc.com>
To: Lizhi Hou <lizhi.hou@....com>, <ogabbay@...nel.org>,
<dri-devel@...ts.freedesktop.org>
CC: <linux-kernel@...r.kernel.org>, <min.ma@....com>, <max.zhen@....com>,
<sonal.santan@....com>, <king.tam@....com>
Subject: Re: [PATCH V4 06/10] accel/amdxdna: Add GEM buffer object management
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@....com>
> Signed-off-by: Min Ma <min.ma@....com>
> Signed-off-by: Lizhi Hou <lizhi.hou@....com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@...cinc.com>
Powered by blists - more mailing lists