• O
    habanalabs: handle barriers in DMA QMAN streams · 926ba4cc
    Oded Gabbay 提交于
    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.
    Reviewed-by: NTomer Tayar <ttayar@habana.ai>
    Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
    926ba4cc
goya.c 143.3 KB