linux_dsm_epyc7002/include/linux/fpga
Jason Gunthorpe 1d7f1589d3 fpga: Clarify how write_init works streaming modes
This interface was designed for streaming, but write_init's buf
argument has an unclear purpose. Define it to be the first bytes
of the bitstream. Each driver gets to set how many bytes (at most)
it wants to see. Short bitstreams will be passed through as-is, while
long ones will be truncated.

The intent is to allow drivers to peek at the header before the transfer
actually starts.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Acked-by: Alan Tull <atull@opensource.altera.com>
2016-11-29 15:51:49 -06:00
..
fpga-bridge.h fpga: add fpga bridge framework 2016-11-10 17:03:35 +01:00
fpga-mgr.h fpga: Clarify how write_init works streaming modes 2016-11-29 15:51:49 -06:00