Re: [PATCH V2 04/10] accel/amdxdna: Add hardware context

2024-08-08 Thread Lizhi Hou
On 8/8/24 14:34, Alex Deucher wrote: On Mon, Aug 5, 2024 at 1:50 PM Lizhi Hou wrote: The hardware can be shared among multiple user applications. The hardware resources are allocated/freed based on the request from user application via driver IOCTLs. DRM_IOCTL_AMDXDNA_CREATE_HWCTX Allocate t

Re: [PATCH V2 04/10] accel/amdxdna: Add hardware context

2024-08-08 Thread Alex Deucher
On Mon, Aug 5, 2024 at 1:50 PM Lizhi Hou wrote: > > The hardware can be shared among multiple user applications. The > hardware resources are allocated/freed based on the request from > user application via driver IOCTLs. > > DRM_IOCTL_AMDXDNA_CREATE_HWCTX > Allocate tile columns and create a hard

[PATCH V2 04/10] accel/amdxdna: Add hardware context

2024-08-05 Thread Lizhi Hou
The hardware can be shared among multiple user applications. The hardware resources are allocated/freed based on the request from user application via driver IOCTLs. DRM_IOCTL_AMDXDNA_CREATE_HWCTX Allocate tile columns and create a hardware context structure to track the usage and status of the re