linux/drivers/gpu/drm/etnaviv/cmdstream.xml.h

#ifndef CMDSTREAM_XML
#define CMDSTREAM_XML

/* Autogenerated file, DO NOT EDIT manually!

This file was generated by the rules-ng-ng headergen tool in this git repository:
http://0x04.net/cgit/index.cgi/rules-ng-ng
git clone git://0x04.net/rules-ng-ng

The rules-ng-ng source files this header was generated from are:
- cmdstream.xml (  16933 bytes, from 2023-12-11 15:50:17)
- copyright.xml (   1597 bytes, from 2016-11-10 13:58:32)
- common.xml    (  35664 bytes, from 2023-12-06 10:55:32)

Copyright (C) 2012-2023 by the following authors:
- Wladimir J. van der Laan <[email protected]>
- Christian Gmeiner <[email protected]>
- Lucas Stach <[email protected]>
- Russell King <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sub license,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice (including the
next paragraph) shall be included in all copies or substantial portions
of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/


#define FE_OPCODE_LOAD_STATE
#define FE_OPCODE_END
#define FE_OPCODE_NOP
#define FE_OPCODE_DRAW_2D
#define FE_OPCODE_DRAW_PRIMITIVES
#define FE_OPCODE_DRAW_INDEXED_PRIMITIVES
#define FE_OPCODE_WAIT
#define FE_OPCODE_LINK
#define FE_OPCODE_STALL
#define FE_OPCODE_CALL
#define FE_OPCODE_RETURN
#define FE_OPCODE_DRAW_INSTANCED
#define FE_OPCODE_CHIP_SELECT
#define FE_OPCODE_WAIT_FENCE
#define FE_OPCODE_DRAW_INDIRECT
#define FE_OPCODE_SNAP_PAGES
#define PRIMITIVE_TYPE_POINTS
#define PRIMITIVE_TYPE_LINES
#define PRIMITIVE_TYPE_LINE_STRIP
#define PRIMITIVE_TYPE_TRIANGLES
#define PRIMITIVE_TYPE_TRIANGLE_STRIP
#define PRIMITIVE_TYPE_TRIANGLE_FAN
#define PRIMITIVE_TYPE_LINE_LOOP
#define PRIMITIVE_TYPE_QUADS
#define VIV_FE_LOAD_STATE

#define VIV_FE_LOAD_STATE_HEADER
#define VIV_FE_LOAD_STATE_HEADER_OP__MASK
#define VIV_FE_LOAD_STATE_HEADER_OP__SHIFT
#define VIV_FE_LOAD_STATE_HEADER_OP_LOAD_STATE
#define VIV_FE_LOAD_STATE_HEADER_FIXP
#define VIV_FE_LOAD_STATE_HEADER_COUNT__MASK
#define VIV_FE_LOAD_STATE_HEADER_COUNT__SHIFT
#define VIV_FE_LOAD_STATE_HEADER_COUNT(x)
#define VIV_FE_LOAD_STATE_HEADER_OFFSET__MASK
#define VIV_FE_LOAD_STATE_HEADER_OFFSET__SHIFT
#define VIV_FE_LOAD_STATE_HEADER_OFFSET(x)
#define VIV_FE_LOAD_STATE_HEADER_OFFSET__SHR

#define VIV_FE_END

#define VIV_FE_END_HEADER
#define VIV_FE_END_HEADER_EVENT_ID__MASK
#define VIV_FE_END_HEADER_EVENT_ID__SHIFT
#define VIV_FE_END_HEADER_EVENT_ID(x)
#define VIV_FE_END_HEADER_EVENT_ENABLE
#define VIV_FE_END_HEADER_OP__MASK
#define VIV_FE_END_HEADER_OP__SHIFT
#define VIV_FE_END_HEADER_OP_END

#define VIV_FE_NOP

#define VIV_FE_NOP_HEADER
#define VIV_FE_NOP_HEADER_OP__MASK
#define VIV_FE_NOP_HEADER_OP__SHIFT
#define VIV_FE_NOP_HEADER_OP_NOP

#define VIV_FE_DRAW_2D

#define VIV_FE_DRAW_2D_HEADER
#define VIV_FE_DRAW_2D_HEADER_COUNT__MASK
#define VIV_FE_DRAW_2D_HEADER_COUNT__SHIFT
#define VIV_FE_DRAW_2D_HEADER_COUNT(x)
#define VIV_FE_DRAW_2D_HEADER_DATA_COUNT__MASK
#define VIV_FE_DRAW_2D_HEADER_DATA_COUNT__SHIFT
#define VIV_FE_DRAW_2D_HEADER_DATA_COUNT(x)
#define VIV_FE_DRAW_2D_HEADER_OP__MASK
#define VIV_FE_DRAW_2D_HEADER_OP__SHIFT
#define VIV_FE_DRAW_2D_HEADER_OP_DRAW_2D

#define VIV_FE_DRAW_2D_TOP_LEFT
#define VIV_FE_DRAW_2D_TOP_LEFT_X__MASK
#define VIV_FE_DRAW_2D_TOP_LEFT_X__SHIFT
#define VIV_FE_DRAW_2D_TOP_LEFT_X(x)
#define VIV_FE_DRAW_2D_TOP_LEFT_Y__MASK
#define VIV_FE_DRAW_2D_TOP_LEFT_Y__SHIFT
#define VIV_FE_DRAW_2D_TOP_LEFT_Y(x)

#define VIV_FE_DRAW_2D_BOTTOM_RIGHT
#define VIV_FE_DRAW_2D_BOTTOM_RIGHT_X__MASK
#define VIV_FE_DRAW_2D_BOTTOM_RIGHT_X__SHIFT
#define VIV_FE_DRAW_2D_BOTTOM_RIGHT_X(x)
#define VIV_FE_DRAW_2D_BOTTOM_RIGHT_Y__MASK
#define VIV_FE_DRAW_2D_BOTTOM_RIGHT_Y__SHIFT
#define VIV_FE_DRAW_2D_BOTTOM_RIGHT_Y(x)

#define VIV_FE_DRAW_PRIMITIVES

#define VIV_FE_DRAW_PRIMITIVES_HEADER
#define VIV_FE_DRAW_PRIMITIVES_HEADER_OP__MASK
#define VIV_FE_DRAW_PRIMITIVES_HEADER_OP__SHIFT
#define VIV_FE_DRAW_PRIMITIVES_HEADER_OP_DRAW_PRIMITIVES

#define VIV_FE_DRAW_PRIMITIVES_COMMAND
#define VIV_FE_DRAW_PRIMITIVES_COMMAND_TYPE__MASK
#define VIV_FE_DRAW_PRIMITIVES_COMMAND_TYPE__SHIFT
#define VIV_FE_DRAW_PRIMITIVES_COMMAND_TYPE(x)

#define VIV_FE_DRAW_PRIMITIVES_START

#define VIV_FE_DRAW_PRIMITIVES_COUNT

#define VIV_FE_DRAW_INDEXED_PRIMITIVES

#define VIV_FE_DRAW_INDEXED_PRIMITIVES_HEADER
#define VIV_FE_DRAW_INDEXED_PRIMITIVES_HEADER_OP__MASK
#define VIV_FE_DRAW_INDEXED_PRIMITIVES_HEADER_OP__SHIFT
#define VIV_FE_DRAW_INDEXED_PRIMITIVES_HEADER_OP_DRAW_INDEXED_PRIMITIVES

#define VIV_FE_DRAW_INDEXED_PRIMITIVES_COMMAND
#define VIV_FE_DRAW_INDEXED_PRIMITIVES_COMMAND_TYPE__MASK
#define VIV_FE_DRAW_INDEXED_PRIMITIVES_COMMAND_TYPE__SHIFT
#define VIV_FE_DRAW_INDEXED_PRIMITIVES_COMMAND_TYPE(x)

#define VIV_FE_DRAW_INDEXED_PRIMITIVES_START

#define VIV_FE_DRAW_INDEXED_PRIMITIVES_COUNT

#define VIV_FE_DRAW_INDEXED_PRIMITIVES_OFFSET

#define VIV_FE_WAIT

#define VIV_FE_WAIT_HEADER
#define VIV_FE_WAIT_HEADER_DELAY__MASK
#define VIV_FE_WAIT_HEADER_DELAY__SHIFT
#define VIV_FE_WAIT_HEADER_DELAY(x)
#define VIV_FE_WAIT_HEADER_OP__MASK
#define VIV_FE_WAIT_HEADER_OP__SHIFT
#define VIV_FE_WAIT_HEADER_OP_WAIT

#define VIV_FE_LINK

#define VIV_FE_LINK_HEADER
#define VIV_FE_LINK_HEADER_PREFETCH__MASK
#define VIV_FE_LINK_HEADER_PREFETCH__SHIFT
#define VIV_FE_LINK_HEADER_PREFETCH(x)
#define VIV_FE_LINK_HEADER_OP__MASK
#define VIV_FE_LINK_HEADER_OP__SHIFT
#define VIV_FE_LINK_HEADER_OP_LINK

#define VIV_FE_LINK_ADDRESS

#define VIV_FE_STALL

#define VIV_FE_STALL_HEADER
#define VIV_FE_STALL_HEADER_OP__MASK
#define VIV_FE_STALL_HEADER_OP__SHIFT
#define VIV_FE_STALL_HEADER_OP_STALL

#define VIV_FE_STALL_TOKEN
#define VIV_FE_STALL_TOKEN_FROM__MASK
#define VIV_FE_STALL_TOKEN_FROM__SHIFT
#define VIV_FE_STALL_TOKEN_FROM(x)
#define VIV_FE_STALL_TOKEN_TO__MASK
#define VIV_FE_STALL_TOKEN_TO__SHIFT
#define VIV_FE_STALL_TOKEN_TO(x)
#define VIV_FE_STALL_TOKEN_UNK28__MASK
#define VIV_FE_STALL_TOKEN_UNK28__SHIFT
#define VIV_FE_STALL_TOKEN_UNK28(x)

#define VIV_FE_CALL

#define VIV_FE_CALL_HEADER
#define VIV_FE_CALL_HEADER_PREFETCH__MASK
#define VIV_FE_CALL_HEADER_PREFETCH__SHIFT
#define VIV_FE_CALL_HEADER_PREFETCH(x)
#define VIV_FE_CALL_HEADER_OP__MASK
#define VIV_FE_CALL_HEADER_OP__SHIFT
#define VIV_FE_CALL_HEADER_OP_CALL

#define VIV_FE_CALL_ADDRESS

#define VIV_FE_CALL_RETURN_PREFETCH

#define VIV_FE_CALL_RETURN_ADDRESS

#define VIV_FE_RETURN

#define VIV_FE_RETURN_HEADER
#define VIV_FE_RETURN_HEADER_OP__MASK
#define VIV_FE_RETURN_HEADER_OP__SHIFT
#define VIV_FE_RETURN_HEADER_OP_RETURN

#define VIV_FE_CHIP_SELECT

#define VIV_FE_CHIP_SELECT_HEADER
#define VIV_FE_CHIP_SELECT_HEADER_OP__MASK
#define VIV_FE_CHIP_SELECT_HEADER_OP__SHIFT
#define VIV_FE_CHIP_SELECT_HEADER_OP_CHIP_SELECT
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP15
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP14
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP13
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP12
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP11
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP10
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP9
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP8
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP7
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP6
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP5
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP4
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP3
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP2
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP1
#define VIV_FE_CHIP_SELECT_HEADER_ENABLE_CHIP0

#define VIV_FE_DRAW_INSTANCED

#define VIV_FE_DRAW_INSTANCED_HEADER
#define VIV_FE_DRAW_INSTANCED_HEADER_OP__MASK
#define VIV_FE_DRAW_INSTANCED_HEADER_OP__SHIFT
#define VIV_FE_DRAW_INSTANCED_HEADER_OP_DRAW_INSTANCED
#define VIV_FE_DRAW_INSTANCED_HEADER_INDEXED
#define VIV_FE_DRAW_INSTANCED_HEADER_TYPE__MASK
#define VIV_FE_DRAW_INSTANCED_HEADER_TYPE__SHIFT
#define VIV_FE_DRAW_INSTANCED_HEADER_TYPE(x)
#define VIV_FE_DRAW_INSTANCED_HEADER_INSTANCE_COUNT_LO__MASK
#define VIV_FE_DRAW_INSTANCED_HEADER_INSTANCE_COUNT_LO__SHIFT
#define VIV_FE_DRAW_INSTANCED_HEADER_INSTANCE_COUNT_LO(x)

#define VIV_FE_DRAW_INSTANCED_COUNT
#define VIV_FE_DRAW_INSTANCED_COUNT_INSTANCE_COUNT_HI__MASK
#define VIV_FE_DRAW_INSTANCED_COUNT_INSTANCE_COUNT_HI__SHIFT
#define VIV_FE_DRAW_INSTANCED_COUNT_INSTANCE_COUNT_HI(x)
#define VIV_FE_DRAW_INSTANCED_COUNT_VERTEX_COUNT__MASK
#define VIV_FE_DRAW_INSTANCED_COUNT_VERTEX_COUNT__SHIFT
#define VIV_FE_DRAW_INSTANCED_COUNT_VERTEX_COUNT(x)

#define VIV_FE_DRAW_INSTANCED_START
#define VIV_FE_DRAW_INSTANCED_START_INDEX__MASK
#define VIV_FE_DRAW_INSTANCED_START_INDEX__SHIFT
#define VIV_FE_DRAW_INSTANCED_START_INDEX(x)

#define VIV_FE_WAIT_FENCE

#define VIV_FE_WAIT_FENCE_HEADER
#define VIV_FE_WAIT_FENCE_HEADER_OP__MASK
#define VIV_FE_WAIT_FENCE_HEADER_OP__SHIFT
#define VIV_FE_WAIT_FENCE_HEADER_OP_WAIT_FENCE
#define VIV_FE_WAIT_FENCE_HEADER_UNK16__MASK
#define VIV_FE_WAIT_FENCE_HEADER_UNK16__SHIFT
#define VIV_FE_WAIT_FENCE_HEADER_UNK16(x)
#define VIV_FE_WAIT_FENCE_HEADER_WAITCOUNT__MASK
#define VIV_FE_WAIT_FENCE_HEADER_WAITCOUNT__SHIFT
#define VIV_FE_WAIT_FENCE_HEADER_WAITCOUNT(x)

#define VIV_FE_WAIT_FENCE_ADDRESS

#define VIV_FE_DRAW_INDIRECT

#define VIV_FE_DRAW_INDIRECT_HEADER
#define VIV_FE_DRAW_INDIRECT_HEADER_OP__MASK
#define VIV_FE_DRAW_INDIRECT_HEADER_OP__SHIFT
#define VIV_FE_DRAW_INDIRECT_HEADER_OP_DRAW_INDIRECT
#define VIV_FE_DRAW_INDIRECT_HEADER_INDEXED
#define VIV_FE_DRAW_INDIRECT_HEADER_TYPE__MASK
#define VIV_FE_DRAW_INDIRECT_HEADER_TYPE__SHIFT
#define VIV_FE_DRAW_INDIRECT_HEADER_TYPE(x)

#define VIV_FE_DRAW_INDIRECT_ADDRESS

#define VIV_FE_SNAP_PAGES

#define VIV_FE_SNAP_PAGES_HEADER
#define VIV_FE_SNAP_PAGES_HEADER_OP__MASK
#define VIV_FE_SNAP_PAGES_HEADER_OP__SHIFT
#define VIV_FE_SNAP_PAGES_HEADER_OP_SNAP_PAGES
#define VIV_FE_SNAP_PAGES_HEADER_UNK0__MASK
#define VIV_FE_SNAP_PAGES_HEADER_UNK0__SHIFT
#define VIV_FE_SNAP_PAGES_HEADER_UNK0(x)


#endif /* CMDSTREAM_XML */