diff options
| author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2020-05-06 10:25:09 +0200 |
|---|---|---|
| committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2020-05-14 13:44:35 +0200 |
| commit | 51b19950ca62abce05b00eef30d9ebbfb8b15f46 (patch) | |
| tree | 8df164e4d950c0e97fbc962087a05a4c20e6bebf /hw/ssi/xilinx_spips.c | |
| parent | e3a8926d0e91e6783157a9934bd6f59c7efaa992 (diff) | |
| download | focaccia-qemu-51b19950ca62abce05b00eef30d9ebbfb8b15f46.tar.gz focaccia-qemu-51b19950ca62abce05b00eef30d9ebbfb8b15f46.zip | |
hw/core: stream: Add an end-of-packet flag
Some stream clients stream an endless stream of data while other clients stream data in packets. Stream interfaces usually have a way to signal the end of a packet or the last beat of a transfer. This adds an end-of-packet flag to the push interface. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-Id: <20200506082513.18751-6-edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/ssi/xilinx_spips.c')
| -rw-r--r-- | hw/ssi/xilinx_spips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/xilinx_spips.c b/hw/ssi/xilinx_spips.c index c57850a505..4cfce882ab 100644 --- a/hw/ssi/xilinx_spips.c +++ b/hw/ssi/xilinx_spips.c @@ -868,7 +868,7 @@ static void xlnx_zynqmp_qspips_notify(void *opaque) memcpy(rq->dma_buf, rxd, num); - ret = stream_push(rq->dma, rq->dma_buf, num); + ret = stream_push(rq->dma, rq->dma_buf, num, false); assert(ret == num); xlnx_zynqmp_qspips_check_flush(rq); } |