Re: [PATCH 08/10] accel/ivpu: Disable buffer sharing among VPU contexts

2024-01-10 Thread Jacek Lawrynowicz
On 05.01.2024 23:34, Carl Vanderlip wrote: > > On 1/5/2024 3:22 AM, Jacek Lawrynowicz wrote: >> Imported buffer from another VPU context will now have just reference >> increased and there will be a single sgt fixing above problem but >> buffers still can't be shared among VPU contexts because eac

Re: [PATCH 08/10] accel/ivpu: Disable buffer sharing among VPU contexts

2024-01-10 Thread Jacek Lawrynowicz
On 05.01.2024 17:46, Jeffrey Hugo wrote: > On 1/5/2024 4:22 AM, Jacek Lawrynowicz wrote: >> This was not supported properly. A buffer was imported to another VPU >> context as a separate buffer object with duplicated sgt. >> Both exported and imported buffers could be DMA mapped causing a double >>

Re: [PATCH 08/10] accel/ivpu: Disable buffer sharing among VPU contexts

2024-01-05 Thread Carl Vanderlip
On 1/5/2024 3:22 AM, Jacek Lawrynowicz wrote: Imported buffer from another VPU context will now have just reference increased and there will be a single sgt fixing above problem but buffers still can't be shared among VPU contexts because each context have its own MMU mapping and ivpu_bo suppor

Re: [PATCH 08/10] accel/ivpu: Disable buffer sharing among VPU contexts

2024-01-05 Thread Jeffrey Hugo
On 1/5/2024 4:22 AM, Jacek Lawrynowicz wrote: This was not supported properly. A buffer was imported to another VPU context as a separate buffer object with duplicated sgt. Both exported and imported buffers could be DMA mapped causing a double mapping on the same device. Imported buffer from an

[PATCH 08/10] accel/ivpu: Disable buffer sharing among VPU contexts

2024-01-05 Thread Jacek Lawrynowicz
This was not supported properly. A buffer was imported to another VPU context as a separate buffer object with duplicated sgt. Both exported and imported buffers could be DMA mapped causing a double mapping on the same device. Imported buffer from another VPU context will now have just reference i