/** * DOC: Streams * * Commands are submitted to the kernel driver in the form of streams. * * A command stream has the following layout : * - A 64-bit header containing: * * A u32 containing the length of the main stream inclusive of the length of the header. * * A u32 for padding. * - The main stream data. * - The extension stream (optional), which is composed of: * * One or more headers. * * The extension stream data, corresponding to the extension headers. * * The main stream provides the base command data. This has a fixed layout based on the features * supported by a given GPU. * * The extension stream provides the command parameters that are required for BRNs & ERNs for the * current GPU. This stream is comprised of one or more headers, followed by data for each given * BRN/ERN. * * Each header is a u32 containing a bitmask of quirks & enhancements in the extension stream, a * "type" field determining the set of quirks & enhancements the bitmask represents, and a * continuation bit determining whether any more headers are present. The headers are then followed * by command data; this is specific to each quirk/enhancement. All unused / reserved bits in the * header must be set to 0. * * All parameters and headers in the main and extension streams must be naturally aligned. * * If a parameter appears in both the main and extension streams, then the extension parameter is * used.
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.