Messages in this thread | | | From | Tomer Tayar <> | Subject | RE: [PATCH 2/2] habanalabs: handle barriers in DMA QMAN streams | Date | Tue, 31 Mar 2020 18:29:57 +0000 |
| |
On Sat, Mar 31, 2020 at 17:56, Oded Gabbay <oded.gabbay@gmail.com> wrote: > When we have DMA QMAN with multiple streams, we need to know > whether the > command buffer contains at least one DMA packet in order to configure the > barriers correctly when adding the 2xMSG_PROT at the end of the JOB. If > there is no DMA packet, then there is no need to put engine barrier. This > is relevant only for GAUDI as GOYA doesn't have streams so the engine can't > be busy by another stream. > > Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
| |