RE: [PATCH 2/2] habanalabs: handle barriers in DMA QMAN streams
From: Tomer Tayar
Date: Tue Mar 31 2020 - 14:30:01 EST
On Sat, Mar 31, 2020 at 17:56, Oded Gabbay <oded.gabbay@xxxxxxxxx> 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@xxxxxxxxx>
Reviewed-by: Tomer Tayar <ttayar@xxxxxxxxx>