Commit c28c82e9 authored by Rob Clark's avatar Rob Clark

drm/msm: sync generated headers

We haven't sync'd for a while.. pull in updates to get definitions for
some fields in pkt7 payloads.
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Acked-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 51dd4271
...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/adreno.xml ( 501 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno.xml ( 594 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 42463 bytes, from 2018-11-19 13:44:03) - /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 90159 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14201 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14386 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 43052 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 65048 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 83840 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 84226 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112086 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112556 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 147240 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 149461 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 140790 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 184695 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 10431 bytes, from 2018-09-14 13:03:07) - /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 11218 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_control_regs.xml ( 4559 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: - /home/robclark/src/envytools/rnndb/adreno/adreno_pipe_regs.xml ( 2872 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
...@@ -210,6 +212,854 @@ enum a2xx_rb_blend_opcode { ...@@ -210,6 +212,854 @@ enum a2xx_rb_blend_opcode {
BLEND2_DST_PLUS_SRC_BIAS = 5, BLEND2_DST_PLUS_SRC_BIAS = 5,
}; };
enum a2xx_su_perfcnt_select {
PERF_PAPC_PASX_REQ = 0,
PERF_PAPC_PASX_FIRST_VECTOR = 2,
PERF_PAPC_PASX_SECOND_VECTOR = 3,
PERF_PAPC_PASX_FIRST_DEAD = 4,
PERF_PAPC_PASX_SECOND_DEAD = 5,
PERF_PAPC_PASX_VTX_KILL_DISCARD = 6,
PERF_PAPC_PASX_VTX_NAN_DISCARD = 7,
PERF_PAPC_PA_INPUT_PRIM = 8,
PERF_PAPC_PA_INPUT_NULL_PRIM = 9,
PERF_PAPC_PA_INPUT_EVENT_FLAG = 10,
PERF_PAPC_PA_INPUT_FIRST_PRIM_SLOT = 11,
PERF_PAPC_PA_INPUT_END_OF_PACKET = 12,
PERF_PAPC_CLPR_CULL_PRIM = 13,
PERF_PAPC_CLPR_VV_CULL_PRIM = 15,
PERF_PAPC_CLPR_VTX_KILL_CULL_PRIM = 17,
PERF_PAPC_CLPR_VTX_NAN_CULL_PRIM = 18,
PERF_PAPC_CLPR_CULL_TO_NULL_PRIM = 19,
PERF_PAPC_CLPR_VV_CLIP_PRIM = 21,
PERF_PAPC_CLPR_POINT_CLIP_CANDIDATE = 23,
PERF_PAPC_CLPR_CLIP_PLANE_CNT_1 = 24,
PERF_PAPC_CLPR_CLIP_PLANE_CNT_2 = 25,
PERF_PAPC_CLPR_CLIP_PLANE_CNT_3 = 26,
PERF_PAPC_CLPR_CLIP_PLANE_CNT_4 = 27,
PERF_PAPC_CLPR_CLIP_PLANE_CNT_5 = 28,
PERF_PAPC_CLPR_CLIP_PLANE_CNT_6 = 29,
PERF_PAPC_CLPR_CLIP_PLANE_NEAR = 30,
PERF_PAPC_CLPR_CLIP_PLANE_FAR = 31,
PERF_PAPC_CLPR_CLIP_PLANE_LEFT = 32,
PERF_PAPC_CLPR_CLIP_PLANE_RIGHT = 33,
PERF_PAPC_CLPR_CLIP_PLANE_TOP = 34,
PERF_PAPC_CLPR_CLIP_PLANE_BOTTOM = 35,
PERF_PAPC_CLSM_NULL_PRIM = 36,
PERF_PAPC_CLSM_TOTALLY_VISIBLE_PRIM = 37,
PERF_PAPC_CLSM_CLIP_PRIM = 38,
PERF_PAPC_CLSM_CULL_TO_NULL_PRIM = 39,
PERF_PAPC_CLSM_OUT_PRIM_CNT_1 = 40,
PERF_PAPC_CLSM_OUT_PRIM_CNT_2 = 41,
PERF_PAPC_CLSM_OUT_PRIM_CNT_3 = 42,
PERF_PAPC_CLSM_OUT_PRIM_CNT_4 = 43,
PERF_PAPC_CLSM_OUT_PRIM_CNT_5 = 44,
PERF_PAPC_CLSM_OUT_PRIM_CNT_6_7 = 45,
PERF_PAPC_CLSM_NON_TRIVIAL_CULL = 46,
PERF_PAPC_SU_INPUT_PRIM = 47,
PERF_PAPC_SU_INPUT_CLIP_PRIM = 48,
PERF_PAPC_SU_INPUT_NULL_PRIM = 49,
PERF_PAPC_SU_ZERO_AREA_CULL_PRIM = 50,
PERF_PAPC_SU_BACK_FACE_CULL_PRIM = 51,
PERF_PAPC_SU_FRONT_FACE_CULL_PRIM = 52,
PERF_PAPC_SU_POLYMODE_FACE_CULL = 53,
PERF_PAPC_SU_POLYMODE_BACK_CULL = 54,
PERF_PAPC_SU_POLYMODE_FRONT_CULL = 55,
PERF_PAPC_SU_POLYMODE_INVALID_FILL = 56,
PERF_PAPC_SU_OUTPUT_PRIM = 57,
PERF_PAPC_SU_OUTPUT_CLIP_PRIM = 58,
PERF_PAPC_SU_OUTPUT_NULL_PRIM = 59,
PERF_PAPC_SU_OUTPUT_EVENT_FLAG = 60,
PERF_PAPC_SU_OUTPUT_FIRST_PRIM_SLOT = 61,
PERF_PAPC_SU_OUTPUT_END_OF_PACKET = 62,
PERF_PAPC_SU_OUTPUT_POLYMODE_FACE = 63,
PERF_PAPC_SU_OUTPUT_POLYMODE_BACK = 64,
PERF_PAPC_SU_OUTPUT_POLYMODE_FRONT = 65,
PERF_PAPC_SU_OUT_CLIP_POLYMODE_FACE = 66,
PERF_PAPC_SU_OUT_CLIP_POLYMODE_BACK = 67,
PERF_PAPC_SU_OUT_CLIP_POLYMODE_FRONT = 68,
PERF_PAPC_PASX_REQ_IDLE = 69,
PERF_PAPC_PASX_REQ_BUSY = 70,
PERF_PAPC_PASX_REQ_STALLED = 71,
PERF_PAPC_PASX_REC_IDLE = 72,
PERF_PAPC_PASX_REC_BUSY = 73,
PERF_PAPC_PASX_REC_STARVED_SX = 74,
PERF_PAPC_PASX_REC_STALLED = 75,
PERF_PAPC_PASX_REC_STALLED_POS_MEM = 76,
PERF_PAPC_PASX_REC_STALLED_CCGSM_IN = 77,
PERF_PAPC_CCGSM_IDLE = 78,
PERF_PAPC_CCGSM_BUSY = 79,
PERF_PAPC_CCGSM_STALLED = 80,
PERF_PAPC_CLPRIM_IDLE = 81,
PERF_PAPC_CLPRIM_BUSY = 82,
PERF_PAPC_CLPRIM_STALLED = 83,
PERF_PAPC_CLPRIM_STARVED_CCGSM = 84,
PERF_PAPC_CLIPSM_IDLE = 85,
PERF_PAPC_CLIPSM_BUSY = 86,
PERF_PAPC_CLIPSM_WAIT_CLIP_VERT_ENGH = 87,
PERF_PAPC_CLIPSM_WAIT_HIGH_PRI_SEQ = 88,
PERF_PAPC_CLIPSM_WAIT_CLIPGA = 89,
PERF_PAPC_CLIPSM_WAIT_AVAIL_VTE_CLIP = 90,
PERF_PAPC_CLIPSM_WAIT_CLIP_OUTSM = 91,
PERF_PAPC_CLIPGA_IDLE = 92,
PERF_PAPC_CLIPGA_BUSY = 93,
PERF_PAPC_CLIPGA_STARVED_VTE_CLIP = 94,
PERF_PAPC_CLIPGA_STALLED = 95,
PERF_PAPC_CLIP_IDLE = 96,
PERF_PAPC_CLIP_BUSY = 97,
PERF_PAPC_SU_IDLE = 98,
PERF_PAPC_SU_BUSY = 99,
PERF_PAPC_SU_STARVED_CLIP = 100,
PERF_PAPC_SU_STALLED_SC = 101,
PERF_PAPC_SU_FACENESS_CULL = 102,
};
enum a2xx_sc_perfcnt_select {
SC_SR_WINDOW_VALID = 0,
SC_CW_WINDOW_VALID = 1,
SC_QM_WINDOW_VALID = 2,
SC_FW_WINDOW_VALID = 3,
SC_EZ_WINDOW_VALID = 4,
SC_IT_WINDOW_VALID = 5,
SC_STARVED_BY_PA = 6,
SC_STALLED_BY_RB_TILE = 7,
SC_STALLED_BY_RB_SAMP = 8,
SC_STARVED_BY_RB_EZ = 9,
SC_STALLED_BY_SAMPLE_FF = 10,
SC_STALLED_BY_SQ = 11,
SC_STALLED_BY_SP = 12,
SC_TOTAL_NO_PRIMS = 13,
SC_NON_EMPTY_PRIMS = 14,
SC_NO_TILES_PASSING_QM = 15,
SC_NO_PIXELS_PRE_EZ = 16,
SC_NO_PIXELS_POST_EZ = 17,
};
enum a2xx_vgt_perfcount_select {
VGT_SQ_EVENT_WINDOW_ACTIVE = 0,
VGT_SQ_SEND = 1,
VGT_SQ_STALLED = 2,
VGT_SQ_STARVED_BUSY = 3,
VGT_SQ_STARVED_IDLE = 4,
VGT_SQ_STATIC = 5,
VGT_PA_EVENT_WINDOW_ACTIVE = 6,
VGT_PA_CLIP_V_SEND = 7,
VGT_PA_CLIP_V_STALLED = 8,
VGT_PA_CLIP_V_STARVED_BUSY = 9,
VGT_PA_CLIP_V_STARVED_IDLE = 10,
VGT_PA_CLIP_V_STATIC = 11,
VGT_PA_CLIP_P_SEND = 12,
VGT_PA_CLIP_P_STALLED = 13,
VGT_PA_CLIP_P_STARVED_BUSY = 14,
VGT_PA_CLIP_P_STARVED_IDLE = 15,
VGT_PA_CLIP_P_STATIC = 16,
VGT_PA_CLIP_S_SEND = 17,
VGT_PA_CLIP_S_STALLED = 18,
VGT_PA_CLIP_S_STARVED_BUSY = 19,
VGT_PA_CLIP_S_STARVED_IDLE = 20,
VGT_PA_CLIP_S_STATIC = 21,
RBIU_FIFOS_EVENT_WINDOW_ACTIVE = 22,
RBIU_IMMED_DATA_FIFO_STARVED = 23,
RBIU_IMMED_DATA_FIFO_STALLED = 24,
RBIU_DMA_REQUEST_FIFO_STARVED = 25,
RBIU_DMA_REQUEST_FIFO_STALLED = 26,
RBIU_DRAW_INITIATOR_FIFO_STARVED = 27,
RBIU_DRAW_INITIATOR_FIFO_STALLED = 28,
BIN_PRIM_NEAR_CULL = 29,
BIN_PRIM_ZERO_CULL = 30,
BIN_PRIM_FAR_CULL = 31,
BIN_PRIM_BIN_CULL = 32,
BIN_PRIM_FACE_CULL = 33,
SPARE34 = 34,
SPARE35 = 35,
SPARE36 = 36,
SPARE37 = 37,
SPARE38 = 38,
SPARE39 = 39,
TE_SU_IN_VALID = 40,
TE_SU_IN_READ = 41,
TE_SU_IN_PRIM = 42,
TE_SU_IN_EOP = 43,
TE_SU_IN_NULL_PRIM = 44,
TE_WK_IN_VALID = 45,
TE_WK_IN_READ = 46,
TE_OUT_PRIM_VALID = 47,
TE_OUT_PRIM_READ = 48,
};
enum a2xx_tcr_perfcount_select {
DGMMPD_IPMUX0_STALL = 0,
DGMMPD_IPMUX_ALL_STALL = 4,
OPMUX0_L2_WRITES = 5,
};
enum a2xx_tp_perfcount_select {
POINT_QUADS = 0,
BILIN_QUADS = 1,
ANISO_QUADS = 2,
MIP_QUADS = 3,
VOL_QUADS = 4,
MIP_VOL_QUADS = 5,
MIP_ANISO_QUADS = 6,
VOL_ANISO_QUADS = 7,
ANISO_2_1_QUADS = 8,
ANISO_4_1_QUADS = 9,
ANISO_6_1_QUADS = 10,
ANISO_8_1_QUADS = 11,
ANISO_10_1_QUADS = 12,
ANISO_12_1_QUADS = 13,
ANISO_14_1_QUADS = 14,
ANISO_16_1_QUADS = 15,
MIP_VOL_ANISO_QUADS = 16,
ALIGN_2_QUADS = 17,
ALIGN_4_QUADS = 18,
PIX_0_QUAD = 19,
PIX_1_QUAD = 20,
PIX_2_QUAD = 21,
PIX_3_QUAD = 22,
PIX_4_QUAD = 23,
TP_MIPMAP_LOD0 = 24,
TP_MIPMAP_LOD1 = 25,
TP_MIPMAP_LOD2 = 26,
TP_MIPMAP_LOD3 = 27,
TP_MIPMAP_LOD4 = 28,
TP_MIPMAP_LOD5 = 29,
TP_MIPMAP_LOD6 = 30,
TP_MIPMAP_LOD7 = 31,
TP_MIPMAP_LOD8 = 32,
TP_MIPMAP_LOD9 = 33,
TP_MIPMAP_LOD10 = 34,
TP_MIPMAP_LOD11 = 35,
TP_MIPMAP_LOD12 = 36,
TP_MIPMAP_LOD13 = 37,
TP_MIPMAP_LOD14 = 38,
};
enum a2xx_tcm_perfcount_select {
QUAD0_RD_LAT_FIFO_EMPTY = 0,
QUAD0_RD_LAT_FIFO_4TH_FULL = 3,
QUAD0_RD_LAT_FIFO_HALF_FULL = 4,
QUAD0_RD_LAT_FIFO_FULL = 5,
QUAD0_RD_LAT_FIFO_LT_4TH_FULL = 6,
READ_STARVED_QUAD0 = 28,
READ_STARVED = 32,
READ_STALLED_QUAD0 = 33,
READ_STALLED = 37,
VALID_READ_QUAD0 = 38,
TC_TP_STARVED_QUAD0 = 42,
TC_TP_STARVED = 46,
};
enum a2xx_tcf_perfcount_select {
VALID_CYCLES = 0,
SINGLE_PHASES = 1,
ANISO_PHASES = 2,
MIP_PHASES = 3,
VOL_PHASES = 4,
MIP_VOL_PHASES = 5,
MIP_ANISO_PHASES = 6,
VOL_ANISO_PHASES = 7,
ANISO_2_1_PHASES = 8,
ANISO_4_1_PHASES = 9,
ANISO_6_1_PHASES = 10,
ANISO_8_1_PHASES = 11,
ANISO_10_1_PHASES = 12,
ANISO_12_1_PHASES = 13,
ANISO_14_1_PHASES = 14,
ANISO_16_1_PHASES = 15,
MIP_VOL_ANISO_PHASES = 16,
ALIGN_2_PHASES = 17,
ALIGN_4_PHASES = 18,
TPC_BUSY = 19,
TPC_STALLED = 20,
TPC_STARVED = 21,
TPC_WORKING = 22,
TPC_WALKER_BUSY = 23,
TPC_WALKER_STALLED = 24,
TPC_WALKER_WORKING = 25,
TPC_ALIGNER_BUSY = 26,
TPC_ALIGNER_STALLED = 27,
TPC_ALIGNER_STALLED_BY_BLEND = 28,
TPC_ALIGNER_STALLED_BY_CACHE = 29,
TPC_ALIGNER_WORKING = 30,
TPC_BLEND_BUSY = 31,
TPC_BLEND_SYNC = 32,
TPC_BLEND_STARVED = 33,
TPC_BLEND_WORKING = 34,
OPCODE_0x00 = 35,
OPCODE_0x01 = 36,
OPCODE_0x04 = 37,
OPCODE_0x10 = 38,
OPCODE_0x11 = 39,
OPCODE_0x12 = 40,
OPCODE_0x13 = 41,
OPCODE_0x18 = 42,
OPCODE_0x19 = 43,
OPCODE_0x1A = 44,
OPCODE_OTHER = 45,
IN_FIFO_0_EMPTY = 56,
IN_FIFO_0_LT_HALF_FULL = 57,
IN_FIFO_0_HALF_FULL = 58,
IN_FIFO_0_FULL = 59,
IN_FIFO_TPC_EMPTY = 72,
IN_FIFO_TPC_LT_HALF_FULL = 73,
IN_FIFO_TPC_HALF_FULL = 74,
IN_FIFO_TPC_FULL = 75,
TPC_TC_XFC = 76,
TPC_TC_STATE = 77,
TC_STALL = 78,
QUAD0_TAPS = 79,
QUADS = 83,
TCA_SYNC_STALL = 84,
TAG_STALL = 85,
TCB_SYNC_STALL = 88,
TCA_VALID = 89,
PROBES_VALID = 90,
MISS_STALL = 91,
FETCH_FIFO_STALL = 92,
TCO_STALL = 93,
ANY_STALL = 94,
TAG_MISSES = 95,
TAG_HITS = 96,
SUB_TAG_MISSES = 97,
SET0_INVALIDATES = 98,
SET1_INVALIDATES = 99,
SET2_INVALIDATES = 100,
SET3_INVALIDATES = 101,
SET0_TAG_MISSES = 102,
SET1_TAG_MISSES = 103,
SET2_TAG_MISSES = 104,
SET3_TAG_MISSES = 105,
SET0_TAG_HITS = 106,
SET1_TAG_HITS = 107,
SET2_TAG_HITS = 108,
SET3_TAG_HITS = 109,
SET0_SUB_TAG_MISSES = 110,
SET1_SUB_TAG_MISSES = 111,
SET2_SUB_TAG_MISSES = 112,
SET3_SUB_TAG_MISSES = 113,
SET0_EVICT1 = 114,
SET0_EVICT2 = 115,
SET0_EVICT3 = 116,
SET0_EVICT4 = 117,
SET0_EVICT5 = 118,
SET0_EVICT6 = 119,
SET0_EVICT7 = 120,
SET0_EVICT8 = 121,
SET1_EVICT1 = 130,
SET1_EVICT2 = 131,
SET1_EVICT3 = 132,
SET1_EVICT4 = 133,
SET1_EVICT5 = 134,
SET1_EVICT6 = 135,
SET1_EVICT7 = 136,
SET1_EVICT8 = 137,
SET2_EVICT1 = 146,
SET2_EVICT2 = 147,
SET2_EVICT3 = 148,
SET2_EVICT4 = 149,
SET2_EVICT5 = 150,
SET2_EVICT6 = 151,
SET2_EVICT7 = 152,
SET2_EVICT8 = 153,
SET3_EVICT1 = 162,
SET3_EVICT2 = 163,
SET3_EVICT3 = 164,
SET3_EVICT4 = 165,
SET3_EVICT5 = 166,
SET3_EVICT6 = 167,
SET3_EVICT7 = 168,
SET3_EVICT8 = 169,
FF_EMPTY = 178,
FF_LT_HALF_FULL = 179,
FF_HALF_FULL = 180,
FF_FULL = 181,
FF_XFC = 182,
FF_STALLED = 183,
FG_MASKS = 184,
FG_LEFT_MASKS = 185,
FG_LEFT_MASK_STALLED = 186,
FG_LEFT_NOT_DONE_STALL = 187,
FG_LEFT_FG_STALL = 188,
FG_LEFT_SECTORS = 189,
FG0_REQUESTS = 195,
FG0_STALLED = 196,
MEM_REQ512 = 199,
MEM_REQ_SENT = 200,
MEM_LOCAL_READ_REQ = 202,
TC0_MH_STALLED = 203,
};
enum a2xx_sq_perfcnt_select {
SQ_PIXEL_VECTORS_SUB = 0,
SQ_VERTEX_VECTORS_SUB = 1,
SQ_ALU0_ACTIVE_VTX_SIMD0 = 2,
SQ_ALU1_ACTIVE_VTX_SIMD0 = 3,
SQ_ALU0_ACTIVE_PIX_SIMD0 = 4,
SQ_ALU1_ACTIVE_PIX_SIMD0 = 5,
SQ_ALU0_ACTIVE_VTX_SIMD1 = 6,
SQ_ALU1_ACTIVE_VTX_SIMD1 = 7,
SQ_ALU0_ACTIVE_PIX_SIMD1 = 8,
SQ_ALU1_ACTIVE_PIX_SIMD1 = 9,
SQ_EXPORT_CYCLES = 10,
SQ_ALU_CST_WRITTEN = 11,
SQ_TEX_CST_WRITTEN = 12,
SQ_ALU_CST_STALL = 13,
SQ_ALU_TEX_STALL = 14,
SQ_INST_WRITTEN = 15,
SQ_BOOLEAN_WRITTEN = 16,
SQ_LOOPS_WRITTEN = 17,
SQ_PIXEL_SWAP_IN = 18,
SQ_PIXEL_SWAP_OUT = 19,
SQ_VERTEX_SWAP_IN = 20,
SQ_VERTEX_SWAP_OUT = 21,
SQ_ALU_VTX_INST_ISSUED = 22,
SQ_TEX_VTX_INST_ISSUED = 23,
SQ_VC_VTX_INST_ISSUED = 24,
SQ_CF_VTX_INST_ISSUED = 25,
SQ_ALU_PIX_INST_ISSUED = 26,
SQ_TEX_PIX_INST_ISSUED = 27,
SQ_VC_PIX_INST_ISSUED = 28,
SQ_CF_PIX_INST_ISSUED = 29,
SQ_ALU0_FIFO_EMPTY_SIMD0 = 30,
SQ_ALU1_FIFO_EMPTY_SIMD0 = 31,
SQ_ALU0_FIFO_EMPTY_SIMD1 = 32,
SQ_ALU1_FIFO_EMPTY_SIMD1 = 33,
SQ_ALU_NOPS = 34,
SQ_PRED_SKIP = 35,
SQ_SYNC_ALU_STALL_SIMD0_VTX = 36,
SQ_SYNC_ALU_STALL_SIMD1_VTX = 37,
SQ_SYNC_TEX_STALL_VTX = 38,
SQ_SYNC_VC_STALL_VTX = 39,
SQ_CONSTANTS_USED_SIMD0 = 40,
SQ_CONSTANTS_SENT_SP_SIMD0 = 41,
SQ_GPR_STALL_VTX = 42,
SQ_GPR_STALL_PIX = 43,
SQ_VTX_RS_STALL = 44,
SQ_PIX_RS_STALL = 45,
SQ_SX_PC_FULL = 46,
SQ_SX_EXP_BUFF_FULL = 47,
SQ_SX_POS_BUFF_FULL = 48,
SQ_INTERP_QUADS = 49,
SQ_INTERP_ACTIVE = 50,
SQ_IN_PIXEL_STALL = 51,
SQ_IN_VTX_STALL = 52,
SQ_VTX_CNT = 53,
SQ_VTX_VECTOR2 = 54,
SQ_VTX_VECTOR3 = 55,
SQ_VTX_VECTOR4 = 56,
SQ_PIXEL_VECTOR1 = 57,
SQ_PIXEL_VECTOR23 = 58,
SQ_PIXEL_VECTOR4 = 59,
SQ_CONSTANTS_USED_SIMD1 = 60,
SQ_CONSTANTS_SENT_SP_SIMD1 = 61,
SQ_SX_MEM_EXP_FULL = 62,
SQ_ALU0_ACTIVE_VTX_SIMD2 = 63,
SQ_ALU1_ACTIVE_VTX_SIMD2 = 64,
SQ_ALU0_ACTIVE_PIX_SIMD2 = 65,
SQ_ALU1_ACTIVE_PIX_SIMD2 = 66,
SQ_ALU0_ACTIVE_VTX_SIMD3 = 67,
SQ_PERFCOUNT_VTX_QUAL_TP_DONE = 68,
SQ_ALU0_ACTIVE_PIX_SIMD3 = 69,
SQ_PERFCOUNT_PIX_QUAL_TP_DONE = 70,
SQ_ALU0_FIFO_EMPTY_SIMD2 = 71,
SQ_ALU1_FIFO_EMPTY_SIMD2 = 72,
SQ_ALU0_FIFO_EMPTY_SIMD3 = 73,
SQ_ALU1_FIFO_EMPTY_SIMD3 = 74,
SQ_SYNC_ALU_STALL_SIMD2_VTX = 75,
SQ_PERFCOUNT_VTX_POP_THREAD = 76,
SQ_SYNC_ALU_STALL_SIMD0_PIX = 77,
SQ_SYNC_ALU_STALL_SIMD1_PIX = 78,
SQ_SYNC_ALU_STALL_SIMD2_PIX = 79,
SQ_PERFCOUNT_PIX_POP_THREAD = 80,
SQ_SYNC_TEX_STALL_PIX = 81,
SQ_SYNC_VC_STALL_PIX = 82,
SQ_CONSTANTS_USED_SIMD2 = 83,
SQ_CONSTANTS_SENT_SP_SIMD2 = 84,
SQ_PERFCOUNT_VTX_DEALLOC_ACK = 85,
SQ_PERFCOUNT_PIX_DEALLOC_ACK = 86,
SQ_ALU0_FIFO_FULL_SIMD0 = 87,
SQ_ALU1_FIFO_FULL_SIMD0 = 88,
SQ_ALU0_FIFO_FULL_SIMD1 = 89,
SQ_ALU1_FIFO_FULL_SIMD1 = 90,
SQ_ALU0_FIFO_FULL_SIMD2 = 91,
SQ_ALU1_FIFO_FULL_SIMD2 = 92,
SQ_ALU0_FIFO_FULL_SIMD3 = 93,
SQ_ALU1_FIFO_FULL_SIMD3 = 94,
VC_PERF_STATIC = 95,
VC_PERF_STALLED = 96,
VC_PERF_STARVED = 97,
VC_PERF_SEND = 98,
VC_PERF_ACTUAL_STARVED = 99,
PIXEL_THREAD_0_ACTIVE = 100,
VERTEX_THREAD_0_ACTIVE = 101,
PIXEL_THREAD_0_NUMBER = 102,
VERTEX_THREAD_0_NUMBER = 103,
VERTEX_EVENT_NUMBER = 104,
PIXEL_EVENT_NUMBER = 105,
PTRBUFF_EF_PUSH = 106,
PTRBUFF_EF_POP_EVENT = 107,
PTRBUFF_EF_POP_NEW_VTX = 108,
PTRBUFF_EF_POP_DEALLOC = 109,
PTRBUFF_EF_POP_PVECTOR = 110,
PTRBUFF_EF_POP_PVECTOR_X = 111,
PTRBUFF_EF_POP_PVECTOR_VNZ = 112,
PTRBUFF_PB_DEALLOC = 113,
PTRBUFF_PI_STATE_PPB_POP = 114,
PTRBUFF_PI_RTR = 115,
PTRBUFF_PI_READ_EN = 116,
PTRBUFF_PI_BUFF_SWAP = 117,
PTRBUFF_SQ_FREE_BUFF = 118,
PTRBUFF_SQ_DEC = 119,
PTRBUFF_SC_VALID_CNTL_EVENT = 120,
PTRBUFF_SC_VALID_IJ_XFER = 121,
PTRBUFF_SC_NEW_VECTOR_1_Q = 122,
PTRBUFF_QUAL_NEW_VECTOR = 123,
PTRBUFF_QUAL_EVENT = 124,
PTRBUFF_END_BUFFER = 125,
PTRBUFF_FILL_QUAD = 126,
VERTS_WRITTEN_SPI = 127,
TP_FETCH_INSTR_EXEC = 128,
TP_FETCH_INSTR_REQ = 129,
TP_DATA_RETURN = 130,
SPI_WRITE_CYCLES_SP = 131,
SPI_WRITES_SP = 132,
SP_ALU_INSTR_EXEC = 133,
SP_CONST_ADDR_TO_SQ = 134,
SP_PRED_KILLS_TO_SQ = 135,
SP_EXPORT_CYCLES_TO_SX = 136,
SP_EXPORTS_TO_SX = 137,
SQ_CYCLES_ELAPSED = 138,
SQ_TCFS_OPT_ALLOC_EXEC = 139,
SQ_TCFS_NO_OPT_ALLOC = 140,
SQ_ALU0_NO_OPT_ALLOC = 141,
SQ_ALU1_NO_OPT_ALLOC = 142,
SQ_TCFS_ARB_XFC_CNT = 143,
SQ_ALU0_ARB_XFC_CNT = 144,
SQ_ALU1_ARB_XFC_CNT = 145,
SQ_TCFS_CFS_UPDATE_CNT = 146,
SQ_ALU0_CFS_UPDATE_CNT = 147,
SQ_ALU1_CFS_UPDATE_CNT = 148,
SQ_VTX_PUSH_THREAD_CNT = 149,
SQ_VTX_POP_THREAD_CNT = 150,
SQ_PIX_PUSH_THREAD_CNT = 151,
SQ_PIX_POP_THREAD_CNT = 152,
SQ_PIX_TOTAL = 153,
SQ_PIX_KILLED = 154,
};
enum a2xx_sx_perfcnt_select {
SX_EXPORT_VECTORS = 0,
SX_DUMMY_QUADS = 1,
SX_ALPHA_FAIL = 2,
SX_RB_QUAD_BUSY = 3,
SX_RB_COLOR_BUSY = 4,
SX_RB_QUAD_STALL = 5,
SX_RB_COLOR_STALL = 6,
};
enum a2xx_rbbm_perfcount1_sel {
RBBM1_COUNT = 0,
RBBM1_NRT_BUSY = 1,
RBBM1_RB_BUSY = 2,
RBBM1_SQ_CNTX0_BUSY = 3,
RBBM1_SQ_CNTX17_BUSY = 4,
RBBM1_VGT_BUSY = 5,
RBBM1_VGT_NODMA_BUSY = 6,
RBBM1_PA_BUSY = 7,
RBBM1_SC_CNTX_BUSY = 8,
RBBM1_TPC_BUSY = 9,
RBBM1_TC_BUSY = 10,
RBBM1_SX_BUSY = 11,
RBBM1_CP_COHER_BUSY = 12,
RBBM1_CP_NRT_BUSY = 13,
RBBM1_GFX_IDLE_STALL = 14,
RBBM1_INTERRUPT = 15,
};
enum a2xx_cp_perfcount_sel {
ALWAYS_COUNT = 0,
TRANS_FIFO_FULL = 1,
TRANS_FIFO_AF = 2,
RCIU_PFPTRANS_WAIT = 3,
RCIU_NRTTRANS_WAIT = 6,
CSF_NRT_READ_WAIT = 8,
CSF_I1_FIFO_FULL = 9,
CSF_I2_FIFO_FULL = 10,
CSF_ST_FIFO_FULL = 11,
CSF_RING_ROQ_FULL = 13,
CSF_I1_ROQ_FULL = 14,
CSF_I2_ROQ_FULL = 15,
CSF_ST_ROQ_FULL = 16,
MIU_TAG_MEM_FULL = 18,
MIU_WRITECLEAN = 19,
MIU_NRT_WRITE_STALLED = 22,
MIU_NRT_READ_STALLED = 23,
ME_WRITE_CONFIRM_FIFO_FULL = 24,
ME_VS_DEALLOC_FIFO_FULL = 25,
ME_PS_DEALLOC_FIFO_FULL = 26,
ME_REGS_VS_EVENT_FIFO_FULL = 27,
ME_REGS_PS_EVENT_FIFO_FULL = 28,
ME_REGS_CF_EVENT_FIFO_FULL = 29,
ME_MICRO_RB_STARVED = 30,
ME_MICRO_I1_STARVED = 31,
ME_MICRO_I2_STARVED = 32,
ME_MICRO_ST_STARVED = 33,
RCIU_RBBM_DWORD_SENT = 40,
ME_BUSY_CLOCKS = 41,
ME_WAIT_CONTEXT_AVAIL = 42,
PFP_TYPE0_PACKET = 43,
PFP_TYPE3_PACKET = 44,
CSF_RB_WPTR_NEQ_RPTR = 45,
CSF_I1_SIZE_NEQ_ZERO = 46,
CSF_I2_SIZE_NEQ_ZERO = 47,
CSF_RBI1I2_FETCHING = 48,
};
enum a2xx_rb_perfcnt_select {
RBPERF_CNTX_BUSY = 0,
RBPERF_CNTX_BUSY_MAX = 1,
RBPERF_SX_QUAD_STARVED = 2,
RBPERF_SX_QUAD_STARVED_MAX = 3,
RBPERF_GA_GC_CH0_SYS_REQ = 4,
RBPERF_GA_GC_CH0_SYS_REQ_MAX = 5,
RBPERF_GA_GC_CH1_SYS_REQ = 6,
RBPERF_GA_GC_CH1_SYS_REQ_MAX = 7,
RBPERF_MH_STARVED = 8,
RBPERF_MH_STARVED_MAX = 9,
RBPERF_AZ_BC_COLOR_BUSY = 10,
RBPERF_AZ_BC_COLOR_BUSY_MAX = 11,
RBPERF_AZ_BC_Z_BUSY = 12,
RBPERF_AZ_BC_Z_BUSY_MAX = 13,
RBPERF_RB_SC_TILE_RTR_N = 14,
RBPERF_RB_SC_TILE_RTR_N_MAX = 15,
RBPERF_RB_SC_SAMP_RTR_N = 16,
RBPERF_RB_SC_SAMP_RTR_N_MAX = 17,
RBPERF_RB_SX_QUAD_RTR_N = 18,
RBPERF_RB_SX_QUAD_RTR_N_MAX = 19,
RBPERF_RB_SX_COLOR_RTR_N = 20,
RBPERF_RB_SX_COLOR_RTR_N_MAX = 21,
RBPERF_RB_SC_SAMP_LZ_BUSY = 22,
RBPERF_RB_SC_SAMP_LZ_BUSY_MAX = 23,
RBPERF_ZXP_STALL = 24,
RBPERF_ZXP_STALL_MAX = 25,
RBPERF_EVENT_PENDING = 26,
RBPERF_EVENT_PENDING_MAX = 27,
RBPERF_RB_MH_VALID = 28,
RBPERF_RB_MH_VALID_MAX = 29,
RBPERF_SX_RB_QUAD_SEND = 30,
RBPERF_SX_RB_COLOR_SEND = 31,
RBPERF_SC_RB_TILE_SEND = 32,
RBPERF_SC_RB_SAMPLE_SEND = 33,
RBPERF_SX_RB_MEM_EXPORT = 34,
RBPERF_SX_RB_QUAD_EVENT = 35,
RBPERF_SC_RB_TILE_EVENT_FILTERED = 36,
RBPERF_SC_RB_TILE_EVENT_ALL = 37,
RBPERF_RB_SC_EZ_SEND = 38,
RBPERF_RB_SX_INDEX_SEND = 39,
RBPERF_GMEM_INTFO_RD = 40,
RBPERF_GMEM_INTF1_RD = 41,
RBPERF_GMEM_INTFO_WR = 42,
RBPERF_GMEM_INTF1_WR = 43,
RBPERF_RB_CP_CONTEXT_DONE = 44,
RBPERF_RB_CP_CACHE_FLUSH = 45,
RBPERF_ZPASS_DONE = 46,
RBPERF_ZCMD_VALID = 47,
RBPERF_CCMD_VALID = 48,
RBPERF_ACCUM_GRANT = 49,
RBPERF_ACCUM_C0_GRANT = 50,
RBPERF_ACCUM_C1_GRANT = 51,
RBPERF_ACCUM_FULL_BE_WR = 52,
RBPERF_ACCUM_REQUEST_NO_GRANT = 53,
RBPERF_ACCUM_TIMEOUT_PULSE = 54,
RBPERF_ACCUM_LIN_TIMEOUT_PULSE = 55,
RBPERF_ACCUM_CAM_HIT_FLUSHING = 56,
};
enum a2xx_mh_perfcnt_select {
CP_R0_REQUESTS = 0,
CP_R1_REQUESTS = 1,
CP_R2_REQUESTS = 2,
CP_R3_REQUESTS = 3,
CP_R4_REQUESTS = 4,
CP_TOTAL_READ_REQUESTS = 5,
CP_TOTAL_WRITE_REQUESTS = 6,
CP_TOTAL_REQUESTS = 7,
CP_DATA_BYTES_WRITTEN = 8,
CP_WRITE_CLEAN_RESPONSES = 9,
CP_R0_READ_BURSTS_RECEIVED = 10,
CP_R1_READ_BURSTS_RECEIVED = 11,
CP_R2_READ_BURSTS_RECEIVED = 12,
CP_R3_READ_BURSTS_RECEIVED = 13,
CP_R4_READ_BURSTS_RECEIVED = 14,
CP_TOTAL_READ_BURSTS_RECEIVED = 15,
CP_R0_DATA_BEATS_READ = 16,
CP_R1_DATA_BEATS_READ = 17,
CP_R2_DATA_BEATS_READ = 18,
CP_R3_DATA_BEATS_READ = 19,
CP_R4_DATA_BEATS_READ = 20,
CP_TOTAL_DATA_BEATS_READ = 21,
VGT_R0_REQUESTS = 22,
VGT_R1_REQUESTS = 23,
VGT_TOTAL_REQUESTS = 24,
VGT_R0_READ_BURSTS_RECEIVED = 25,
VGT_R1_READ_BURSTS_RECEIVED = 26,
VGT_TOTAL_READ_BURSTS_RECEIVED = 27,
VGT_R0_DATA_BEATS_READ = 28,
VGT_R1_DATA_BEATS_READ = 29,
VGT_TOTAL_DATA_BEATS_READ = 30,
TC_TOTAL_REQUESTS = 31,
TC_ROQ_REQUESTS = 32,
TC_INFO_SENT = 33,
TC_READ_BURSTS_RECEIVED = 34,
TC_DATA_BEATS_READ = 35,
TCD_BURSTS_READ = 36,
RB_REQUESTS = 37,
RB_DATA_BYTES_WRITTEN = 38,
RB_WRITE_CLEAN_RESPONSES = 39,
AXI_READ_REQUESTS_ID_0 = 40,
AXI_READ_REQUESTS_ID_1 = 41,
AXI_READ_REQUESTS_ID_2 = 42,
AXI_READ_REQUESTS_ID_3 = 43,
AXI_READ_REQUESTS_ID_4 = 44,
AXI_READ_REQUESTS_ID_5 = 45,
AXI_READ_REQUESTS_ID_6 = 46,
AXI_READ_REQUESTS_ID_7 = 47,
AXI_TOTAL_READ_REQUESTS = 48,
AXI_WRITE_REQUESTS_ID_0 = 49,
AXI_WRITE_REQUESTS_ID_1 = 50,
AXI_WRITE_REQUESTS_ID_2 = 51,
AXI_WRITE_REQUESTS_ID_3 = 52,
AXI_WRITE_REQUESTS_ID_4 = 53,
AXI_WRITE_REQUESTS_ID_5 = 54,
AXI_WRITE_REQUESTS_ID_6 = 55,
AXI_WRITE_REQUESTS_ID_7 = 56,
AXI_TOTAL_WRITE_REQUESTS = 57,
AXI_TOTAL_REQUESTS_ID_0 = 58,
AXI_TOTAL_REQUESTS_ID_1 = 59,
AXI_TOTAL_REQUESTS_ID_2 = 60,
AXI_TOTAL_REQUESTS_ID_3 = 61,
AXI_TOTAL_REQUESTS_ID_4 = 62,
AXI_TOTAL_REQUESTS_ID_5 = 63,
AXI_TOTAL_REQUESTS_ID_6 = 64,
AXI_TOTAL_REQUESTS_ID_7 = 65,
AXI_TOTAL_REQUESTS = 66,
AXI_READ_CHANNEL_BURSTS_ID_0 = 67,
AXI_READ_CHANNEL_BURSTS_ID_1 = 68,
AXI_READ_CHANNEL_BURSTS_ID_2 = 69,
AXI_READ_CHANNEL_BURSTS_ID_3 = 70,
AXI_READ_CHANNEL_BURSTS_ID_4 = 71,
AXI_READ_CHANNEL_BURSTS_ID_5 = 72,
AXI_READ_CHANNEL_BURSTS_ID_6 = 73,
AXI_READ_CHANNEL_BURSTS_ID_7 = 74,
AXI_READ_CHANNEL_TOTAL_BURSTS = 75,
AXI_READ_CHANNEL_DATA_BEATS_READ_ID_0 = 76,
AXI_READ_CHANNEL_DATA_BEATS_READ_ID_1 = 77,
AXI_READ_CHANNEL_DATA_BEATS_READ_ID_2 = 78,
AXI_READ_CHANNEL_DATA_BEATS_READ_ID_3 = 79,
AXI_READ_CHANNEL_DATA_BEATS_READ_ID_4 = 80,
AXI_READ_CHANNEL_DATA_BEATS_READ_ID_5 = 81,
AXI_READ_CHANNEL_DATA_BEATS_READ_ID_6 = 82,
AXI_READ_CHANNEL_DATA_BEATS_READ_ID_7 = 83,
AXI_READ_CHANNEL_TOTAL_DATA_BEATS_READ = 84,
AXI_WRITE_CHANNEL_BURSTS_ID_0 = 85,
AXI_WRITE_CHANNEL_BURSTS_ID_1 = 86,
AXI_WRITE_CHANNEL_BURSTS_ID_2 = 87,
AXI_WRITE_CHANNEL_BURSTS_ID_3 = 88,
AXI_WRITE_CHANNEL_BURSTS_ID_4 = 89,
AXI_WRITE_CHANNEL_BURSTS_ID_5 = 90,
AXI_WRITE_CHANNEL_BURSTS_ID_6 = 91,
AXI_WRITE_CHANNEL_BURSTS_ID_7 = 92,
AXI_WRITE_CHANNEL_TOTAL_BURSTS = 93,
AXI_WRITE_CHANNEL_DATA_BYTES_WRITTEN_ID_0 = 94,
AXI_WRITE_CHANNEL_DATA_BYTES_WRITTEN_ID_1 = 95,
AXI_WRITE_CHANNEL_DATA_BYTES_WRITTEN_ID_2 = 96,
AXI_WRITE_CHANNEL_DATA_BYTES_WRITTEN_ID_3 = 97,
AXI_WRITE_CHANNEL_DATA_BYTES_WRITTEN_ID_4 = 98,
AXI_WRITE_CHANNEL_DATA_BYTES_WRITTEN_ID_5 = 99,
AXI_WRITE_CHANNEL_DATA_BYTES_WRITTEN_ID_6 = 100,
AXI_WRITE_CHANNEL_DATA_BYTES_WRITTEN_ID_7 = 101,
AXI_WRITE_CHANNEL_TOTAL_DATA_BYTES_WRITTEN = 102,
AXI_WRITE_RESPONSE_CHANNEL_RESPONSES_ID_0 = 103,
AXI_WRITE_RESPONSE_CHANNEL_RESPONSES_ID_1 = 104,
AXI_WRITE_RESPONSE_CHANNEL_RESPONSES_ID_2 = 105,
AXI_WRITE_RESPONSE_CHANNEL_RESPONSES_ID_3 = 106,
AXI_WRITE_RESPONSE_CHANNEL_RESPONSES_ID_4 = 107,
AXI_WRITE_RESPONSE_CHANNEL_RESPONSES_ID_5 = 108,
AXI_WRITE_RESPONSE_CHANNEL_RESPONSES_ID_6 = 109,
AXI_WRITE_RESPONSE_CHANNEL_RESPONSES_ID_7 = 110,
AXI_WRITE_RESPONSE_CHANNEL_TOTAL_RESPONSES = 111,
TOTAL_MMU_MISSES = 112,
MMU_READ_MISSES = 113,
MMU_WRITE_MISSES = 114,
TOTAL_MMU_HITS = 115,
MMU_READ_HITS = 116,
MMU_WRITE_HITS = 117,
SPLIT_MODE_TC_HITS = 118,
SPLIT_MODE_TC_MISSES = 119,
SPLIT_MODE_NON_TC_HITS = 120,
SPLIT_MODE_NON_TC_MISSES = 121,
STALL_AWAITING_TLB_MISS_FETCH = 122,
MMU_TLB_MISS_READ_BURSTS_RECEIVED = 123,
MMU_TLB_MISS_DATA_BEATS_READ = 124,
CP_CYCLES_HELD_OFF = 125,
VGT_CYCLES_HELD_OFF = 126,
TC_CYCLES_HELD_OFF = 127,
TC_ROQ_CYCLES_HELD_OFF = 128,
TC_CYCLES_HELD_OFF_TCD_FULL = 129,
RB_CYCLES_HELD_OFF = 130,
TOTAL_CYCLES_ANY_CLNT_HELD_OFF = 131,
TLB_MISS_CYCLES_HELD_OFF = 132,
AXI_READ_REQUEST_HELD_OFF = 133,
AXI_WRITE_REQUEST_HELD_OFF = 134,
AXI_REQUEST_HELD_OFF = 135,
AXI_REQUEST_HELD_OFF_INFLIGHT_LIMIT = 136,
AXI_WRITE_DATA_HELD_OFF = 137,
CP_SAME_PAGE_BANK_REQUESTS = 138,
VGT_SAME_PAGE_BANK_REQUESTS = 139,
TC_SAME_PAGE_BANK_REQUESTS = 140,
TC_ARB_HOLD_SAME_PAGE_BANK_REQUESTS = 141,
RB_SAME_PAGE_BANK_REQUESTS = 142,
TOTAL_SAME_PAGE_BANK_REQUESTS = 143,
CP_SAME_PAGE_BANK_REQUESTS_KILLED_FAIRNESS_LIMIT = 144,
VGT_SAME_PAGE_BANK_REQUESTS_KILLED_FAIRNESS_LIMIT = 145,
TC_SAME_PAGE_BANK_REQUESTS_KILLED_FAIRNESS_LIMIT = 146,
RB_SAME_PAGE_BANK_REQUESTS_KILLED_FAIRNESS_LIMIT = 147,
TOTAL_SAME_PAGE_BANK_KILLED_FAIRNESS_LIMIT = 148,
TOTAL_MH_READ_REQUESTS = 149,
TOTAL_MH_WRITE_REQUESTS = 150,
TOTAL_MH_REQUESTS = 151,
MH_BUSY = 152,
CP_NTH_ACCESS_SAME_PAGE_BANK_SEQUENCE = 153,
VGT_NTH_ACCESS_SAME_PAGE_BANK_SEQUENCE = 154,
TC_NTH_ACCESS_SAME_PAGE_BANK_SEQUENCE = 155,
RB_NTH_ACCESS_SAME_PAGE_BANK_SEQUENCE = 156,
TC_ROQ_N_VALID_ENTRIES = 157,
ARQ_N_ENTRIES = 158,
WDB_N_ENTRIES = 159,
MH_READ_LATENCY_OUTST_REQ_SUM = 160,
MC_READ_LATENCY_OUTST_REQ_SUM = 161,
MC_TOTAL_READ_REQUESTS = 162,
ELAPSED_CYCLES_MH_GATED_CLK = 163,
ELAPSED_CLK_CYCLES = 164,
CP_W_16B_REQUESTS = 165,
CP_W_32B_REQUESTS = 166,
TC_16B_REQUESTS = 167,
TC_32B_REQUESTS = 168,
PA_REQUESTS = 169,
PA_DATA_BYTES_WRITTEN = 170,
PA_WRITE_CLEAN_RESPONSES = 171,
PA_CYCLES_HELD_OFF = 172,
AXI_READ_REQUEST_DATA_BEATS_ID_0 = 173,
AXI_READ_REQUEST_DATA_BEATS_ID_1 = 174,
AXI_READ_REQUEST_DATA_BEATS_ID_2 = 175,
AXI_READ_REQUEST_DATA_BEATS_ID_3 = 176,
AXI_READ_REQUEST_DATA_BEATS_ID_4 = 177,
AXI_READ_REQUEST_DATA_BEATS_ID_5 = 178,
AXI_READ_REQUEST_DATA_BEATS_ID_6 = 179,
AXI_READ_REQUEST_DATA_BEATS_ID_7 = 180,
AXI_TOTAL_READ_REQUEST_DATA_BEATS = 181,
};
enum adreno_mmu_clnt_beh { enum adreno_mmu_clnt_beh {
BEH_NEVR = 0, BEH_NEVR = 0,
BEH_TRAN_RNG = 1, BEH_TRAN_RNG = 1,
...@@ -268,9 +1118,9 @@ enum sq_tex_border_color { ...@@ -268,9 +1118,9 @@ enum sq_tex_border_color {
}; };
enum sq_tex_sign { enum sq_tex_sign {
SQ_TEX_SIGN_UNISIGNED = 0, SQ_TEX_SIGN_UNSIGNED = 0,
SQ_TEX_SIGN_SIGNED = 1, SQ_TEX_SIGN_SIGNED = 1,
SQ_TEX_SIGN_UNISIGNED_BIASED = 2, SQ_TEX_SIGN_UNSIGNED_BIASED = 2,
SQ_TEX_SIGN_GAMMA = 3, SQ_TEX_SIGN_GAMMA = 3,
}; };
...@@ -1842,6 +2692,10 @@ static inline uint32_t A2XX_RB_COPY_DEST_OFFSET_Y(uint32_t val) ...@@ -1842,6 +2692,10 @@ static inline uint32_t A2XX_RB_COPY_DEST_OFFSET_Y(uint32_t val)
#define REG_A2XX_PA_SU_POLY_OFFSET_FRONT_SCALE 0x00002380 #define REG_A2XX_PA_SU_POLY_OFFSET_FRONT_SCALE 0x00002380
#define REG_A2XX_PA_SU_POLY_OFFSET_FRONT_OFFSET 0x00002381
#define REG_A2XX_PA_SU_POLY_OFFSET_BACK_SCALE 0x00002382
#define REG_A2XX_PA_SU_POLY_OFFSET_BACK_OFFSET 0x00002383 #define REG_A2XX_PA_SU_POLY_OFFSET_BACK_OFFSET 0x00002383
#define REG_A2XX_SQ_CONSTANT_0 0x00004000 #define REG_A2XX_SQ_CONSTANT_0 0x00004000
...@@ -1858,6 +2712,220 @@ static inline uint32_t A2XX_RB_COPY_DEST_OFFSET_Y(uint32_t val) ...@@ -1858,6 +2712,220 @@ static inline uint32_t A2XX_RB_COPY_DEST_OFFSET_Y(uint32_t val)
#define REG_A2XX_COHER_STATUS_PM4 0x00000a2b #define REG_A2XX_COHER_STATUS_PM4 0x00000a2b
#define REG_A2XX_PA_SU_PERFCOUNTER0_SELECT 0x00000c88
#define REG_A2XX_PA_SU_PERFCOUNTER1_SELECT 0x00000c89
#define REG_A2XX_PA_SU_PERFCOUNTER2_SELECT 0x00000c8a
#define REG_A2XX_PA_SU_PERFCOUNTER3_SELECT 0x00000c8b
#define REG_A2XX_PA_SU_PERFCOUNTER0_LOW 0x00000c8c
#define REG_A2XX_PA_SU_PERFCOUNTER0_HI 0x00000c8d
#define REG_A2XX_PA_SU_PERFCOUNTER1_LOW 0x00000c8e
#define REG_A2XX_PA_SU_PERFCOUNTER1_HI 0x00000c8f
#define REG_A2XX_PA_SU_PERFCOUNTER2_LOW 0x00000c90
#define REG_A2XX_PA_SU_PERFCOUNTER2_HI 0x00000c91
#define REG_A2XX_PA_SU_PERFCOUNTER3_LOW 0x00000c92
#define REG_A2XX_PA_SU_PERFCOUNTER3_HI 0x00000c93
#define REG_A2XX_PA_SC_PERFCOUNTER0_SELECT 0x00000c98
#define REG_A2XX_PA_SC_PERFCOUNTER0_LOW 0x00000c99
#define REG_A2XX_PA_SC_PERFCOUNTER0_HI 0x00000c9a
#define REG_A2XX_VGT_PERFCOUNTER0_SELECT 0x00000c48
#define REG_A2XX_VGT_PERFCOUNTER1_SELECT 0x00000c49
#define REG_A2XX_VGT_PERFCOUNTER2_SELECT 0x00000c4a
#define REG_A2XX_VGT_PERFCOUNTER3_SELECT 0x00000c4b
#define REG_A2XX_VGT_PERFCOUNTER0_LOW 0x00000c4c
#define REG_A2XX_VGT_PERFCOUNTER1_LOW 0x00000c4e
#define REG_A2XX_VGT_PERFCOUNTER2_LOW 0x00000c50
#define REG_A2XX_VGT_PERFCOUNTER3_LOW 0x00000c52
#define REG_A2XX_VGT_PERFCOUNTER0_HI 0x00000c4d
#define REG_A2XX_VGT_PERFCOUNTER1_HI 0x00000c4f
#define REG_A2XX_VGT_PERFCOUNTER2_HI 0x00000c51
#define REG_A2XX_VGT_PERFCOUNTER3_HI 0x00000c53
#define REG_A2XX_TCR_PERFCOUNTER0_SELECT 0x00000e05
#define REG_A2XX_TCR_PERFCOUNTER1_SELECT 0x00000e08
#define REG_A2XX_TCR_PERFCOUNTER0_HI 0x00000e06
#define REG_A2XX_TCR_PERFCOUNTER1_HI 0x00000e09
#define REG_A2XX_TCR_PERFCOUNTER0_LOW 0x00000e07
#define REG_A2XX_TCR_PERFCOUNTER1_LOW 0x00000e0a
#define REG_A2XX_TP0_PERFCOUNTER0_SELECT 0x00000e1f
#define REG_A2XX_TP0_PERFCOUNTER0_HI 0x00000e20
#define REG_A2XX_TP0_PERFCOUNTER0_LOW 0x00000e21
#define REG_A2XX_TP0_PERFCOUNTER1_SELECT 0x00000e22
#define REG_A2XX_TP0_PERFCOUNTER1_HI 0x00000e23
#define REG_A2XX_TP0_PERFCOUNTER1_LOW 0x00000e24
#define REG_A2XX_TCM_PERFCOUNTER0_SELECT 0x00000e54
#define REG_A2XX_TCM_PERFCOUNTER1_SELECT 0x00000e57
#define REG_A2XX_TCM_PERFCOUNTER0_HI 0x00000e55
#define REG_A2XX_TCM_PERFCOUNTER1_HI 0x00000e58
#define REG_A2XX_TCM_PERFCOUNTER0_LOW 0x00000e56
#define REG_A2XX_TCM_PERFCOUNTER1_LOW 0x00000e59
#define REG_A2XX_TCF_PERFCOUNTER0_SELECT 0x00000e5a
#define REG_A2XX_TCF_PERFCOUNTER1_SELECT 0x00000e5d
#define REG_A2XX_TCF_PERFCOUNTER2_SELECT 0x00000e60
#define REG_A2XX_TCF_PERFCOUNTER3_SELECT 0x00000e63
#define REG_A2XX_TCF_PERFCOUNTER4_SELECT 0x00000e66
#define REG_A2XX_TCF_PERFCOUNTER5_SELECT 0x00000e69
#define REG_A2XX_TCF_PERFCOUNTER6_SELECT 0x00000e6c
#define REG_A2XX_TCF_PERFCOUNTER7_SELECT 0x00000e6f
#define REG_A2XX_TCF_PERFCOUNTER8_SELECT 0x00000e72
#define REG_A2XX_TCF_PERFCOUNTER9_SELECT 0x00000e75
#define REG_A2XX_TCF_PERFCOUNTER10_SELECT 0x00000e78
#define REG_A2XX_TCF_PERFCOUNTER11_SELECT 0x00000e7b
#define REG_A2XX_TCF_PERFCOUNTER0_HI 0x00000e5b
#define REG_A2XX_TCF_PERFCOUNTER1_HI 0x00000e5e
#define REG_A2XX_TCF_PERFCOUNTER2_HI 0x00000e61
#define REG_A2XX_TCF_PERFCOUNTER3_HI 0x00000e64
#define REG_A2XX_TCF_PERFCOUNTER4_HI 0x00000e67
#define REG_A2XX_TCF_PERFCOUNTER5_HI 0x00000e6a
#define REG_A2XX_TCF_PERFCOUNTER6_HI 0x00000e6d
#define REG_A2XX_TCF_PERFCOUNTER7_HI 0x00000e70
#define REG_A2XX_TCF_PERFCOUNTER8_HI 0x00000e73
#define REG_A2XX_TCF_PERFCOUNTER9_HI 0x00000e76
#define REG_A2XX_TCF_PERFCOUNTER10_HI 0x00000e79
#define REG_A2XX_TCF_PERFCOUNTER11_HI 0x00000e7c
#define REG_A2XX_TCF_PERFCOUNTER0_LOW 0x00000e5c
#define REG_A2XX_TCF_PERFCOUNTER1_LOW 0x00000e5f
#define REG_A2XX_TCF_PERFCOUNTER2_LOW 0x00000e62
#define REG_A2XX_TCF_PERFCOUNTER3_LOW 0x00000e65
#define REG_A2XX_TCF_PERFCOUNTER4_LOW 0x00000e68
#define REG_A2XX_TCF_PERFCOUNTER5_LOW 0x00000e6b
#define REG_A2XX_TCF_PERFCOUNTER6_LOW 0x00000e6e
#define REG_A2XX_TCF_PERFCOUNTER7_LOW 0x00000e71
#define REG_A2XX_TCF_PERFCOUNTER8_LOW 0x00000e74
#define REG_A2XX_TCF_PERFCOUNTER9_LOW 0x00000e77
#define REG_A2XX_TCF_PERFCOUNTER10_LOW 0x00000e7a
#define REG_A2XX_TCF_PERFCOUNTER11_LOW 0x00000e7d
#define REG_A2XX_SQ_PERFCOUNTER0_SELECT 0x00000dc8
#define REG_A2XX_SQ_PERFCOUNTER1_SELECT 0x00000dc9
#define REG_A2XX_SQ_PERFCOUNTER2_SELECT 0x00000dca
#define REG_A2XX_SQ_PERFCOUNTER3_SELECT 0x00000dcb
#define REG_A2XX_SQ_PERFCOUNTER0_LOW 0x00000dcc
#define REG_A2XX_SQ_PERFCOUNTER0_HI 0x00000dcd
#define REG_A2XX_SQ_PERFCOUNTER1_LOW 0x00000dce
#define REG_A2XX_SQ_PERFCOUNTER1_HI 0x00000dcf
#define REG_A2XX_SQ_PERFCOUNTER2_LOW 0x00000dd0
#define REG_A2XX_SQ_PERFCOUNTER2_HI 0x00000dd1
#define REG_A2XX_SQ_PERFCOUNTER3_LOW 0x00000dd2
#define REG_A2XX_SQ_PERFCOUNTER3_HI 0x00000dd3
#define REG_A2XX_SX_PERFCOUNTER0_SELECT 0x00000dd4
#define REG_A2XX_SX_PERFCOUNTER0_LOW 0x00000dd8
#define REG_A2XX_SX_PERFCOUNTER0_HI 0x00000dd9
#define REG_A2XX_MH_PERFCOUNTER0_SELECT 0x00000a46
#define REG_A2XX_MH_PERFCOUNTER1_SELECT 0x00000a4a
#define REG_A2XX_MH_PERFCOUNTER0_CONFIG 0x00000a47
#define REG_A2XX_MH_PERFCOUNTER1_CONFIG 0x00000a4b
#define REG_A2XX_MH_PERFCOUNTER0_LOW 0x00000a48
#define REG_A2XX_MH_PERFCOUNTER1_LOW 0x00000a4c
#define REG_A2XX_MH_PERFCOUNTER0_HI 0x00000a49
#define REG_A2XX_MH_PERFCOUNTER1_HI 0x00000a4d
#define REG_A2XX_RB_PERFCOUNTER0_SELECT 0x00000f04
#define REG_A2XX_RB_PERFCOUNTER0_LOW 0x00000f08
#define REG_A2XX_RB_PERFCOUNTER0_HI 0x00000f09
#define REG_A2XX_SQ_TEX_0 0x00000000 #define REG_A2XX_SQ_TEX_0 0x00000000
#define A2XX_SQ_TEX_0_TYPE__MASK 0x00000003 #define A2XX_SQ_TEX_0_TYPE__MASK 0x00000003
#define A2XX_SQ_TEX_0_TYPE__SHIFT 0 #define A2XX_SQ_TEX_0_TYPE__SHIFT 0
...@@ -1913,7 +2981,7 @@ static inline uint32_t A2XX_SQ_TEX_0_PITCH(uint32_t val) ...@@ -1913,7 +2981,7 @@ static inline uint32_t A2XX_SQ_TEX_0_PITCH(uint32_t val)
{ {
return ((val >> 5) << A2XX_SQ_TEX_0_PITCH__SHIFT) & A2XX_SQ_TEX_0_PITCH__MASK; return ((val >> 5) << A2XX_SQ_TEX_0_PITCH__SHIFT) & A2XX_SQ_TEX_0_PITCH__MASK;
} }
#define A2XX_SQ_TEX_0_TILED 0x00000002 #define A2XX_SQ_TEX_0_TILED 0x80000000
#define REG_A2XX_SQ_TEX_1 0x00000001 #define REG_A2XX_SQ_TEX_1 0x00000001
#define A2XX_SQ_TEX_1_FORMAT__MASK 0x0000003f #define A2XX_SQ_TEX_1_FORMAT__MASK 0x0000003f
...@@ -2001,7 +3069,7 @@ static inline uint32_t A2XX_SQ_TEX_3_SWIZ_W(enum sq_tex_swiz val) ...@@ -2001,7 +3069,7 @@ static inline uint32_t A2XX_SQ_TEX_3_SWIZ_W(enum sq_tex_swiz val)
} }
#define A2XX_SQ_TEX_3_EXP_ADJUST__MASK 0x0007e000 #define A2XX_SQ_TEX_3_EXP_ADJUST__MASK 0x0007e000
#define A2XX_SQ_TEX_3_EXP_ADJUST__SHIFT 13 #define A2XX_SQ_TEX_3_EXP_ADJUST__SHIFT 13
static inline uint32_t A2XX_SQ_TEX_3_EXP_ADJUST(uint32_t val) static inline uint32_t A2XX_SQ_TEX_3_EXP_ADJUST(int32_t val)
{ {
return ((val) << A2XX_SQ_TEX_3_EXP_ADJUST__SHIFT) & A2XX_SQ_TEX_3_EXP_ADJUST__MASK; return ((val) << A2XX_SQ_TEX_3_EXP_ADJUST__SHIFT) & A2XX_SQ_TEX_3_EXP_ADJUST__MASK;
} }
......
...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/adreno.xml ( 501 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno.xml ( 594 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 42463 bytes, from 2018-11-19 13:44:03) - /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 90159 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14201 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14386 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 43052 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 65048 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 83840 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 84226 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112086 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112556 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 147240 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 149461 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 140790 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 184695 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 10431 bytes, from 2018-09-14 13:03:07) - /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 11218 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_control_regs.xml ( 4559 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: - /home/robclark/src/envytools/rnndb/adreno/adreno_pipe_regs.xml ( 2872 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
...@@ -48,7 +50,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ...@@ -48,7 +50,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
enum a3xx_tile_mode { enum a3xx_tile_mode {
LINEAR = 0, LINEAR = 0,
TILE_4X4 = 1,
TILE_32X32 = 2, TILE_32X32 = 2,
TILE_4X2 = 3,
}; };
enum a3xx_state_block_id { enum a3xx_state_block_id {
...@@ -123,6 +127,7 @@ enum a3xx_vtx_fmt { ...@@ -123,6 +127,7 @@ enum a3xx_vtx_fmt {
VFMT_2_10_10_10_UNORM = 61, VFMT_2_10_10_10_UNORM = 61,
VFMT_2_10_10_10_SINT = 62, VFMT_2_10_10_10_SINT = 62,
VFMT_2_10_10_10_SNORM = 63, VFMT_2_10_10_10_SNORM = 63,
VFMT_NONE = 255,
}; };
enum a3xx_tex_fmt { enum a3xx_tex_fmt {
...@@ -206,15 +211,7 @@ enum a3xx_tex_fmt { ...@@ -206,15 +211,7 @@ enum a3xx_tex_fmt {
TFMT_ETC2_RGBA8 = 116, TFMT_ETC2_RGBA8 = 116,
TFMT_ETC2_RGB8A1 = 117, TFMT_ETC2_RGB8A1 = 117,
TFMT_ETC2_RGB8 = 118, TFMT_ETC2_RGB8 = 118,
}; TFMT_NONE = 255,
enum a3xx_tex_fetchsize {
TFETCH_DISABLE = 0,
TFETCH_1_BYTE = 1,
TFETCH_2_BYTE = 2,
TFETCH_4_BYTE = 3,
TFETCH_8_BYTE = 4,
TFETCH_16_BYTE = 5,
}; };
enum a3xx_color_fmt { enum a3xx_color_fmt {
...@@ -228,8 +225,8 @@ enum a3xx_color_fmt { ...@@ -228,8 +225,8 @@ enum a3xx_color_fmt {
RB_R8G8B8A8_SINT = 11, RB_R8G8B8A8_SINT = 11,
RB_R8G8_UNORM = 12, RB_R8G8_UNORM = 12,
RB_R8G8_SNORM = 13, RB_R8G8_SNORM = 13,
RB_R8_UINT = 14, RB_R8G8_UINT = 14,
RB_R8_SINT = 15, RB_R8G8_SINT = 15,
RB_R10G10B10A2_UNORM = 16, RB_R10G10B10A2_UNORM = 16,
RB_A2R10G10B10_UNORM = 17, RB_A2R10G10B10_UNORM = 17,
RB_R10G10B10A2_UINT = 18, RB_R10G10B10A2_UINT = 18,
...@@ -261,6 +258,7 @@ enum a3xx_color_fmt { ...@@ -261,6 +258,7 @@ enum a3xx_color_fmt {
RB_R32_UINT = 56, RB_R32_UINT = 56,
RB_R32G32_UINT = 57, RB_R32G32_UINT = 57,
RB_R32G32B32A32_UINT = 59, RB_R32G32B32A32_UINT = 59,
RB_NONE = 255,
}; };
enum a3xx_cp_perfcounter_select { enum a3xx_cp_perfcounter_select {
...@@ -932,6 +930,9 @@ static inline uint32_t REG_A3XX_CP_PROTECT_REG(uint32_t i0) { return 0x00000460 ...@@ -932,6 +930,9 @@ static inline uint32_t REG_A3XX_CP_PROTECT_REG(uint32_t i0) { return 0x00000460
#define REG_A3XX_GRAS_CL_CLIP_CNTL 0x00002040 #define REG_A3XX_GRAS_CL_CLIP_CNTL 0x00002040
#define A3XX_GRAS_CL_CLIP_CNTL_IJ_PERSP_CENTER 0x00001000 #define A3XX_GRAS_CL_CLIP_CNTL_IJ_PERSP_CENTER 0x00001000
#define A3XX_GRAS_CL_CLIP_CNTL_IJ_NON_PERSP_CENTER 0x00002000
#define A3XX_GRAS_CL_CLIP_CNTL_IJ_PERSP_CENTROID 0x00004000
#define A3XX_GRAS_CL_CLIP_CNTL_IJ_NON_PERSP_CENTROID 0x00008000
#define A3XX_GRAS_CL_CLIP_CNTL_CLIP_DISABLE 0x00010000 #define A3XX_GRAS_CL_CLIP_CNTL_CLIP_DISABLE 0x00010000
#define A3XX_GRAS_CL_CLIP_CNTL_ZFAR_CLIP_DISABLE 0x00020000 #define A3XX_GRAS_CL_CLIP_CNTL_ZFAR_CLIP_DISABLE 0x00020000
#define A3XX_GRAS_CL_CLIP_CNTL_VP_CLIP_CODE_IGNORE 0x00080000 #define A3XX_GRAS_CL_CLIP_CNTL_VP_CLIP_CODE_IGNORE 0x00080000
...@@ -1170,10 +1171,12 @@ static inline uint32_t A3XX_RB_RENDER_CONTROL_BIN_WIDTH(uint32_t val) ...@@ -1170,10 +1171,12 @@ static inline uint32_t A3XX_RB_RENDER_CONTROL_BIN_WIDTH(uint32_t val)
} }
#define A3XX_RB_RENDER_CONTROL_DISABLE_COLOR_PIPE 0x00001000 #define A3XX_RB_RENDER_CONTROL_DISABLE_COLOR_PIPE 0x00001000
#define A3XX_RB_RENDER_CONTROL_ENABLE_GMEM 0x00002000 #define A3XX_RB_RENDER_CONTROL_ENABLE_GMEM 0x00002000
#define A3XX_RB_RENDER_CONTROL_XCOORD 0x00004000 #define A3XX_RB_RENDER_CONTROL_COORD_MASK__MASK 0x0003c000
#define A3XX_RB_RENDER_CONTROL_YCOORD 0x00008000 #define A3XX_RB_RENDER_CONTROL_COORD_MASK__SHIFT 14
#define A3XX_RB_RENDER_CONTROL_ZCOORD 0x00010000 static inline uint32_t A3XX_RB_RENDER_CONTROL_COORD_MASK(uint32_t val)
#define A3XX_RB_RENDER_CONTROL_WCOORD 0x00020000 {
return ((val) << A3XX_RB_RENDER_CONTROL_COORD_MASK__SHIFT) & A3XX_RB_RENDER_CONTROL_COORD_MASK__MASK;
}
#define A3XX_RB_RENDER_CONTROL_I_CLAMP_ENABLE 0x00080000 #define A3XX_RB_RENDER_CONTROL_I_CLAMP_ENABLE 0x00080000
#define A3XX_RB_RENDER_CONTROL_COV_VALUE_OUTPUT_ENABLE 0x00100000 #define A3XX_RB_RENDER_CONTROL_COV_VALUE_OUTPUT_ENABLE 0x00100000
#define A3XX_RB_RENDER_CONTROL_ALPHA_TEST 0x00400000 #define A3XX_RB_RENDER_CONTROL_ALPHA_TEST 0x00400000
...@@ -1755,11 +1758,29 @@ static inline uint32_t A3XX_HLSQ_CONTROL_2_REG_PRIMALLOCTHRESHOLD(uint32_t val) ...@@ -1755,11 +1758,29 @@ static inline uint32_t A3XX_HLSQ_CONTROL_2_REG_PRIMALLOCTHRESHOLD(uint32_t val)
} }
#define REG_A3XX_HLSQ_CONTROL_3_REG 0x00002203 #define REG_A3XX_HLSQ_CONTROL_3_REG 0x00002203
#define A3XX_HLSQ_CONTROL_3_REG_REGID__MASK 0x000000ff #define A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTERREGID__MASK 0x000000ff
#define A3XX_HLSQ_CONTROL_3_REG_REGID__SHIFT 0 #define A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTERREGID__SHIFT 0
static inline uint32_t A3XX_HLSQ_CONTROL_3_REG_REGID(uint32_t val) static inline uint32_t A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTERREGID(uint32_t val)
{
return ((val) << A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTERREGID__SHIFT) & A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTERREGID__MASK;
}
#define A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTERREGID__MASK 0x0000ff00
#define A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTERREGID__SHIFT 8
static inline uint32_t A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTERREGID(uint32_t val)
{
return ((val) << A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTERREGID__SHIFT) & A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTERREGID__MASK;
}
#define A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTROIDREGID__MASK 0x00ff0000
#define A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTROIDREGID__SHIFT 16
static inline uint32_t A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTROIDREGID(uint32_t val)
{
return ((val) << A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTROIDREGID__SHIFT) & A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTROIDREGID__MASK;
}
#define A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTROIDREGID__MASK 0xff000000
#define A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTROIDREGID__SHIFT 24
static inline uint32_t A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTROIDREGID(uint32_t val)
{ {
return ((val) << A3XX_HLSQ_CONTROL_3_REG_REGID__SHIFT) & A3XX_HLSQ_CONTROL_3_REG_REGID__MASK; return ((val) << A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTROIDREGID__SHIFT) & A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTROIDREGID__MASK;
} }
#define REG_A3XX_HLSQ_VS_CONTROL_REG 0x00002204 #define REG_A3XX_HLSQ_VS_CONTROL_REG 0x00002204
...@@ -1944,8 +1965,6 @@ static inline uint32_t A3XX_VFD_CONTROL_1_REGID4INST(uint32_t val) ...@@ -1944,8 +1965,6 @@ static inline uint32_t A3XX_VFD_CONTROL_1_REGID4INST(uint32_t val)
#define REG_A3XX_VFD_INDEX_OFFSET 0x00002245 #define REG_A3XX_VFD_INDEX_OFFSET 0x00002245
#define REG_A3XX_VFD_INDEX_OFFSET 0x00002245
static inline uint32_t REG_A3XX_VFD_FETCH(uint32_t i0) { return 0x00002246 + 0x2*i0; } static inline uint32_t REG_A3XX_VFD_FETCH(uint32_t i0) { return 0x00002246 + 0x2*i0; }
static inline uint32_t REG_A3XX_VFD_FETCH_INSTR_0(uint32_t i0) { return 0x00002246 + 0x2*i0; } static inline uint32_t REG_A3XX_VFD_FETCH_INSTR_0(uint32_t i0) { return 0x00002246 + 0x2*i0; }
...@@ -3107,7 +3126,12 @@ static inline uint32_t A3XX_TEX_SAMP_1_MIN_LOD(float val) ...@@ -3107,7 +3126,12 @@ static inline uint32_t A3XX_TEX_SAMP_1_MIN_LOD(float val)
} }
#define REG_A3XX_TEX_CONST_0 0x00000000 #define REG_A3XX_TEX_CONST_0 0x00000000
#define A3XX_TEX_CONST_0_TILED 0x00000001 #define A3XX_TEX_CONST_0_TILE_MODE__MASK 0x00000003
#define A3XX_TEX_CONST_0_TILE_MODE__SHIFT 0
static inline uint32_t A3XX_TEX_CONST_0_TILE_MODE(enum a3xx_tile_mode val)
{
return ((val) << A3XX_TEX_CONST_0_TILE_MODE__SHIFT) & A3XX_TEX_CONST_0_TILE_MODE__MASK;
}
#define A3XX_TEX_CONST_0_SRGB 0x00000004 #define A3XX_TEX_CONST_0_SRGB 0x00000004
#define A3XX_TEX_CONST_0_SWIZ_X__MASK 0x00000070 #define A3XX_TEX_CONST_0_SWIZ_X__MASK 0x00000070
#define A3XX_TEX_CONST_0_SWIZ_X__SHIFT 4 #define A3XX_TEX_CONST_0_SWIZ_X__SHIFT 4
...@@ -3172,11 +3196,11 @@ static inline uint32_t A3XX_TEX_CONST_1_WIDTH(uint32_t val) ...@@ -3172,11 +3196,11 @@ static inline uint32_t A3XX_TEX_CONST_1_WIDTH(uint32_t val)
{ {
return ((val) << A3XX_TEX_CONST_1_WIDTH__SHIFT) & A3XX_TEX_CONST_1_WIDTH__MASK; return ((val) << A3XX_TEX_CONST_1_WIDTH__SHIFT) & A3XX_TEX_CONST_1_WIDTH__MASK;
} }
#define A3XX_TEX_CONST_1_FETCHSIZE__MASK 0xf0000000 #define A3XX_TEX_CONST_1_PITCHALIGN__MASK 0xf0000000
#define A3XX_TEX_CONST_1_FETCHSIZE__SHIFT 28 #define A3XX_TEX_CONST_1_PITCHALIGN__SHIFT 28
static inline uint32_t A3XX_TEX_CONST_1_FETCHSIZE(enum a3xx_tex_fetchsize val) static inline uint32_t A3XX_TEX_CONST_1_PITCHALIGN(uint32_t val)
{ {
return ((val) << A3XX_TEX_CONST_1_FETCHSIZE__SHIFT) & A3XX_TEX_CONST_1_FETCHSIZE__MASK; return ((val) << A3XX_TEX_CONST_1_PITCHALIGN__SHIFT) & A3XX_TEX_CONST_1_PITCHALIGN__MASK;
} }
#define REG_A3XX_TEX_CONST_2 0x00000002 #define REG_A3XX_TEX_CONST_2 0x00000002
......
...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/adreno.xml ( 501 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno.xml ( 594 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 42463 bytes, from 2018-11-19 13:44:03) - /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 90159 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14201 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14386 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 43052 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 65048 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 83840 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 84226 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112086 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112556 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 147240 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 149461 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 140790 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 184695 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 10431 bytes, from 2018-09-14 13:03:07) - /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 11218 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_control_regs.xml ( 4559 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: - /home/robclark/src/envytools/rnndb/adreno/adreno_pipe_regs.xml ( 2872 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
...@@ -91,6 +93,7 @@ enum a4xx_color_fmt { ...@@ -91,6 +93,7 @@ enum a4xx_color_fmt {
RB4_R32G32B32A32_FLOAT = 60, RB4_R32G32B32A32_FLOAT = 60,
RB4_R32G32B32A32_UINT = 61, RB4_R32G32B32A32_UINT = 61,
RB4_R32G32B32A32_SINT = 62, RB4_R32G32B32A32_SINT = 62,
RB4_NONE = 255,
}; };
enum a4xx_tile_mode { enum a4xx_tile_mode {
...@@ -161,6 +164,7 @@ enum a4xx_vtx_fmt { ...@@ -161,6 +164,7 @@ enum a4xx_vtx_fmt {
VFMT4_2_10_10_10_UNORM = 61, VFMT4_2_10_10_10_UNORM = 61,
VFMT4_2_10_10_10_SINT = 62, VFMT4_2_10_10_10_SINT = 62,
VFMT4_2_10_10_10_SNORM = 63, VFMT4_2_10_10_10_SNORM = 63,
VFMT4_NONE = 255,
}; };
enum a4xx_tex_fmt { enum a4xx_tex_fmt {
...@@ -248,14 +252,7 @@ enum a4xx_tex_fmt { ...@@ -248,14 +252,7 @@ enum a4xx_tex_fmt {
TFMT4_ASTC_10x10 = 122, TFMT4_ASTC_10x10 = 122,
TFMT4_ASTC_12x10 = 123, TFMT4_ASTC_12x10 = 123,
TFMT4_ASTC_12x12 = 124, TFMT4_ASTC_12x12 = 124,
}; TFMT4_NONE = 255,
enum a4xx_tex_fetchsize {
TFETCH4_1_BYTE = 0,
TFETCH4_2_BYTE = 1,
TFETCH4_4_BYTE = 2,
TFETCH4_8_BYTE = 3,
TFETCH4_16_BYTE = 4,
}; };
enum a4xx_depth_format { enum a4xx_depth_format {
...@@ -949,10 +946,12 @@ static inline uint32_t A4XX_RB_MSAA_CONTROL_SAMPLES(uint32_t val) ...@@ -949,10 +946,12 @@ static inline uint32_t A4XX_RB_MSAA_CONTROL_SAMPLES(uint32_t val)
} }
#define REG_A4XX_RB_RENDER_CONTROL2 0x000020a3 #define REG_A4XX_RB_RENDER_CONTROL2 0x000020a3
#define A4XX_RB_RENDER_CONTROL2_XCOORD 0x00000001 #define A4XX_RB_RENDER_CONTROL2_COORD_MASK__MASK 0x0000000f
#define A4XX_RB_RENDER_CONTROL2_YCOORD 0x00000002 #define A4XX_RB_RENDER_CONTROL2_COORD_MASK__SHIFT 0
#define A4XX_RB_RENDER_CONTROL2_ZCOORD 0x00000004 static inline uint32_t A4XX_RB_RENDER_CONTROL2_COORD_MASK(uint32_t val)
#define A4XX_RB_RENDER_CONTROL2_WCOORD 0x00000008 {
return ((val) << A4XX_RB_RENDER_CONTROL2_COORD_MASK__SHIFT) & A4XX_RB_RENDER_CONTROL2_COORD_MASK__MASK;
}
#define A4XX_RB_RENDER_CONTROL2_SAMPLEMASK 0x00000010 #define A4XX_RB_RENDER_CONTROL2_SAMPLEMASK 0x00000010
#define A4XX_RB_RENDER_CONTROL2_FACENESS 0x00000020 #define A4XX_RB_RENDER_CONTROL2_FACENESS 0x00000020
#define A4XX_RB_RENDER_CONTROL2_SAMPLEID 0x00000040 #define A4XX_RB_RENDER_CONTROL2_SAMPLEID 0x00000040
...@@ -963,7 +962,10 @@ static inline uint32_t A4XX_RB_RENDER_CONTROL2_MSAA_SAMPLES(uint32_t val) ...@@ -963,7 +962,10 @@ static inline uint32_t A4XX_RB_RENDER_CONTROL2_MSAA_SAMPLES(uint32_t val)
return ((val) << A4XX_RB_RENDER_CONTROL2_MSAA_SAMPLES__SHIFT) & A4XX_RB_RENDER_CONTROL2_MSAA_SAMPLES__MASK; return ((val) << A4XX_RB_RENDER_CONTROL2_MSAA_SAMPLES__SHIFT) & A4XX_RB_RENDER_CONTROL2_MSAA_SAMPLES__MASK;
} }
#define A4XX_RB_RENDER_CONTROL2_SAMPLEID_HR 0x00000800 #define A4XX_RB_RENDER_CONTROL2_SAMPLEID_HR 0x00000800
#define A4XX_RB_RENDER_CONTROL2_VARYING 0x00001000 #define A4XX_RB_RENDER_CONTROL2_IJ_PERSP_PIXEL 0x00001000
#define A4XX_RB_RENDER_CONTROL2_IJ_PERSP_CENTROID 0x00002000
#define A4XX_RB_RENDER_CONTROL2_IJ_PERSP_SAMPLE 0x00004000
#define A4XX_RB_RENDER_CONTROL2_SIZE 0x00008000
static inline uint32_t REG_A4XX_RB_MRT(uint32_t i0) { return 0x000020a4 + 0x5*i0; } static inline uint32_t REG_A4XX_RB_MRT(uint32_t i0) { return 0x000020a4 + 0x5*i0; }
...@@ -1877,10 +1879,6 @@ static inline uint32_t REG_A4XX_RBBM_CLOCK_DELAY_TP_REG(uint32_t i0) { return 0x ...@@ -1877,10 +1879,6 @@ static inline uint32_t REG_A4XX_RBBM_CLOCK_DELAY_TP_REG(uint32_t i0) { return 0x
#define REG_A4XX_RBBM_PERFCTR_TP_0_HI 0x00000115 #define REG_A4XX_RBBM_PERFCTR_TP_0_HI 0x00000115
#define REG_A4XX_RBBM_PERFCTR_TP_0_LO 0x00000114
#define REG_A4XX_RBBM_PERFCTR_TP_0_HI 0x00000115
#define REG_A4XX_RBBM_PERFCTR_TP_1_LO 0x00000116 #define REG_A4XX_RBBM_PERFCTR_TP_1_LO 0x00000116
#define REG_A4XX_RBBM_PERFCTR_TP_1_HI 0x00000117 #define REG_A4XX_RBBM_PERFCTR_TP_1_HI 0x00000117
...@@ -2061,8 +2059,6 @@ static inline uint32_t REG_A4XX_RBBM_CLOCK_DELAY_RB_MARB_CCU_L1_REG(uint32_t i0) ...@@ -2061,8 +2059,6 @@ static inline uint32_t REG_A4XX_RBBM_CLOCK_DELAY_RB_MARB_CCU_L1_REG(uint32_t i0)
#define REG_A4XX_RBBM_SP_REGFILE_SLEEP_CNTL_1 0x0000009a #define REG_A4XX_RBBM_SP_REGFILE_SLEEP_CNTL_1 0x0000009a
#define REG_A4XX_RBBM_PERFCTR_PWR_1_LO 0x00000168
#define REG_A4XX_RBBM_PERFCTR_CTL 0x00000170 #define REG_A4XX_RBBM_PERFCTR_CTL 0x00000170
#define REG_A4XX_RBBM_PERFCTR_LOAD_CMD0 0x00000171 #define REG_A4XX_RBBM_PERFCTR_LOAD_CMD0 0x00000171
...@@ -2210,8 +2206,18 @@ static inline uint32_t A4XX_CP_PROTECT_REG_MASK_LEN(uint32_t val) ...@@ -2210,8 +2206,18 @@ static inline uint32_t A4XX_CP_PROTECT_REG_MASK_LEN(uint32_t val)
{ {
return ((val) << A4XX_CP_PROTECT_REG_MASK_LEN__SHIFT) & A4XX_CP_PROTECT_REG_MASK_LEN__MASK; return ((val) << A4XX_CP_PROTECT_REG_MASK_LEN__SHIFT) & A4XX_CP_PROTECT_REG_MASK_LEN__MASK;
} }
#define A4XX_CP_PROTECT_REG_TRAP_WRITE 0x20000000 #define A4XX_CP_PROTECT_REG_TRAP_WRITE__MASK 0x20000000
#define A4XX_CP_PROTECT_REG_TRAP_READ 0x40000000 #define A4XX_CP_PROTECT_REG_TRAP_WRITE__SHIFT 29
static inline uint32_t A4XX_CP_PROTECT_REG_TRAP_WRITE(uint32_t val)
{
return ((val) << A4XX_CP_PROTECT_REG_TRAP_WRITE__SHIFT) & A4XX_CP_PROTECT_REG_TRAP_WRITE__MASK;
}
#define A4XX_CP_PROTECT_REG_TRAP_READ__MASK 0x40000000
#define A4XX_CP_PROTECT_REG_TRAP_READ__SHIFT 30
static inline uint32_t A4XX_CP_PROTECT_REG_TRAP_READ(uint32_t val)
{
return ((val) << A4XX_CP_PROTECT_REG_TRAP_READ__SHIFT) & A4XX_CP_PROTECT_REG_TRAP_READ__MASK;
}
#define REG_A4XX_CP_PROTECT_CTRL 0x00000250 #define REG_A4XX_CP_PROTECT_CTRL 0x00000250
...@@ -3151,8 +3157,9 @@ static inline uint32_t A4XX_TPL1_TP_TEX_COUNT_GS(uint32_t val) ...@@ -3151,8 +3157,9 @@ static inline uint32_t A4XX_TPL1_TP_TEX_COUNT_GS(uint32_t val)
#define A4XX_GRAS_CL_CLIP_CNTL_ZFAR_CLIP_DISABLE 0x00020000 #define A4XX_GRAS_CL_CLIP_CNTL_ZFAR_CLIP_DISABLE 0x00020000
#define A4XX_GRAS_CL_CLIP_CNTL_ZERO_GB_SCALE_Z 0x00400000 #define A4XX_GRAS_CL_CLIP_CNTL_ZERO_GB_SCALE_Z 0x00400000
#define REG_A4XX_GRAS_CLEAR_CNTL 0x00002003 #define REG_A4XX_GRAS_CNTL 0x00002003
#define A4XX_GRAS_CLEAR_CNTL_NOT_FASTCLEAR 0x00000001 #define A4XX_GRAS_CNTL_IJ_PERSP 0x00000001
#define A4XX_GRAS_CNTL_IJ_LINEAR 0x00000002
#define REG_A4XX_GRAS_CL_GB_CLIP_ADJ 0x00002004 #define REG_A4XX_GRAS_CL_GB_CLIP_ADJ 0x00002004
#define A4XX_GRAS_CL_GB_CLIP_ADJ_HORZ__MASK 0x000003ff #define A4XX_GRAS_CL_GB_CLIP_ADJ_HORZ__MASK 0x000003ff
...@@ -3524,14 +3531,44 @@ static inline uint32_t A4XX_HLSQ_CONTROL_2_REG_SAMPLEMASK_REGID(uint32_t val) ...@@ -3524,14 +3531,44 @@ static inline uint32_t A4XX_HLSQ_CONTROL_2_REG_SAMPLEMASK_REGID(uint32_t val)
} }
#define REG_A4XX_HLSQ_CONTROL_3_REG 0x000023c3 #define REG_A4XX_HLSQ_CONTROL_3_REG 0x000023c3
#define A4XX_HLSQ_CONTROL_3_REG_REGID__MASK 0x000000ff #define A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL__MASK 0x000000ff
#define A4XX_HLSQ_CONTROL_3_REG_REGID__SHIFT 0 #define A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL__SHIFT 0
static inline uint32_t A4XX_HLSQ_CONTROL_3_REG_REGID(uint32_t val) static inline uint32_t A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(uint32_t val)
{
return ((val) << A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL__SHIFT) & A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL__MASK;
}
#define A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL__MASK 0x0000ff00
#define A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL__SHIFT 8
static inline uint32_t A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(uint32_t val)
{
return ((val) << A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL__SHIFT) & A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL__MASK;
}
#define A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID__MASK 0x00ff0000
#define A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID__SHIFT 16
static inline uint32_t A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID(uint32_t val)
{ {
return ((val) << A4XX_HLSQ_CONTROL_3_REG_REGID__SHIFT) & A4XX_HLSQ_CONTROL_3_REG_REGID__MASK; return ((val) << A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID__SHIFT) & A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID__MASK;
}
#define A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID__MASK 0xff000000
#define A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID__SHIFT 24
static inline uint32_t A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID(uint32_t val)
{
return ((val) << A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID__SHIFT) & A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID__MASK;
} }
#define REG_A4XX_HLSQ_CONTROL_4_REG 0x000023c4 #define REG_A4XX_HLSQ_CONTROL_4_REG 0x000023c4
#define A4XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE__MASK 0x000000ff
#define A4XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE__SHIFT 0
static inline uint32_t A4XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE(uint32_t val)
{
return ((val) << A4XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE__SHIFT) & A4XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE__MASK;
}
#define A4XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE__MASK 0x0000ff00
#define A4XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE__SHIFT 8
static inline uint32_t A4XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE(uint32_t val)
{
return ((val) << A4XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE__SHIFT) & A4XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE__MASK;
}
#define REG_A4XX_HLSQ_VS_CONTROL_REG 0x000023c5 #define REG_A4XX_HLSQ_VS_CONTROL_REG 0x000023c5
#define A4XX_HLSQ_VS_CONTROL_REG_CONSTLENGTH__MASK 0x000000ff #define A4XX_HLSQ_VS_CONTROL_REG_CONSTLENGTH__MASK 0x000000ff
...@@ -4115,11 +4152,11 @@ static inline uint32_t A4XX_TEX_CONST_1_WIDTH(uint32_t val) ...@@ -4115,11 +4152,11 @@ static inline uint32_t A4XX_TEX_CONST_1_WIDTH(uint32_t val)
} }
#define REG_A4XX_TEX_CONST_2 0x00000002 #define REG_A4XX_TEX_CONST_2 0x00000002
#define A4XX_TEX_CONST_2_FETCHSIZE__MASK 0x0000000f #define A4XX_TEX_CONST_2_PITCHALIGN__MASK 0x0000000f
#define A4XX_TEX_CONST_2_FETCHSIZE__SHIFT 0 #define A4XX_TEX_CONST_2_PITCHALIGN__SHIFT 0
static inline uint32_t A4XX_TEX_CONST_2_FETCHSIZE(enum a4xx_tex_fetchsize val) static inline uint32_t A4XX_TEX_CONST_2_PITCHALIGN(uint32_t val)
{ {
return ((val) << A4XX_TEX_CONST_2_FETCHSIZE__SHIFT) & A4XX_TEX_CONST_2_FETCHSIZE__MASK; return ((val) << A4XX_TEX_CONST_2_PITCHALIGN__SHIFT) & A4XX_TEX_CONST_2_PITCHALIGN__MASK;
} }
#define A4XX_TEX_CONST_2_PITCH__MASK 0x3ffffe00 #define A4XX_TEX_CONST_2_PITCH__MASK 0x3ffffe00
#define A4XX_TEX_CONST_2_PITCH__SHIFT 9 #define A4XX_TEX_CONST_2_PITCH__SHIFT 9
......
...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/ubuntu/envytools/envytools/rnndb/./adreno.xml ( 501 bytes, from 2019-05-29 01:28:15) - /home/robclark/src/envytools/rnndb/adreno.xml ( 594 bytes, from 2020-07-23 21:58:14)
- /home/ubuntu/envytools/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2019-05-29 01:28:15) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/ubuntu/envytools/envytools/rnndb/adreno/a2xx.xml ( 79608 bytes, from 2019-05-29 01:28:15) - /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 90159 bytes, from 2020-07-23 21:58:14)
- /home/ubuntu/envytools/envytools/rnndb/adreno/adreno_common.xml ( 14239 bytes, from 2019-05-29 01:28:15) - /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14386 bytes, from 2020-07-23 21:58:14)
- /home/ubuntu/envytools/envytools/rnndb/adreno/adreno_pm4.xml ( 43155 bytes, from 2019-05-29 01:28:15) - /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 65048 bytes, from 2020-07-23 21:58:14)
- /home/ubuntu/envytools/envytools/rnndb/adreno/a3xx.xml ( 83840 bytes, from 2019-05-29 01:28:15) - /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 84226 bytes, from 2020-07-23 21:58:14)
- /home/ubuntu/envytools/envytools/rnndb/adreno/a4xx.xml ( 112086 bytes, from 2019-05-29 01:28:15) - /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112556 bytes, from 2020-07-23 21:58:14)
- /home/ubuntu/envytools/envytools/rnndb/adreno/a5xx.xml ( 147291 bytes, from 2019-05-29 14:51:41) - /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 149461 bytes, from 2020-07-23 21:58:14)
- /home/ubuntu/envytools/envytools/rnndb/adreno/a6xx.xml ( 148461 bytes, from 2019-05-29 01:28:15) - /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 184695 bytes, from 2020-07-23 21:58:14)
- /home/ubuntu/envytools/envytools/rnndb/adreno/a6xx_gmu.xml ( 10431 bytes, from 2019-05-29 01:28:15) - /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 11218 bytes, from 2020-07-23 21:58:14)
- /home/ubuntu/envytools/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2019-05-29 01:28:15) - /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_control_regs.xml ( 4559 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2019 by the following authors: - /home/robclark/src/envytools/rnndb/adreno/adreno_pipe_regs.xml ( 2872 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
...@@ -91,6 +93,7 @@ enum a5xx_color_fmt { ...@@ -91,6 +93,7 @@ enum a5xx_color_fmt {
RB5_R32G32B32A32_FLOAT = 130, RB5_R32G32B32A32_FLOAT = 130,
RB5_R32G32B32A32_UINT = 131, RB5_R32G32B32A32_UINT = 131,
RB5_R32G32B32A32_SINT = 132, RB5_R32G32B32A32_SINT = 132,
RB5_NONE = 255,
}; };
enum a5xx_tile_mode { enum a5xx_tile_mode {
...@@ -165,6 +168,7 @@ enum a5xx_vtx_fmt { ...@@ -165,6 +168,7 @@ enum a5xx_vtx_fmt {
VFMT5_32_32_32_32_UINT = 131, VFMT5_32_32_32_32_UINT = 131,
VFMT5_32_32_32_32_SINT = 132, VFMT5_32_32_32_32_SINT = 132,
VFMT5_32_32_32_32_FIXED = 133, VFMT5_32_32_32_32_FIXED = 133,
VFMT5_NONE = 255,
}; };
enum a5xx_tex_fmt { enum a5xx_tex_fmt {
...@@ -250,14 +254,7 @@ enum a5xx_tex_fmt { ...@@ -250,14 +254,7 @@ enum a5xx_tex_fmt {
TFMT5_ASTC_10x10 = 204, TFMT5_ASTC_10x10 = 204,
TFMT5_ASTC_12x10 = 205, TFMT5_ASTC_12x10 = 205,
TFMT5_ASTC_12x12 = 206, TFMT5_ASTC_12x12 = 206,
}; TFMT5_NONE = 255,
enum a5xx_tex_fetchsize {
TFETCH5_1_BYTE = 0,
TFETCH5_2_BYTE = 1,
TFETCH5_4_BYTE = 2,
TFETCH5_8_BYTE = 3,
TFETCH5_16_BYTE = 4,
}; };
enum a5xx_depth_format { enum a5xx_depth_format {
...@@ -1052,8 +1049,18 @@ static inline uint32_t A5XX_CP_PROTECT_REG_MASK_LEN(uint32_t val) ...@@ -1052,8 +1049,18 @@ static inline uint32_t A5XX_CP_PROTECT_REG_MASK_LEN(uint32_t val)
{ {
return ((val) << A5XX_CP_PROTECT_REG_MASK_LEN__SHIFT) & A5XX_CP_PROTECT_REG_MASK_LEN__MASK; return ((val) << A5XX_CP_PROTECT_REG_MASK_LEN__SHIFT) & A5XX_CP_PROTECT_REG_MASK_LEN__MASK;
} }
#define A5XX_CP_PROTECT_REG_TRAP_WRITE 0x20000000 #define A5XX_CP_PROTECT_REG_TRAP_WRITE__MASK 0x20000000
#define A5XX_CP_PROTECT_REG_TRAP_READ 0x40000000 #define A5XX_CP_PROTECT_REG_TRAP_WRITE__SHIFT 29
static inline uint32_t A5XX_CP_PROTECT_REG_TRAP_WRITE(uint32_t val)
{
return ((val) << A5XX_CP_PROTECT_REG_TRAP_WRITE__SHIFT) & A5XX_CP_PROTECT_REG_TRAP_WRITE__MASK;
}
#define A5XX_CP_PROTECT_REG_TRAP_READ__MASK 0x40000000
#define A5XX_CP_PROTECT_REG_TRAP_READ__SHIFT 30
static inline uint32_t A5XX_CP_PROTECT_REG_TRAP_READ(uint32_t val)
{
return ((val) << A5XX_CP_PROTECT_REG_TRAP_READ__SHIFT) & A5XX_CP_PROTECT_REG_TRAP_READ__MASK;
}
#define REG_A5XX_CP_PROTECT_CNTL 0x000008a0 #define REG_A5XX_CP_PROTECT_CNTL 0x000008a0
...@@ -1825,37 +1832,192 @@ static inline uint32_t A5XX_CP_PROTECT_REG_MASK_LEN(uint32_t val) ...@@ -1825,37 +1832,192 @@ static inline uint32_t A5XX_CP_PROTECT_REG_MASK_LEN(uint32_t val)
#define REG_A5XX_RBBM_ALWAYSON_COUNTER_HI 0x000004d3 #define REG_A5XX_RBBM_ALWAYSON_COUNTER_HI 0x000004d3
#define REG_A5XX_RBBM_STATUS 0x000004f5 #define REG_A5XX_RBBM_STATUS 0x000004f5
#define A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB 0x80000000 #define A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB__MASK 0x80000000
#define A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_CP 0x40000000 #define A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB__SHIFT 31
#define A5XX_RBBM_STATUS_HLSQ_BUSY 0x20000000 static inline uint32_t A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB(uint32_t val)
#define A5XX_RBBM_STATUS_VSC_BUSY 0x10000000 {
#define A5XX_RBBM_STATUS_TPL1_BUSY 0x08000000 return ((val) << A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB__SHIFT) & A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB__MASK;
#define A5XX_RBBM_STATUS_SP_BUSY 0x04000000 }
#define A5XX_RBBM_STATUS_UCHE_BUSY 0x02000000 #define A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_CP__MASK 0x40000000
#define A5XX_RBBM_STATUS_VPC_BUSY 0x01000000 #define A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_CP__SHIFT 30
#define A5XX_RBBM_STATUS_VFDP_BUSY 0x00800000 static inline uint32_t A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_CP(uint32_t val)
#define A5XX_RBBM_STATUS_VFD_BUSY 0x00400000 {
#define A5XX_RBBM_STATUS_TESS_BUSY 0x00200000 return ((val) << A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_CP__SHIFT) & A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_CP__MASK;
#define A5XX_RBBM_STATUS_PC_VSD_BUSY 0x00100000 }
#define A5XX_RBBM_STATUS_PC_DCALL_BUSY 0x00080000 #define A5XX_RBBM_STATUS_HLSQ_BUSY__MASK 0x20000000
#define A5XX_RBBM_STATUS_GPMU_SLAVE_BUSY 0x00040000 #define A5XX_RBBM_STATUS_HLSQ_BUSY__SHIFT 29
#define A5XX_RBBM_STATUS_DCOM_BUSY 0x00020000 static inline uint32_t A5XX_RBBM_STATUS_HLSQ_BUSY(uint32_t val)
#define A5XX_RBBM_STATUS_COM_BUSY 0x00010000 {
#define A5XX_RBBM_STATUS_LRZ_BUZY 0x00008000 return ((val) << A5XX_RBBM_STATUS_HLSQ_BUSY__SHIFT) & A5XX_RBBM_STATUS_HLSQ_BUSY__MASK;
#define A5XX_RBBM_STATUS_A2D_DSP_BUSY 0x00004000 }
#define A5XX_RBBM_STATUS_CCUFCHE_BUSY 0x00002000 #define A5XX_RBBM_STATUS_VSC_BUSY__MASK 0x10000000
#define A5XX_RBBM_STATUS_RB_BUSY 0x00001000 #define A5XX_RBBM_STATUS_VSC_BUSY__SHIFT 28
#define A5XX_RBBM_STATUS_RAS_BUSY 0x00000800 static inline uint32_t A5XX_RBBM_STATUS_VSC_BUSY(uint32_t val)
#define A5XX_RBBM_STATUS_TSE_BUSY 0x00000400 {
#define A5XX_RBBM_STATUS_VBIF_BUSY 0x00000200 return ((val) << A5XX_RBBM_STATUS_VSC_BUSY__SHIFT) & A5XX_RBBM_STATUS_VSC_BUSY__MASK;
#define A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_HYST 0x00000100 }
#define A5XX_RBBM_STATUS_CP_BUSY_IGN_HYST 0x00000080 #define A5XX_RBBM_STATUS_TPL1_BUSY__MASK 0x08000000
#define A5XX_RBBM_STATUS_CP_BUSY 0x00000040 #define A5XX_RBBM_STATUS_TPL1_BUSY__SHIFT 27
#define A5XX_RBBM_STATUS_GPMU_MASTER_BUSY 0x00000020 static inline uint32_t A5XX_RBBM_STATUS_TPL1_BUSY(uint32_t val)
#define A5XX_RBBM_STATUS_CP_CRASH_BUSY 0x00000010 {
#define A5XX_RBBM_STATUS_CP_ETS_BUSY 0x00000008 return ((val) << A5XX_RBBM_STATUS_TPL1_BUSY__SHIFT) & A5XX_RBBM_STATUS_TPL1_BUSY__MASK;
#define A5XX_RBBM_STATUS_CP_PFP_BUSY 0x00000004 }
#define A5XX_RBBM_STATUS_CP_ME_BUSY 0x00000002 #define A5XX_RBBM_STATUS_SP_BUSY__MASK 0x04000000
#define A5XX_RBBM_STATUS_SP_BUSY__SHIFT 26
static inline uint32_t A5XX_RBBM_STATUS_SP_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_SP_BUSY__SHIFT) & A5XX_RBBM_STATUS_SP_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_UCHE_BUSY__MASK 0x02000000
#define A5XX_RBBM_STATUS_UCHE_BUSY__SHIFT 25
static inline uint32_t A5XX_RBBM_STATUS_UCHE_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_UCHE_BUSY__SHIFT) & A5XX_RBBM_STATUS_UCHE_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_VPC_BUSY__MASK 0x01000000
#define A5XX_RBBM_STATUS_VPC_BUSY__SHIFT 24
static inline uint32_t A5XX_RBBM_STATUS_VPC_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_VPC_BUSY__SHIFT) & A5XX_RBBM_STATUS_VPC_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_VFDP_BUSY__MASK 0x00800000
#define A5XX_RBBM_STATUS_VFDP_BUSY__SHIFT 23
static inline uint32_t A5XX_RBBM_STATUS_VFDP_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_VFDP_BUSY__SHIFT) & A5XX_RBBM_STATUS_VFDP_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_VFD_BUSY__MASK 0x00400000
#define A5XX_RBBM_STATUS_VFD_BUSY__SHIFT 22
static inline uint32_t A5XX_RBBM_STATUS_VFD_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_VFD_BUSY__SHIFT) & A5XX_RBBM_STATUS_VFD_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_TESS_BUSY__MASK 0x00200000
#define A5XX_RBBM_STATUS_TESS_BUSY__SHIFT 21
static inline uint32_t A5XX_RBBM_STATUS_TESS_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_TESS_BUSY__SHIFT) & A5XX_RBBM_STATUS_TESS_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_PC_VSD_BUSY__MASK 0x00100000
#define A5XX_RBBM_STATUS_PC_VSD_BUSY__SHIFT 20
static inline uint32_t A5XX_RBBM_STATUS_PC_VSD_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_PC_VSD_BUSY__SHIFT) & A5XX_RBBM_STATUS_PC_VSD_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_PC_DCALL_BUSY__MASK 0x00080000
#define A5XX_RBBM_STATUS_PC_DCALL_BUSY__SHIFT 19
static inline uint32_t A5XX_RBBM_STATUS_PC_DCALL_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_PC_DCALL_BUSY__SHIFT) & A5XX_RBBM_STATUS_PC_DCALL_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_GPMU_SLAVE_BUSY__MASK 0x00040000
#define A5XX_RBBM_STATUS_GPMU_SLAVE_BUSY__SHIFT 18
static inline uint32_t A5XX_RBBM_STATUS_GPMU_SLAVE_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_GPMU_SLAVE_BUSY__SHIFT) & A5XX_RBBM_STATUS_GPMU_SLAVE_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_DCOM_BUSY__MASK 0x00020000
#define A5XX_RBBM_STATUS_DCOM_BUSY__SHIFT 17
static inline uint32_t A5XX_RBBM_STATUS_DCOM_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_DCOM_BUSY__SHIFT) & A5XX_RBBM_STATUS_DCOM_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_COM_BUSY__MASK 0x00010000
#define A5XX_RBBM_STATUS_COM_BUSY__SHIFT 16
static inline uint32_t A5XX_RBBM_STATUS_COM_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_COM_BUSY__SHIFT) & A5XX_RBBM_STATUS_COM_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_LRZ_BUZY__MASK 0x00008000
#define A5XX_RBBM_STATUS_LRZ_BUZY__SHIFT 15
static inline uint32_t A5XX_RBBM_STATUS_LRZ_BUZY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_LRZ_BUZY__SHIFT) & A5XX_RBBM_STATUS_LRZ_BUZY__MASK;
}
#define A5XX_RBBM_STATUS_A2D_DSP_BUSY__MASK 0x00004000
#define A5XX_RBBM_STATUS_A2D_DSP_BUSY__SHIFT 14
static inline uint32_t A5XX_RBBM_STATUS_A2D_DSP_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_A2D_DSP_BUSY__SHIFT) & A5XX_RBBM_STATUS_A2D_DSP_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_CCUFCHE_BUSY__MASK 0x00002000
#define A5XX_RBBM_STATUS_CCUFCHE_BUSY__SHIFT 13
static inline uint32_t A5XX_RBBM_STATUS_CCUFCHE_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_CCUFCHE_BUSY__SHIFT) & A5XX_RBBM_STATUS_CCUFCHE_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_RB_BUSY__MASK 0x00001000
#define A5XX_RBBM_STATUS_RB_BUSY__SHIFT 12
static inline uint32_t A5XX_RBBM_STATUS_RB_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_RB_BUSY__SHIFT) & A5XX_RBBM_STATUS_RB_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_RAS_BUSY__MASK 0x00000800
#define A5XX_RBBM_STATUS_RAS_BUSY__SHIFT 11
static inline uint32_t A5XX_RBBM_STATUS_RAS_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_RAS_BUSY__SHIFT) & A5XX_RBBM_STATUS_RAS_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_TSE_BUSY__MASK 0x00000400
#define A5XX_RBBM_STATUS_TSE_BUSY__SHIFT 10
static inline uint32_t A5XX_RBBM_STATUS_TSE_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_TSE_BUSY__SHIFT) & A5XX_RBBM_STATUS_TSE_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_VBIF_BUSY__MASK 0x00000200
#define A5XX_RBBM_STATUS_VBIF_BUSY__SHIFT 9
static inline uint32_t A5XX_RBBM_STATUS_VBIF_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_VBIF_BUSY__SHIFT) & A5XX_RBBM_STATUS_VBIF_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_HYST__MASK 0x00000100
#define A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_HYST__SHIFT 8
static inline uint32_t A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_HYST(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_HYST__SHIFT) & A5XX_RBBM_STATUS_GPU_BUSY_IGN_AHB_HYST__MASK;
}
#define A5XX_RBBM_STATUS_CP_BUSY_IGN_HYST__MASK 0x00000080
#define A5XX_RBBM_STATUS_CP_BUSY_IGN_HYST__SHIFT 7
static inline uint32_t A5XX_RBBM_STATUS_CP_BUSY_IGN_HYST(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_CP_BUSY_IGN_HYST__SHIFT) & A5XX_RBBM_STATUS_CP_BUSY_IGN_HYST__MASK;
}
#define A5XX_RBBM_STATUS_CP_BUSY__MASK 0x00000040
#define A5XX_RBBM_STATUS_CP_BUSY__SHIFT 6
static inline uint32_t A5XX_RBBM_STATUS_CP_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_CP_BUSY__SHIFT) & A5XX_RBBM_STATUS_CP_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_GPMU_MASTER_BUSY__MASK 0x00000020
#define A5XX_RBBM_STATUS_GPMU_MASTER_BUSY__SHIFT 5
static inline uint32_t A5XX_RBBM_STATUS_GPMU_MASTER_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_GPMU_MASTER_BUSY__SHIFT) & A5XX_RBBM_STATUS_GPMU_MASTER_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_CP_CRASH_BUSY__MASK 0x00000010
#define A5XX_RBBM_STATUS_CP_CRASH_BUSY__SHIFT 4
static inline uint32_t A5XX_RBBM_STATUS_CP_CRASH_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_CP_CRASH_BUSY__SHIFT) & A5XX_RBBM_STATUS_CP_CRASH_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_CP_ETS_BUSY__MASK 0x00000008
#define A5XX_RBBM_STATUS_CP_ETS_BUSY__SHIFT 3
static inline uint32_t A5XX_RBBM_STATUS_CP_ETS_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_CP_ETS_BUSY__SHIFT) & A5XX_RBBM_STATUS_CP_ETS_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_CP_PFP_BUSY__MASK 0x00000004
#define A5XX_RBBM_STATUS_CP_PFP_BUSY__SHIFT 2
static inline uint32_t A5XX_RBBM_STATUS_CP_PFP_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_CP_PFP_BUSY__SHIFT) & A5XX_RBBM_STATUS_CP_PFP_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_CP_ME_BUSY__MASK 0x00000002
#define A5XX_RBBM_STATUS_CP_ME_BUSY__SHIFT 1
static inline uint32_t A5XX_RBBM_STATUS_CP_ME_BUSY(uint32_t val)
{
return ((val) << A5XX_RBBM_STATUS_CP_ME_BUSY__SHIFT) & A5XX_RBBM_STATUS_CP_ME_BUSY__MASK;
}
#define A5XX_RBBM_STATUS_HI_BUSY 0x00000001 #define A5XX_RBBM_STATUS_HI_BUSY 0x00000001
#define REG_A5XX_RBBM_STATUS3 0x00000530 #define REG_A5XX_RBBM_STATUS3 0x00000530
...@@ -1884,14 +2046,6 @@ static inline uint32_t A5XX_CP_PROTECT_REG_MASK_LEN(uint32_t val) ...@@ -1884,14 +2046,6 @@ static inline uint32_t A5XX_CP_PROTECT_REG_MASK_LEN(uint32_t val)
#define REG_A5XX_RBBM_PERFCTR_LOAD_VALUE_HI 0x0000046a #define REG_A5XX_RBBM_PERFCTR_LOAD_VALUE_HI 0x0000046a
#define REG_A5XX_RBBM_PERFCTR_RBBM_SEL_0 0x0000046b
#define REG_A5XX_RBBM_PERFCTR_RBBM_SEL_1 0x0000046c
#define REG_A5XX_RBBM_PERFCTR_RBBM_SEL_2 0x0000046d
#define REG_A5XX_RBBM_PERFCTR_RBBM_SEL_3 0x0000046e
#define REG_A5XX_RBBM_PERFCTR_GPU_BUSY_MASKED 0x0000046f #define REG_A5XX_RBBM_PERFCTR_GPU_BUSY_MASKED 0x0000046f
#define REG_A5XX_RBBM_AHB_ERROR 0x000004ed #define REG_A5XX_RBBM_AHB_ERROR 0x000004ed
...@@ -2455,8 +2609,6 @@ static inline uint32_t A5XX_VSC_RESOLVE_CNTL_Y(uint32_t val) ...@@ -2455,8 +2609,6 @@ static inline uint32_t A5XX_VSC_RESOLVE_CNTL_Y(uint32_t val)
#define REG_A5XX_GPMU_PWR_COL_BINNING_CTRL 0x0000a894 #define REG_A5XX_GPMU_PWR_COL_BINNING_CTRL 0x0000a894
#define REG_A5XX_GPMU_CLOCK_THROTTLE_CTRL 0x0000a8a3
#define REG_A5XX_GPMU_WFI_CONFIG 0x0000a8c1 #define REG_A5XX_GPMU_WFI_CONFIG 0x0000a8c1
#define REG_A5XX_GPMU_RBBM_INTR_INFO 0x0000a8d6 #define REG_A5XX_GPMU_RBBM_INTR_INFO 0x0000a8d6
...@@ -2659,12 +2811,16 @@ static inline uint32_t A5XX_VSC_RESOLVE_CNTL_Y(uint32_t val) ...@@ -2659,12 +2811,16 @@ static inline uint32_t A5XX_VSC_RESOLVE_CNTL_Y(uint32_t val)
#define REG_A5XX_UNKNOWN_E004 0x0000e004 #define REG_A5XX_UNKNOWN_E004 0x0000e004
#define REG_A5XX_GRAS_CNTL 0x0000e005 #define REG_A5XX_GRAS_CNTL 0x0000e005
#define A5XX_GRAS_CNTL_VARYING 0x00000001 #define A5XX_GRAS_CNTL_IJ_PERSP_PIXEL 0x00000001
#define A5XX_GRAS_CNTL_UNK3 0x00000008 #define A5XX_GRAS_CNTL_IJ_PERSP_CENTROID 0x00000002
#define A5XX_GRAS_CNTL_XCOORD 0x00000040 #define A5XX_GRAS_CNTL_IJ_PERSP_SAMPLE 0x00000004
#define A5XX_GRAS_CNTL_YCOORD 0x00000080 #define A5XX_GRAS_CNTL_SIZE 0x00000008
#define A5XX_GRAS_CNTL_ZCOORD 0x00000100 #define A5XX_GRAS_CNTL_COORD_MASK__MASK 0x000003c0
#define A5XX_GRAS_CNTL_WCOORD 0x00000200 #define A5XX_GRAS_CNTL_COORD_MASK__SHIFT 6
static inline uint32_t A5XX_GRAS_CNTL_COORD_MASK(uint32_t val)
{
return ((val) << A5XX_GRAS_CNTL_COORD_MASK__SHIFT) & A5XX_GRAS_CNTL_COORD_MASK__MASK;
}
#define REG_A5XX_GRAS_CL_GUARDBAND_CLIP_ADJ 0x0000e006 #define REG_A5XX_GRAS_CL_GUARDBAND_CLIP_ADJ 0x0000e006
#define A5XX_GRAS_CL_GUARDBAND_CLIP_ADJ_HORZ__MASK 0x000003ff #define A5XX_GRAS_CL_GUARDBAND_CLIP_ADJ_HORZ__MASK 0x000003ff
...@@ -2991,12 +3147,16 @@ static inline uint32_t A5XX_RB_DEST_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val ...@@ -2991,12 +3147,16 @@ static inline uint32_t A5XX_RB_DEST_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val
#define A5XX_RB_DEST_MSAA_CNTL_MSAA_DISABLE 0x00000004 #define A5XX_RB_DEST_MSAA_CNTL_MSAA_DISABLE 0x00000004
#define REG_A5XX_RB_RENDER_CONTROL0 0x0000e144 #define REG_A5XX_RB_RENDER_CONTROL0 0x0000e144
#define A5XX_RB_RENDER_CONTROL0_VARYING 0x00000001 #define A5XX_RB_RENDER_CONTROL0_IJ_PERSP_PIXEL 0x00000001
#define A5XX_RB_RENDER_CONTROL0_UNK3 0x00000008 #define A5XX_RB_RENDER_CONTROL0_IJ_PERSP_CENTROID 0x00000002
#define A5XX_RB_RENDER_CONTROL0_XCOORD 0x00000040 #define A5XX_RB_RENDER_CONTROL0_IJ_PERSP_SAMPLE 0x00000004
#define A5XX_RB_RENDER_CONTROL0_YCOORD 0x00000080 #define A5XX_RB_RENDER_CONTROL0_SIZE 0x00000008
#define A5XX_RB_RENDER_CONTROL0_ZCOORD 0x00000100 #define A5XX_RB_RENDER_CONTROL0_COORD_MASK__MASK 0x000003c0
#define A5XX_RB_RENDER_CONTROL0_WCOORD 0x00000200 #define A5XX_RB_RENDER_CONTROL0_COORD_MASK__SHIFT 6
static inline uint32_t A5XX_RB_RENDER_CONTROL0_COORD_MASK(uint32_t val)
{
return ((val) << A5XX_RB_RENDER_CONTROL0_COORD_MASK__SHIFT) & A5XX_RB_RENDER_CONTROL0_COORD_MASK__MASK;
}
#define REG_A5XX_RB_RENDER_CONTROL1 0x0000e145 #define REG_A5XX_RB_RENDER_CONTROL1 0x0000e145
#define A5XX_RB_RENDER_CONTROL1_SAMPLEMASK 0x00000001 #define A5XX_RB_RENDER_CONTROL1_SAMPLEMASK 0x00000001
...@@ -4450,16 +4610,52 @@ static inline uint32_t A5XX_HLSQ_CONTROL_2_REG_SAMPLEMASK(uint32_t val) ...@@ -4450,16 +4610,52 @@ static inline uint32_t A5XX_HLSQ_CONTROL_2_REG_SAMPLEMASK(uint32_t val)
{ {
return ((val) << A5XX_HLSQ_CONTROL_2_REG_SAMPLEMASK__SHIFT) & A5XX_HLSQ_CONTROL_2_REG_SAMPLEMASK__MASK; return ((val) << A5XX_HLSQ_CONTROL_2_REG_SAMPLEMASK__SHIFT) & A5XX_HLSQ_CONTROL_2_REG_SAMPLEMASK__MASK;
} }
#define A5XX_HLSQ_CONTROL_2_REG_SIZE__MASK 0xff000000
#define A5XX_HLSQ_CONTROL_2_REG_SIZE__SHIFT 24
static inline uint32_t A5XX_HLSQ_CONTROL_2_REG_SIZE(uint32_t val)
{
return ((val) << A5XX_HLSQ_CONTROL_2_REG_SIZE__SHIFT) & A5XX_HLSQ_CONTROL_2_REG_SIZE__MASK;
}
#define REG_A5XX_HLSQ_CONTROL_3_REG 0x0000e787 #define REG_A5XX_HLSQ_CONTROL_3_REG 0x0000e787
#define A5XX_HLSQ_CONTROL_3_REG_FRAGCOORDXYREGID__MASK 0x000000ff #define A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL__MASK 0x000000ff
#define A5XX_HLSQ_CONTROL_3_REG_FRAGCOORDXYREGID__SHIFT 0 #define A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL__SHIFT 0
static inline uint32_t A5XX_HLSQ_CONTROL_3_REG_FRAGCOORDXYREGID(uint32_t val) static inline uint32_t A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(uint32_t val)
{
return ((val) << A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL__SHIFT) & A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL__MASK;
}
#define A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL__MASK 0x0000ff00
#define A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL__SHIFT 8
static inline uint32_t A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(uint32_t val)
{
return ((val) << A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL__SHIFT) & A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL__MASK;
}
#define A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID__MASK 0x00ff0000
#define A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID__SHIFT 16
static inline uint32_t A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID(uint32_t val)
{ {
return ((val) << A5XX_HLSQ_CONTROL_3_REG_FRAGCOORDXYREGID__SHIFT) & A5XX_HLSQ_CONTROL_3_REG_FRAGCOORDXYREGID__MASK; return ((val) << A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID__SHIFT) & A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID__MASK;
}
#define A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID__MASK 0xff000000
#define A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID__SHIFT 24
static inline uint32_t A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID(uint32_t val)
{
return ((val) << A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID__SHIFT) & A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID__MASK;
} }
#define REG_A5XX_HLSQ_CONTROL_4_REG 0x0000e788 #define REG_A5XX_HLSQ_CONTROL_4_REG 0x0000e788
#define A5XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE__MASK 0x000000ff
#define A5XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE__SHIFT 0
static inline uint32_t A5XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE(uint32_t val)
{
return ((val) << A5XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE__SHIFT) & A5XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE__MASK;
}
#define A5XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE__MASK 0x0000ff00
#define A5XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE__SHIFT 8
static inline uint32_t A5XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE(uint32_t val)
{
return ((val) << A5XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE__SHIFT) & A5XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE__MASK;
}
#define A5XX_HLSQ_CONTROL_4_REG_XYCOORDREGID__MASK 0x00ff0000 #define A5XX_HLSQ_CONTROL_4_REG_XYCOORDREGID__MASK 0x00ff0000
#define A5XX_HLSQ_CONTROL_4_REG_XYCOORDREGID__SHIFT 16 #define A5XX_HLSQ_CONTROL_4_REG_XYCOORDREGID__SHIFT 16
static inline uint32_t A5XX_HLSQ_CONTROL_4_REG_XYCOORDREGID(uint32_t val) static inline uint32_t A5XX_HLSQ_CONTROL_4_REG_XYCOORDREGID(uint32_t val)
...@@ -4855,10 +5051,26 @@ static inline uint32_t A5XX_RB_2D_DST_SIZE_ARRAY_PITCH(uint32_t val) ...@@ -4855,10 +5051,26 @@ static inline uint32_t A5XX_RB_2D_DST_SIZE_ARRAY_PITCH(uint32_t val)
#define REG_A5XX_RB_2D_SRC_FLAGS_HI 0x00002141 #define REG_A5XX_RB_2D_SRC_FLAGS_HI 0x00002141
#define REG_A5XX_RB_2D_SRC_FLAGS_PITCH 0x00002142
#define A5XX_RB_2D_SRC_FLAGS_PITCH__MASK 0xffffffff
#define A5XX_RB_2D_SRC_FLAGS_PITCH__SHIFT 0
static inline uint32_t A5XX_RB_2D_SRC_FLAGS_PITCH(uint32_t val)
{
return ((val >> 6) << A5XX_RB_2D_SRC_FLAGS_PITCH__SHIFT) & A5XX_RB_2D_SRC_FLAGS_PITCH__MASK;
}
#define REG_A5XX_RB_2D_DST_FLAGS_LO 0x00002143 #define REG_A5XX_RB_2D_DST_FLAGS_LO 0x00002143
#define REG_A5XX_RB_2D_DST_FLAGS_HI 0x00002144 #define REG_A5XX_RB_2D_DST_FLAGS_HI 0x00002144
#define REG_A5XX_RB_2D_DST_FLAGS_PITCH 0x00002145
#define A5XX_RB_2D_DST_FLAGS_PITCH__MASK 0xffffffff
#define A5XX_RB_2D_DST_FLAGS_PITCH__SHIFT 0
static inline uint32_t A5XX_RB_2D_DST_FLAGS_PITCH(uint32_t val)
{
return ((val >> 6) << A5XX_RB_2D_DST_FLAGS_PITCH__SHIFT) & A5XX_RB_2D_DST_FLAGS_PITCH__MASK;
}
#define REG_A5XX_GRAS_2D_BLIT_CNTL 0x00002180 #define REG_A5XX_GRAS_2D_BLIT_CNTL 0x00002180
#define REG_A5XX_GRAS_2D_SRC_INFO 0x00002181 #define REG_A5XX_GRAS_2D_SRC_INFO 0x00002181
...@@ -5059,11 +5271,11 @@ static inline uint32_t A5XX_TEX_CONST_1_HEIGHT(uint32_t val) ...@@ -5059,11 +5271,11 @@ static inline uint32_t A5XX_TEX_CONST_1_HEIGHT(uint32_t val)
} }
#define REG_A5XX_TEX_CONST_2 0x00000002 #define REG_A5XX_TEX_CONST_2 0x00000002
#define A5XX_TEX_CONST_2_FETCHSIZE__MASK 0x0000000f #define A5XX_TEX_CONST_2_PITCHALIGN__MASK 0x0000000f
#define A5XX_TEX_CONST_2_FETCHSIZE__SHIFT 0 #define A5XX_TEX_CONST_2_PITCHALIGN__SHIFT 0
static inline uint32_t A5XX_TEX_CONST_2_FETCHSIZE(enum a5xx_tex_fetchsize val) static inline uint32_t A5XX_TEX_CONST_2_PITCHALIGN(uint32_t val)
{ {
return ((val) << A5XX_TEX_CONST_2_FETCHSIZE__SHIFT) & A5XX_TEX_CONST_2_FETCHSIZE__MASK; return ((val) << A5XX_TEX_CONST_2_PITCHALIGN__SHIFT) & A5XX_TEX_CONST_2_PITCHALIGN__MASK;
} }
#define A5XX_TEX_CONST_2_PITCH__MASK 0x1fffff80 #define A5XX_TEX_CONST_2_PITCH__MASK 0x1fffff80
#define A5XX_TEX_CONST_2_PITCH__SHIFT 7 #define A5XX_TEX_CONST_2_PITCH__SHIFT 7
...@@ -5085,6 +5297,13 @@ static inline uint32_t A5XX_TEX_CONST_3_ARRAY_PITCH(uint32_t val) ...@@ -5085,6 +5297,13 @@ static inline uint32_t A5XX_TEX_CONST_3_ARRAY_PITCH(uint32_t val)
{ {
return ((val >> 12) << A5XX_TEX_CONST_3_ARRAY_PITCH__SHIFT) & A5XX_TEX_CONST_3_ARRAY_PITCH__MASK; return ((val >> 12) << A5XX_TEX_CONST_3_ARRAY_PITCH__SHIFT) & A5XX_TEX_CONST_3_ARRAY_PITCH__MASK;
} }
#define A5XX_TEX_CONST_3_MIN_LAYERSZ__MASK 0x07800000
#define A5XX_TEX_CONST_3_MIN_LAYERSZ__SHIFT 23
static inline uint32_t A5XX_TEX_CONST_3_MIN_LAYERSZ(uint32_t val)
{
return ((val >> 12) << A5XX_TEX_CONST_3_MIN_LAYERSZ__SHIFT) & A5XX_TEX_CONST_3_MIN_LAYERSZ__MASK;
}
#define A5XX_TEX_CONST_3_TILE_ALL 0x08000000
#define A5XX_TEX_CONST_3_FLAG 0x10000000 #define A5XX_TEX_CONST_3_FLAG 0x10000000
#define REG_A5XX_TEX_CONST_4 0x00000004 #define REG_A5XX_TEX_CONST_4 0x00000004
...@@ -5197,5 +5416,21 @@ static inline uint32_t A5XX_SSBO_2_1_BASE_HI(uint32_t val) ...@@ -5197,5 +5416,21 @@ static inline uint32_t A5XX_SSBO_2_1_BASE_HI(uint32_t val)
return ((val) << A5XX_SSBO_2_1_BASE_HI__SHIFT) & A5XX_SSBO_2_1_BASE_HI__MASK; return ((val) << A5XX_SSBO_2_1_BASE_HI__SHIFT) & A5XX_SSBO_2_1_BASE_HI__MASK;
} }
#define REG_A5XX_UBO_0 0x00000000
#define A5XX_UBO_0_BASE_LO__MASK 0xffffffff
#define A5XX_UBO_0_BASE_LO__SHIFT 0
static inline uint32_t A5XX_UBO_0_BASE_LO(uint32_t val)
{
return ((val) << A5XX_UBO_0_BASE_LO__SHIFT) & A5XX_UBO_0_BASE_LO__MASK;
}
#define REG_A5XX_UBO_1 0x00000001
#define A5XX_UBO_1_BASE_HI__MASK 0x0001ffff
#define A5XX_UBO_1_BASE_HI__SHIFT 0
static inline uint32_t A5XX_UBO_1_BASE_HI(uint32_t val)
{
return ((val) << A5XX_UBO_1_BASE_HI__SHIFT) & A5XX_UBO_1_BASE_HI__MASK;
}
#endif /* A5XX_XML */ #endif /* A5XX_XML */
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/adreno.xml ( 501 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno.xml ( 594 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 42463 bytes, from 2018-11-19 13:44:03) - /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 90159 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14201 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14386 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 43052 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 65048 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 83840 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 84226 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112086 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112556 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 147240 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 149461 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 140790 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 184695 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 10431 bytes, from 2018-09-14 13:03:07) - /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 11218 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_control_regs.xml ( 4559 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: - /home/robclark/src/envytools/rnndb/adreno/adreno_pipe_regs.xml ( 2872 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
...@@ -46,24 +48,109 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ...@@ -46,24 +48,109 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#define A6XX_GMU_GPU_IDLE_STATUS_BUSY_IGN_AHB 0x00800000 #define A6XX_GMU_GPU_IDLE_STATUS_BUSY_IGN_AHB__MASK 0x00800000
#define A6XX_GMU_GPU_IDLE_STATUS_CX_GX_CPU_BUSY_IGN_AHB 0x40000000 #define A6XX_GMU_GPU_IDLE_STATUS_BUSY_IGN_AHB__SHIFT 23
#define A6XX_GMU_OOB_BOOT_SLUMBER_SET_MASK 0x00400000 static inline uint32_t A6XX_GMU_GPU_IDLE_STATUS_BUSY_IGN_AHB(uint32_t val)
#define A6XX_GMU_OOB_BOOT_SLUMBER_CHECK_MASK 0x40000000 {
#define A6XX_GMU_OOB_BOOT_SLUMBER_CLEAR_MASK 0x40000000 return ((val) << A6XX_GMU_GPU_IDLE_STATUS_BUSY_IGN_AHB__SHIFT) & A6XX_GMU_GPU_IDLE_STATUS_BUSY_IGN_AHB__MASK;
#define A6XX_GMU_OOB_DCVS_SET_MASK 0x00800000 }
#define A6XX_GMU_OOB_DCVS_CHECK_MASK 0x80000000 #define A6XX_GMU_GPU_IDLE_STATUS_CX_GX_CPU_BUSY_IGN_AHB__MASK 0x40000000
#define A6XX_GMU_OOB_DCVS_CLEAR_MASK 0x80000000 #define A6XX_GMU_GPU_IDLE_STATUS_CX_GX_CPU_BUSY_IGN_AHB__SHIFT 30
#define A6XX_GMU_OOB_GPU_SET_MASK 0x00040000 static inline uint32_t A6XX_GMU_GPU_IDLE_STATUS_CX_GX_CPU_BUSY_IGN_AHB(uint32_t val)
#define A6XX_GMU_OOB_GPU_CHECK_MASK 0x04000000 {
#define A6XX_GMU_OOB_GPU_CLEAR_MASK 0x04000000 return ((val) << A6XX_GMU_GPU_IDLE_STATUS_CX_GX_CPU_BUSY_IGN_AHB__SHIFT) & A6XX_GMU_GPU_IDLE_STATUS_CX_GX_CPU_BUSY_IGN_AHB__MASK;
#define A6XX_GMU_OOB_PERFCNTR_SET_MASK 0x00020000 }
#define A6XX_GMU_OOB_PERFCNTR_CHECK_MASK 0x02000000 #define A6XX_GMU_OOB_BOOT_SLUMBER_SET_MASK__MASK 0x00400000
#define A6XX_GMU_OOB_PERFCNTR_CLEAR_MASK 0x02000000 #define A6XX_GMU_OOB_BOOT_SLUMBER_SET_MASK__SHIFT 22
static inline uint32_t A6XX_GMU_OOB_BOOT_SLUMBER_SET_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_BOOT_SLUMBER_SET_MASK__SHIFT) & A6XX_GMU_OOB_BOOT_SLUMBER_SET_MASK__MASK;
}
#define A6XX_GMU_OOB_BOOT_SLUMBER_CHECK_MASK__MASK 0x40000000
#define A6XX_GMU_OOB_BOOT_SLUMBER_CHECK_MASK__SHIFT 30
static inline uint32_t A6XX_GMU_OOB_BOOT_SLUMBER_CHECK_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_BOOT_SLUMBER_CHECK_MASK__SHIFT) & A6XX_GMU_OOB_BOOT_SLUMBER_CHECK_MASK__MASK;
}
#define A6XX_GMU_OOB_BOOT_SLUMBER_CLEAR_MASK__MASK 0x40000000
#define A6XX_GMU_OOB_BOOT_SLUMBER_CLEAR_MASK__SHIFT 30
static inline uint32_t A6XX_GMU_OOB_BOOT_SLUMBER_CLEAR_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_BOOT_SLUMBER_CLEAR_MASK__SHIFT) & A6XX_GMU_OOB_BOOT_SLUMBER_CLEAR_MASK__MASK;
}
#define A6XX_GMU_OOB_DCVS_SET_MASK__MASK 0x00800000
#define A6XX_GMU_OOB_DCVS_SET_MASK__SHIFT 23
static inline uint32_t A6XX_GMU_OOB_DCVS_SET_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_DCVS_SET_MASK__SHIFT) & A6XX_GMU_OOB_DCVS_SET_MASK__MASK;
}
#define A6XX_GMU_OOB_DCVS_CHECK_MASK__MASK 0x80000000
#define A6XX_GMU_OOB_DCVS_CHECK_MASK__SHIFT 31
static inline uint32_t A6XX_GMU_OOB_DCVS_CHECK_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_DCVS_CHECK_MASK__SHIFT) & A6XX_GMU_OOB_DCVS_CHECK_MASK__MASK;
}
#define A6XX_GMU_OOB_DCVS_CLEAR_MASK__MASK 0x80000000
#define A6XX_GMU_OOB_DCVS_CLEAR_MASK__SHIFT 31
static inline uint32_t A6XX_GMU_OOB_DCVS_CLEAR_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_DCVS_CLEAR_MASK__SHIFT) & A6XX_GMU_OOB_DCVS_CLEAR_MASK__MASK;
}
#define A6XX_GMU_OOB_GPU_SET_MASK__MASK 0x00040000
#define A6XX_GMU_OOB_GPU_SET_MASK__SHIFT 18
static inline uint32_t A6XX_GMU_OOB_GPU_SET_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_GPU_SET_MASK__SHIFT) & A6XX_GMU_OOB_GPU_SET_MASK__MASK;
}
#define A6XX_GMU_OOB_GPU_CHECK_MASK__MASK 0x04000000
#define A6XX_GMU_OOB_GPU_CHECK_MASK__SHIFT 26
static inline uint32_t A6XX_GMU_OOB_GPU_CHECK_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_GPU_CHECK_MASK__SHIFT) & A6XX_GMU_OOB_GPU_CHECK_MASK__MASK;
}
#define A6XX_GMU_OOB_GPU_CLEAR_MASK__MASK 0x04000000
#define A6XX_GMU_OOB_GPU_CLEAR_MASK__SHIFT 26
static inline uint32_t A6XX_GMU_OOB_GPU_CLEAR_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_GPU_CLEAR_MASK__SHIFT) & A6XX_GMU_OOB_GPU_CLEAR_MASK__MASK;
}
#define A6XX_GMU_OOB_PERFCNTR_SET_MASK__MASK 0x00020000
#define A6XX_GMU_OOB_PERFCNTR_SET_MASK__SHIFT 17
static inline uint32_t A6XX_GMU_OOB_PERFCNTR_SET_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_PERFCNTR_SET_MASK__SHIFT) & A6XX_GMU_OOB_PERFCNTR_SET_MASK__MASK;
}
#define A6XX_GMU_OOB_PERFCNTR_CHECK_MASK__MASK 0x02000000
#define A6XX_GMU_OOB_PERFCNTR_CHECK_MASK__SHIFT 25
static inline uint32_t A6XX_GMU_OOB_PERFCNTR_CHECK_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_PERFCNTR_CHECK_MASK__SHIFT) & A6XX_GMU_OOB_PERFCNTR_CHECK_MASK__MASK;
}
#define A6XX_GMU_OOB_PERFCNTR_CLEAR_MASK__MASK 0x02000000
#define A6XX_GMU_OOB_PERFCNTR_CLEAR_MASK__SHIFT 25
static inline uint32_t A6XX_GMU_OOB_PERFCNTR_CLEAR_MASK(uint32_t val)
{
return ((val) << A6XX_GMU_OOB_PERFCNTR_CLEAR_MASK__SHIFT) & A6XX_GMU_OOB_PERFCNTR_CLEAR_MASK__MASK;
}
#define A6XX_HFI_IRQ_MSGQ_MASK 0x00000001 #define A6XX_HFI_IRQ_MSGQ_MASK 0x00000001
#define A6XX_HFI_IRQ_DSGQ_MASK 0x00000002 #define A6XX_HFI_IRQ_DSGQ_MASK__MASK 0x00000002
#define A6XX_HFI_IRQ_BLOCKED_MSG_MASK 0x00000004 #define A6XX_HFI_IRQ_DSGQ_MASK__SHIFT 1
#define A6XX_HFI_IRQ_CM3_FAULT_MASK 0x00800000 static inline uint32_t A6XX_HFI_IRQ_DSGQ_MASK(uint32_t val)
{
return ((val) << A6XX_HFI_IRQ_DSGQ_MASK__SHIFT) & A6XX_HFI_IRQ_DSGQ_MASK__MASK;
}
#define A6XX_HFI_IRQ_BLOCKED_MSG_MASK__MASK 0x00000004
#define A6XX_HFI_IRQ_BLOCKED_MSG_MASK__SHIFT 2
static inline uint32_t A6XX_HFI_IRQ_BLOCKED_MSG_MASK(uint32_t val)
{
return ((val) << A6XX_HFI_IRQ_BLOCKED_MSG_MASK__SHIFT) & A6XX_HFI_IRQ_BLOCKED_MSG_MASK__MASK;
}
#define A6XX_HFI_IRQ_CM3_FAULT_MASK__MASK 0x00800000
#define A6XX_HFI_IRQ_CM3_FAULT_MASK__SHIFT 23
static inline uint32_t A6XX_HFI_IRQ_CM3_FAULT_MASK(uint32_t val)
{
return ((val) << A6XX_HFI_IRQ_CM3_FAULT_MASK__SHIFT) & A6XX_HFI_IRQ_CM3_FAULT_MASK__MASK;
}
#define A6XX_HFI_IRQ_GMU_ERR_MASK__MASK 0x007f0000 #define A6XX_HFI_IRQ_GMU_ERR_MASK__MASK 0x007f0000
#define A6XX_HFI_IRQ_GMU_ERR_MASK__SHIFT 16 #define A6XX_HFI_IRQ_GMU_ERR_MASK__SHIFT 16
static inline uint32_t A6XX_HFI_IRQ_GMU_ERR_MASK(uint32_t val) static inline uint32_t A6XX_HFI_IRQ_GMU_ERR_MASK(uint32_t val)
......
...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/adreno.xml ( 501 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno.xml ( 594 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 42463 bytes, from 2018-11-19 13:44:03) - /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 90159 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14201 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14386 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 43052 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 65048 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 83840 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 84226 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112086 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112556 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 147240 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 149461 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 140790 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 184695 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 10431 bytes, from 2018-09-14 13:03:07) - /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 11218 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_control_regs.xml ( 4559 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: - /home/robclark/src/envytools/rnndb/adreno/adreno_pipe_regs.xml ( 2872 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
...@@ -159,6 +161,7 @@ enum a3xx_msaa_samples { ...@@ -159,6 +161,7 @@ enum a3xx_msaa_samples {
MSAA_ONE = 0, MSAA_ONE = 0,
MSAA_TWO = 1, MSAA_TWO = 1,
MSAA_FOUR = 2, MSAA_FOUR = 2,
MSAA_EIGHT = 3,
}; };
enum a3xx_threadmode { enum a3xx_threadmode {
...@@ -197,6 +200,11 @@ enum a4xx_tess_spacing { ...@@ -197,6 +200,11 @@ enum a4xx_tess_spacing {
EVEN_SPACING = 3, EVEN_SPACING = 3,
}; };
enum a5xx_address_mode {
ADDR_32B = 0,
ADDR_64B = 1,
};
#define REG_AXXX_CP_RB_BASE 0x000001c0 #define REG_AXXX_CP_RB_BASE 0x000001c0
#define REG_AXXX_CP_RB_CNTL 0x000001c1 #define REG_AXXX_CP_RB_CNTL 0x000001c1
...@@ -446,34 +454,174 @@ static inline uint32_t AXXX_CP_CSQ_IB2_STAT_WPTR(uint32_t val) ...@@ -446,34 +454,174 @@ static inline uint32_t AXXX_CP_CSQ_IB2_STAT_WPTR(uint32_t val)
#define REG_AXXX_CP_IB2_BUFSZ 0x0000045b #define REG_AXXX_CP_IB2_BUFSZ 0x0000045b
#define REG_AXXX_CP_STAT 0x0000047f #define REG_AXXX_CP_STAT 0x0000047f
#define AXXX_CP_STAT_CP_BUSY 0x80000000 #define AXXX_CP_STAT_CP_BUSY__MASK 0x80000000
#define AXXX_CP_STAT_VS_EVENT_FIFO_BUSY 0x40000000 #define AXXX_CP_STAT_CP_BUSY__SHIFT 31
#define AXXX_CP_STAT_PS_EVENT_FIFO_BUSY 0x20000000 static inline uint32_t AXXX_CP_STAT_CP_BUSY(uint32_t val)
#define AXXX_CP_STAT_CF_EVENT_FIFO_BUSY 0x10000000 {
#define AXXX_CP_STAT_RB_EVENT_FIFO_BUSY 0x08000000 return ((val) << AXXX_CP_STAT_CP_BUSY__SHIFT) & AXXX_CP_STAT_CP_BUSY__MASK;
#define AXXX_CP_STAT_ME_BUSY 0x04000000 }
#define AXXX_CP_STAT_MIU_WR_C_BUSY 0x02000000 #define AXXX_CP_STAT_VS_EVENT_FIFO_BUSY__MASK 0x40000000
#define AXXX_CP_STAT_CP_3D_BUSY 0x00800000 #define AXXX_CP_STAT_VS_EVENT_FIFO_BUSY__SHIFT 30
#define AXXX_CP_STAT_CP_NRT_BUSY 0x00400000 static inline uint32_t AXXX_CP_STAT_VS_EVENT_FIFO_BUSY(uint32_t val)
#define AXXX_CP_STAT_RBIU_SCRATCH_BUSY 0x00200000 {
#define AXXX_CP_STAT_RCIU_ME_BUSY 0x00100000 return ((val) << AXXX_CP_STAT_VS_EVENT_FIFO_BUSY__SHIFT) & AXXX_CP_STAT_VS_EVENT_FIFO_BUSY__MASK;
#define AXXX_CP_STAT_RCIU_PFP_BUSY 0x00080000 }
#define AXXX_CP_STAT_MEQ_RING_BUSY 0x00040000 #define AXXX_CP_STAT_PS_EVENT_FIFO_BUSY__MASK 0x20000000
#define AXXX_CP_STAT_PFP_BUSY 0x00020000 #define AXXX_CP_STAT_PS_EVENT_FIFO_BUSY__SHIFT 29
#define AXXX_CP_STAT_ST_QUEUE_BUSY 0x00010000 static inline uint32_t AXXX_CP_STAT_PS_EVENT_FIFO_BUSY(uint32_t val)
#define AXXX_CP_STAT_INDIRECT2_QUEUE_BUSY 0x00002000 {
#define AXXX_CP_STAT_INDIRECTS_QUEUE_BUSY 0x00001000 return ((val) << AXXX_CP_STAT_PS_EVENT_FIFO_BUSY__SHIFT) & AXXX_CP_STAT_PS_EVENT_FIFO_BUSY__MASK;
#define AXXX_CP_STAT_RING_QUEUE_BUSY 0x00000800 }
#define AXXX_CP_STAT_CSF_BUSY 0x00000400 #define AXXX_CP_STAT_CF_EVENT_FIFO_BUSY__MASK 0x10000000
#define AXXX_CP_STAT_CSF_ST_BUSY 0x00000200 #define AXXX_CP_STAT_CF_EVENT_FIFO_BUSY__SHIFT 28
#define AXXX_CP_STAT_EVENT_BUSY 0x00000100 static inline uint32_t AXXX_CP_STAT_CF_EVENT_FIFO_BUSY(uint32_t val)
#define AXXX_CP_STAT_CSF_INDIRECT2_BUSY 0x00000080 {
#define AXXX_CP_STAT_CSF_INDIRECTS_BUSY 0x00000040 return ((val) << AXXX_CP_STAT_CF_EVENT_FIFO_BUSY__SHIFT) & AXXX_CP_STAT_CF_EVENT_FIFO_BUSY__MASK;
#define AXXX_CP_STAT_CSF_RING_BUSY 0x00000020 }
#define AXXX_CP_STAT_RCIU_BUSY 0x00000010 #define AXXX_CP_STAT_RB_EVENT_FIFO_BUSY__MASK 0x08000000
#define AXXX_CP_STAT_RBIU_BUSY 0x00000008 #define AXXX_CP_STAT_RB_EVENT_FIFO_BUSY__SHIFT 27
#define AXXX_CP_STAT_MIU_RD_RETURN_BUSY 0x00000004 static inline uint32_t AXXX_CP_STAT_RB_EVENT_FIFO_BUSY(uint32_t val)
#define AXXX_CP_STAT_MIU_RD_REQ_BUSY 0x00000002 {
return ((val) << AXXX_CP_STAT_RB_EVENT_FIFO_BUSY__SHIFT) & AXXX_CP_STAT_RB_EVENT_FIFO_BUSY__MASK;
}
#define AXXX_CP_STAT_ME_BUSY__MASK 0x04000000
#define AXXX_CP_STAT_ME_BUSY__SHIFT 26
static inline uint32_t AXXX_CP_STAT_ME_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_ME_BUSY__SHIFT) & AXXX_CP_STAT_ME_BUSY__MASK;
}
#define AXXX_CP_STAT_MIU_WR_C_BUSY__MASK 0x02000000
#define AXXX_CP_STAT_MIU_WR_C_BUSY__SHIFT 25
static inline uint32_t AXXX_CP_STAT_MIU_WR_C_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_MIU_WR_C_BUSY__SHIFT) & AXXX_CP_STAT_MIU_WR_C_BUSY__MASK;
}
#define AXXX_CP_STAT_CP_3D_BUSY__MASK 0x00800000
#define AXXX_CP_STAT_CP_3D_BUSY__SHIFT 23
static inline uint32_t AXXX_CP_STAT_CP_3D_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_CP_3D_BUSY__SHIFT) & AXXX_CP_STAT_CP_3D_BUSY__MASK;
}
#define AXXX_CP_STAT_CP_NRT_BUSY__MASK 0x00400000
#define AXXX_CP_STAT_CP_NRT_BUSY__SHIFT 22
static inline uint32_t AXXX_CP_STAT_CP_NRT_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_CP_NRT_BUSY__SHIFT) & AXXX_CP_STAT_CP_NRT_BUSY__MASK;
}
#define AXXX_CP_STAT_RBIU_SCRATCH_BUSY__MASK 0x00200000
#define AXXX_CP_STAT_RBIU_SCRATCH_BUSY__SHIFT 21
static inline uint32_t AXXX_CP_STAT_RBIU_SCRATCH_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_RBIU_SCRATCH_BUSY__SHIFT) & AXXX_CP_STAT_RBIU_SCRATCH_BUSY__MASK;
}
#define AXXX_CP_STAT_RCIU_ME_BUSY__MASK 0x00100000
#define AXXX_CP_STAT_RCIU_ME_BUSY__SHIFT 20
static inline uint32_t AXXX_CP_STAT_RCIU_ME_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_RCIU_ME_BUSY__SHIFT) & AXXX_CP_STAT_RCIU_ME_BUSY__MASK;
}
#define AXXX_CP_STAT_RCIU_PFP_BUSY__MASK 0x00080000
#define AXXX_CP_STAT_RCIU_PFP_BUSY__SHIFT 19
static inline uint32_t AXXX_CP_STAT_RCIU_PFP_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_RCIU_PFP_BUSY__SHIFT) & AXXX_CP_STAT_RCIU_PFP_BUSY__MASK;
}
#define AXXX_CP_STAT_MEQ_RING_BUSY__MASK 0x00040000
#define AXXX_CP_STAT_MEQ_RING_BUSY__SHIFT 18
static inline uint32_t AXXX_CP_STAT_MEQ_RING_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_MEQ_RING_BUSY__SHIFT) & AXXX_CP_STAT_MEQ_RING_BUSY__MASK;
}
#define AXXX_CP_STAT_PFP_BUSY__MASK 0x00020000
#define AXXX_CP_STAT_PFP_BUSY__SHIFT 17
static inline uint32_t AXXX_CP_STAT_PFP_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_PFP_BUSY__SHIFT) & AXXX_CP_STAT_PFP_BUSY__MASK;
}
#define AXXX_CP_STAT_ST_QUEUE_BUSY__MASK 0x00010000
#define AXXX_CP_STAT_ST_QUEUE_BUSY__SHIFT 16
static inline uint32_t AXXX_CP_STAT_ST_QUEUE_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_ST_QUEUE_BUSY__SHIFT) & AXXX_CP_STAT_ST_QUEUE_BUSY__MASK;
}
#define AXXX_CP_STAT_INDIRECT2_QUEUE_BUSY__MASK 0x00002000
#define AXXX_CP_STAT_INDIRECT2_QUEUE_BUSY__SHIFT 13
static inline uint32_t AXXX_CP_STAT_INDIRECT2_QUEUE_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_INDIRECT2_QUEUE_BUSY__SHIFT) & AXXX_CP_STAT_INDIRECT2_QUEUE_BUSY__MASK;
}
#define AXXX_CP_STAT_INDIRECTS_QUEUE_BUSY__MASK 0x00001000
#define AXXX_CP_STAT_INDIRECTS_QUEUE_BUSY__SHIFT 12
static inline uint32_t AXXX_CP_STAT_INDIRECTS_QUEUE_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_INDIRECTS_QUEUE_BUSY__SHIFT) & AXXX_CP_STAT_INDIRECTS_QUEUE_BUSY__MASK;
}
#define AXXX_CP_STAT_RING_QUEUE_BUSY__MASK 0x00000800
#define AXXX_CP_STAT_RING_QUEUE_BUSY__SHIFT 11
static inline uint32_t AXXX_CP_STAT_RING_QUEUE_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_RING_QUEUE_BUSY__SHIFT) & AXXX_CP_STAT_RING_QUEUE_BUSY__MASK;
}
#define AXXX_CP_STAT_CSF_BUSY__MASK 0x00000400
#define AXXX_CP_STAT_CSF_BUSY__SHIFT 10
static inline uint32_t AXXX_CP_STAT_CSF_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_CSF_BUSY__SHIFT) & AXXX_CP_STAT_CSF_BUSY__MASK;
}
#define AXXX_CP_STAT_CSF_ST_BUSY__MASK 0x00000200
#define AXXX_CP_STAT_CSF_ST_BUSY__SHIFT 9
static inline uint32_t AXXX_CP_STAT_CSF_ST_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_CSF_ST_BUSY__SHIFT) & AXXX_CP_STAT_CSF_ST_BUSY__MASK;
}
#define AXXX_CP_STAT_EVENT_BUSY__MASK 0x00000100
#define AXXX_CP_STAT_EVENT_BUSY__SHIFT 8
static inline uint32_t AXXX_CP_STAT_EVENT_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_EVENT_BUSY__SHIFT) & AXXX_CP_STAT_EVENT_BUSY__MASK;
}
#define AXXX_CP_STAT_CSF_INDIRECT2_BUSY__MASK 0x00000080
#define AXXX_CP_STAT_CSF_INDIRECT2_BUSY__SHIFT 7
static inline uint32_t AXXX_CP_STAT_CSF_INDIRECT2_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_CSF_INDIRECT2_BUSY__SHIFT) & AXXX_CP_STAT_CSF_INDIRECT2_BUSY__MASK;
}
#define AXXX_CP_STAT_CSF_INDIRECTS_BUSY__MASK 0x00000040
#define AXXX_CP_STAT_CSF_INDIRECTS_BUSY__SHIFT 6
static inline uint32_t AXXX_CP_STAT_CSF_INDIRECTS_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_CSF_INDIRECTS_BUSY__SHIFT) & AXXX_CP_STAT_CSF_INDIRECTS_BUSY__MASK;
}
#define AXXX_CP_STAT_CSF_RING_BUSY__MASK 0x00000020
#define AXXX_CP_STAT_CSF_RING_BUSY__SHIFT 5
static inline uint32_t AXXX_CP_STAT_CSF_RING_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_CSF_RING_BUSY__SHIFT) & AXXX_CP_STAT_CSF_RING_BUSY__MASK;
}
#define AXXX_CP_STAT_RCIU_BUSY__MASK 0x00000010
#define AXXX_CP_STAT_RCIU_BUSY__SHIFT 4
static inline uint32_t AXXX_CP_STAT_RCIU_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_RCIU_BUSY__SHIFT) & AXXX_CP_STAT_RCIU_BUSY__MASK;
}
#define AXXX_CP_STAT_RBIU_BUSY__MASK 0x00000008
#define AXXX_CP_STAT_RBIU_BUSY__SHIFT 3
static inline uint32_t AXXX_CP_STAT_RBIU_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_RBIU_BUSY__SHIFT) & AXXX_CP_STAT_RBIU_BUSY__MASK;
}
#define AXXX_CP_STAT_MIU_RD_RETURN_BUSY__MASK 0x00000004
#define AXXX_CP_STAT_MIU_RD_RETURN_BUSY__SHIFT 2
static inline uint32_t AXXX_CP_STAT_MIU_RD_RETURN_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_MIU_RD_RETURN_BUSY__SHIFT) & AXXX_CP_STAT_MIU_RD_RETURN_BUSY__MASK;
}
#define AXXX_CP_STAT_MIU_RD_REQ_BUSY__MASK 0x00000002
#define AXXX_CP_STAT_MIU_RD_REQ_BUSY__SHIFT 1
static inline uint32_t AXXX_CP_STAT_MIU_RD_REQ_BUSY(uint32_t val)
{
return ((val) << AXXX_CP_STAT_MIU_RD_REQ_BUSY__SHIFT) & AXXX_CP_STAT_MIU_RD_REQ_BUSY__MASK;
}
#define AXXX_CP_STAT_MIU_WR_BUSY 0x00000001 #define AXXX_CP_STAT_MIU_WR_BUSY 0x00000001
#define REG_AXXX_CP_SCRATCH_REG0 0x00000578 #define REG_AXXX_CP_SCRATCH_REG0 0x00000578
......
...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,21 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/adreno.xml ( 501 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno.xml ( 594 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 42463 bytes, from 2018-11-19 13:44:03) - /home/robclark/src/envytools/rnndb/adreno/a2xx.xml ( 90159 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14201 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_common.xml ( 14386 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 43052 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/adreno_pm4.xml ( 65048 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 83840 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a3xx.xml ( 84226 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112086 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/a4xx.xml ( 112556 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 147240 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a5xx.xml ( 149461 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 140790 bytes, from 2018-12-02 17:29:54) - /home/robclark/src/envytools/rnndb/adreno/a6xx.xml ( 184695 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 10431 bytes, from 2018-09-14 13:03:07) - /home/robclark/src/envytools/rnndb/adreno/a6xx_gmu.xml ( 11218 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/adreno/ocmem.xml ( 1773 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/adreno/adreno_control_regs.xml ( 4559 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: - /home/robclark/src/envytools/rnndb/adreno/adreno_pipe_regs.xml ( 2872 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
...@@ -54,10 +56,13 @@ enum vgt_event_type { ...@@ -54,10 +56,13 @@ enum vgt_event_type {
CACHE_FLUSH_TS = 4, CACHE_FLUSH_TS = 4,
CONTEXT_DONE = 5, CONTEXT_DONE = 5,
CACHE_FLUSH = 6, CACHE_FLUSH = 6,
HLSQ_FLUSH = 7,
VIZQUERY_START = 7, VIZQUERY_START = 7,
HLSQ_FLUSH = 7,
VIZQUERY_END = 8, VIZQUERY_END = 8,
SC_WAIT_WC = 9, SC_WAIT_WC = 9,
WRITE_PRIMITIVE_COUNTS = 9,
START_PRIMITIVE_CTRS = 11,
STOP_PRIMITIVE_CTRS = 12,
RST_PIX_CNT = 13, RST_PIX_CNT = 13,
RST_VTX_CNT = 14, RST_VTX_CNT = 14,
TILE_FLUSH = 15, TILE_FLUSH = 15,
...@@ -65,23 +70,31 @@ enum vgt_event_type { ...@@ -65,23 +70,31 @@ enum vgt_event_type {
CACHE_FLUSH_AND_INV_TS_EVENT = 20, CACHE_FLUSH_AND_INV_TS_EVENT = 20,
ZPASS_DONE = 21, ZPASS_DONE = 21,
CACHE_FLUSH_AND_INV_EVENT = 22, CACHE_FLUSH_AND_INV_EVENT = 22,
RB_DONE_TS = 22,
PERFCOUNTER_START = 23, PERFCOUNTER_START = 23,
PERFCOUNTER_STOP = 24, PERFCOUNTER_STOP = 24,
VS_FETCH_DONE = 27, VS_FETCH_DONE = 27,
FACENESS_FLUSH = 28, FACENESS_FLUSH = 28,
WT_DONE_TS = 8,
FLUSH_SO_0 = 17, FLUSH_SO_0 = 17,
FLUSH_SO_1 = 18, FLUSH_SO_1 = 18,
FLUSH_SO_2 = 19, FLUSH_SO_2 = 19,
FLUSH_SO_3 = 20, FLUSH_SO_3 = 20,
PC_CCU_INVALIDATE_DEPTH = 24, PC_CCU_INVALIDATE_DEPTH = 24,
PC_CCU_INVALIDATE_COLOR = 25, PC_CCU_INVALIDATE_COLOR = 25,
UNK_1C = 28, PC_CCU_RESOLVE_TS = 26,
UNK_1D = 29, PC_CCU_FLUSH_DEPTH_TS = 28,
PC_CCU_FLUSH_COLOR_TS = 29,
BLIT = 30, BLIT = 30,
UNK_25 = 37, UNK_25 = 37,
LRZ_FLUSH = 38, LRZ_FLUSH = 38,
BLIT_OP_FILL_2D = 39,
BLIT_OP_COPY_2D = 40,
BLIT_OP_SCALE_2D = 42,
CONTEXT_DONE_2D = 43,
UNK_2C = 44, UNK_2C = 44,
UNK_2D = 45, UNK_2D = 45,
CACHE_INVALIDATE = 49,
}; };
enum pc_di_primtype { enum pc_di_primtype {
...@@ -99,13 +112,45 @@ enum pc_di_primtype { ...@@ -99,13 +112,45 @@ enum pc_di_primtype {
DI_PT_LINESTRIP_ADJ = 11, DI_PT_LINESTRIP_ADJ = 11,
DI_PT_TRI_ADJ = 12, DI_PT_TRI_ADJ = 12,
DI_PT_TRISTRIP_ADJ = 13, DI_PT_TRISTRIP_ADJ = 13,
DI_PT_PATCHES0 = 31,
DI_PT_PATCHES1 = 32,
DI_PT_PATCHES2 = 33,
DI_PT_PATCHES3 = 34,
DI_PT_PATCHES4 = 35,
DI_PT_PATCHES5 = 36,
DI_PT_PATCHES6 = 37,
DI_PT_PATCHES7 = 38,
DI_PT_PATCHES8 = 39,
DI_PT_PATCHES9 = 40,
DI_PT_PATCHES10 = 41,
DI_PT_PATCHES11 = 42,
DI_PT_PATCHES12 = 43,
DI_PT_PATCHES13 = 44,
DI_PT_PATCHES14 = 45,
DI_PT_PATCHES15 = 46,
DI_PT_PATCHES16 = 47,
DI_PT_PATCHES17 = 48,
DI_PT_PATCHES18 = 49,
DI_PT_PATCHES19 = 50,
DI_PT_PATCHES20 = 51,
DI_PT_PATCHES21 = 52,
DI_PT_PATCHES22 = 53,
DI_PT_PATCHES23 = 54,
DI_PT_PATCHES24 = 55,
DI_PT_PATCHES25 = 56,
DI_PT_PATCHES26 = 57,
DI_PT_PATCHES27 = 58,
DI_PT_PATCHES28 = 59,
DI_PT_PATCHES29 = 60,
DI_PT_PATCHES30 = 61,
DI_PT_PATCHES31 = 62,
}; };
enum pc_di_src_sel { enum pc_di_src_sel {
DI_SRC_SEL_DMA = 0, DI_SRC_SEL_DMA = 0,
DI_SRC_SEL_IMMEDIATE = 1, DI_SRC_SEL_IMMEDIATE = 1,
DI_SRC_SEL_AUTO_INDEX = 2, DI_SRC_SEL_AUTO_INDEX = 2,
DI_SRC_SEL_RESERVED = 3, DI_SRC_SEL_AUTO_XFB = 3,
}; };
enum pc_di_face_cull_sel { enum pc_di_face_cull_sel {
...@@ -143,6 +188,7 @@ enum adreno_pm4_type3_packets { ...@@ -143,6 +188,7 @@ enum adreno_pm4_type3_packets {
CP_PREEMPT_ENABLE = 28, CP_PREEMPT_ENABLE = 28,
CP_PREEMPT_TOKEN = 30, CP_PREEMPT_TOKEN = 30,
CP_INDIRECT_BUFFER = 63, CP_INDIRECT_BUFFER = 63,
CP_INDIRECT_BUFFER_CHAIN = 87,
CP_INDIRECT_BUFFER_PFD = 55, CP_INDIRECT_BUFFER_PFD = 55,
CP_WAIT_FOR_IDLE = 38, CP_WAIT_FOR_IDLE = 38,
CP_WAIT_REG_MEM = 60, CP_WAIT_REG_MEM = 60,
...@@ -199,6 +245,7 @@ enum adreno_pm4_type3_packets { ...@@ -199,6 +245,7 @@ enum adreno_pm4_type3_packets {
CP_DRAW_INDX_OFFSET = 56, CP_DRAW_INDX_OFFSET = 56,
CP_DRAW_INDIRECT = 40, CP_DRAW_INDIRECT = 40,
CP_DRAW_INDX_INDIRECT = 41, CP_DRAW_INDX_INDIRECT = 41,
CP_DRAW_INDIRECT_MULTI = 42,
CP_DRAW_AUTO = 36, CP_DRAW_AUTO = 36,
CP_UNKNOWN_19 = 25, CP_UNKNOWN_19 = 25,
CP_UNKNOWN_1A = 26, CP_UNKNOWN_1A = 26,
...@@ -232,6 +279,7 @@ enum adreno_pm4_type3_packets { ...@@ -232,6 +279,7 @@ enum adreno_pm4_type3_packets {
CP_SET_MODE = 99, CP_SET_MODE = 99,
CP_LOAD_STATE6_GEOM = 50, CP_LOAD_STATE6_GEOM = 50,
CP_LOAD_STATE6_FRAG = 52, CP_LOAD_STATE6_FRAG = 52,
CP_LOAD_STATE6 = 54,
IN_IB_PREFETCH_END = 23, IN_IB_PREFETCH_END = 23,
IN_SUBBLK_PREFETCH = 31, IN_SUBBLK_PREFETCH = 31,
IN_INSTR_PREFETCH = 32, IN_INSTR_PREFETCH = 32,
...@@ -241,9 +289,14 @@ enum adreno_pm4_type3_packets { ...@@ -241,9 +289,14 @@ enum adreno_pm4_type3_packets {
IN_INCR_UPDT_CONST = 86, IN_INCR_UPDT_CONST = 86,
IN_INCR_UPDT_INSTR = 87, IN_INCR_UPDT_INSTR = 87,
PKT4 = 4, PKT4 = 4,
CP_UNK_A6XX_14 = 20, CP_SCRATCH_WRITE = 76,
CP_UNK_A6XX_36 = 54, CP_REG_TO_MEM_OFFSET_MEM = 116,
CP_UNK_A6XX_55 = 85, CP_REG_TO_MEM_OFFSET_REG = 114,
CP_WAIT_MEM_GTE = 20,
CP_WAIT_TWO_REGS = 112,
CP_MEMCPY = 117,
CP_SET_BIN_DATA5_OFFSET = 46,
CP_SET_CTXSWITCH_IB = 85,
CP_REG_WRITE = 109, CP_REG_WRITE = 109,
}; };
...@@ -292,6 +345,7 @@ enum a4xx_state_block { ...@@ -292,6 +345,7 @@ enum a4xx_state_block {
enum a4xx_state_type { enum a4xx_state_type {
ST4_SHADER = 0, ST4_SHADER = 0,
ST4_CONSTANTS = 1, ST4_CONSTANTS = 1,
ST4_UBO = 2,
}; };
enum a4xx_state_src { enum a4xx_state_src {
...@@ -312,18 +366,22 @@ enum a6xx_state_block { ...@@ -312,18 +366,22 @@ enum a6xx_state_block {
SB6_GS_SHADER = 11, SB6_GS_SHADER = 11,
SB6_FS_SHADER = 12, SB6_FS_SHADER = 12,
SB6_CS_SHADER = 13, SB6_CS_SHADER = 13,
SB6_SSBO = 14, SB6_IBO = 14,
SB6_CS_SSBO = 15, SB6_CS_IBO = 15,
}; };
enum a6xx_state_type { enum a6xx_state_type {
ST6_SHADER = 0, ST6_SHADER = 0,
ST6_CONSTANTS = 1, ST6_CONSTANTS = 1,
ST6_UBO = 2,
ST6_IBO = 3,
}; };
enum a6xx_state_src { enum a6xx_state_src {
SS6_DIRECT = 0, SS6_DIRECT = 0,
SS6_BINDLESS = 1,
SS6_INDIRECT = 2, SS6_INDIRECT = 2,
SS6_UBO = 3,
}; };
enum a4xx_index_size { enum a4xx_index_size {
...@@ -332,6 +390,17 @@ enum a4xx_index_size { ...@@ -332,6 +390,17 @@ enum a4xx_index_size {
INDEX4_SIZE_32_BIT = 2, INDEX4_SIZE_32_BIT = 2,
}; };
enum a6xx_patch_type {
TESS_QUADS = 0,
TESS_TRIANGLES = 1,
TESS_ISOLINES = 2,
};
enum a6xx_draw_indirect_opcode {
INDIRECT_OP_NORMAL = 2,
INDIRECT_OP_INDEXED = 4,
};
enum cp_cond_function { enum cp_cond_function {
WRITE_ALWAYS = 0, WRITE_ALWAYS = 0,
WRITE_LT = 1, WRITE_LT = 1,
...@@ -361,9 +430,15 @@ enum a6xx_render_mode { ...@@ -361,9 +430,15 @@ enum a6xx_render_mode {
RM6_BYPASS = 1, RM6_BYPASS = 1,
RM6_BINNING = 2, RM6_BINNING = 2,
RM6_GMEM = 4, RM6_GMEM = 4,
RM6_BLIT2D = 5, RM6_ENDVIS = 5,
RM6_RESOLVE = 6, RM6_RESOLVE = 6,
RM6_YIELD = 7,
RM6_COMPUTE = 8,
RM6_BLIT2DSCALE = 12, RM6_BLIT2DSCALE = 12,
RM6_IB1LIST_START = 13,
RM6_IB1LIST_END = 14,
RM6_IFPC_ENABLE = 256,
RM6_IFPC_DISABLE = 257,
}; };
enum pseudo_reg { enum pseudo_reg {
...@@ -374,6 +449,25 @@ enum pseudo_reg { ...@@ -374,6 +449,25 @@ enum pseudo_reg {
COUNTER = 4, COUNTER = 4,
}; };
enum compare_mode {
PRED_TEST = 1,
REG_COMPARE = 2,
RENDER_MODE = 3,
};
enum ctxswitch_ib {
RESTORE_IB = 0,
YIELD_RESTORE_IB = 1,
SAVE_IB = 2,
RB_SAVE_IB = 3,
};
enum reg_tracker {
TRACK_CNTL_REG = 1,
TRACK_RENDER_CNTL = 2,
UNK_EVENT_WRITE = 4,
};
#define REG_CP_LOAD_STATE_0 0x00000000 #define REG_CP_LOAD_STATE_0 0x00000000
#define CP_LOAD_STATE_0_DST_OFF__MASK 0x0000ffff #define CP_LOAD_STATE_0_DST_OFF__MASK 0x0000ffff
#define CP_LOAD_STATE_0_DST_OFF__SHIFT 0 #define CP_LOAD_STATE_0_DST_OFF__SHIFT 0
...@@ -469,7 +563,7 @@ static inline uint32_t CP_LOAD_STATE6_0_DST_OFF(uint32_t val) ...@@ -469,7 +563,7 @@ static inline uint32_t CP_LOAD_STATE6_0_DST_OFF(uint32_t val)
{ {
return ((val) << CP_LOAD_STATE6_0_DST_OFF__SHIFT) & CP_LOAD_STATE6_0_DST_OFF__MASK; return ((val) << CP_LOAD_STATE6_0_DST_OFF__SHIFT) & CP_LOAD_STATE6_0_DST_OFF__MASK;
} }
#define CP_LOAD_STATE6_0_STATE_TYPE__MASK 0x00004000 #define CP_LOAD_STATE6_0_STATE_TYPE__MASK 0x0000c000
#define CP_LOAD_STATE6_0_STATE_TYPE__SHIFT 14 #define CP_LOAD_STATE6_0_STATE_TYPE__SHIFT 14
static inline uint32_t CP_LOAD_STATE6_0_STATE_TYPE(enum a6xx_state_type val) static inline uint32_t CP_LOAD_STATE6_0_STATE_TYPE(enum a6xx_state_type val)
{ {
...@@ -510,6 +604,8 @@ static inline uint32_t CP_LOAD_STATE6_2_EXT_SRC_ADDR_HI(uint32_t val) ...@@ -510,6 +604,8 @@ static inline uint32_t CP_LOAD_STATE6_2_EXT_SRC_ADDR_HI(uint32_t val)
return ((val) << CP_LOAD_STATE6_2_EXT_SRC_ADDR_HI__SHIFT) & CP_LOAD_STATE6_2_EXT_SRC_ADDR_HI__MASK; return ((val) << CP_LOAD_STATE6_2_EXT_SRC_ADDR_HI__SHIFT) & CP_LOAD_STATE6_2_EXT_SRC_ADDR_HI__MASK;
} }
#define REG_CP_LOAD_STATE6_EXT_SRC_ADDR 0x00000001
#define REG_CP_DRAW_INDX_0 0x00000000 #define REG_CP_DRAW_INDX_0 0x00000000
#define CP_DRAW_INDX_0_VIZ_QUERY__MASK 0xffffffff #define CP_DRAW_INDX_0_VIZ_QUERY__MASK 0xffffffff
#define CP_DRAW_INDX_0_VIZ_QUERY__SHIFT 0 #define CP_DRAW_INDX_0_VIZ_QUERY__SHIFT 0
...@@ -653,12 +749,14 @@ static inline uint32_t CP_DRAW_INDX_OFFSET_0_INDEX_SIZE(enum a4xx_index_size val ...@@ -653,12 +749,14 @@ static inline uint32_t CP_DRAW_INDX_OFFSET_0_INDEX_SIZE(enum a4xx_index_size val
{ {
return ((val) << CP_DRAW_INDX_OFFSET_0_INDEX_SIZE__SHIFT) & CP_DRAW_INDX_OFFSET_0_INDEX_SIZE__MASK; return ((val) << CP_DRAW_INDX_OFFSET_0_INDEX_SIZE__SHIFT) & CP_DRAW_INDX_OFFSET_0_INDEX_SIZE__MASK;
} }
#define CP_DRAW_INDX_OFFSET_0_TESS_MODE__MASK 0x01f00000 #define CP_DRAW_INDX_OFFSET_0_PATCH_TYPE__MASK 0x00003000
#define CP_DRAW_INDX_OFFSET_0_TESS_MODE__SHIFT 20 #define CP_DRAW_INDX_OFFSET_0_PATCH_TYPE__SHIFT 12
static inline uint32_t CP_DRAW_INDX_OFFSET_0_TESS_MODE(uint32_t val) static inline uint32_t CP_DRAW_INDX_OFFSET_0_PATCH_TYPE(enum a6xx_patch_type val)
{ {
return ((val) << CP_DRAW_INDX_OFFSET_0_TESS_MODE__SHIFT) & CP_DRAW_INDX_OFFSET_0_TESS_MODE__MASK; return ((val) << CP_DRAW_INDX_OFFSET_0_PATCH_TYPE__SHIFT) & CP_DRAW_INDX_OFFSET_0_PATCH_TYPE__MASK;
} }
#define CP_DRAW_INDX_OFFSET_0_GS_ENABLE 0x00010000
#define CP_DRAW_INDX_OFFSET_0_TESS_ENABLE 0x00020000
#define REG_CP_DRAW_INDX_OFFSET_1 0x00000001 #define REG_CP_DRAW_INDX_OFFSET_1 0x00000001
#define CP_DRAW_INDX_OFFSET_1_NUM_INSTANCES__MASK 0xffffffff #define CP_DRAW_INDX_OFFSET_1_NUM_INSTANCES__MASK 0xffffffff
...@@ -677,6 +775,39 @@ static inline uint32_t CP_DRAW_INDX_OFFSET_2_NUM_INDICES(uint32_t val) ...@@ -677,6 +775,39 @@ static inline uint32_t CP_DRAW_INDX_OFFSET_2_NUM_INDICES(uint32_t val)
} }
#define REG_CP_DRAW_INDX_OFFSET_3 0x00000003 #define REG_CP_DRAW_INDX_OFFSET_3 0x00000003
#define CP_DRAW_INDX_OFFSET_3_FIRST_INDX__MASK 0xffffffff
#define CP_DRAW_INDX_OFFSET_3_FIRST_INDX__SHIFT 0
static inline uint32_t CP_DRAW_INDX_OFFSET_3_FIRST_INDX(uint32_t val)
{
return ((val) << CP_DRAW_INDX_OFFSET_3_FIRST_INDX__SHIFT) & CP_DRAW_INDX_OFFSET_3_FIRST_INDX__MASK;
}
#define REG_CP_DRAW_INDX_OFFSET_4 0x00000004
#define CP_DRAW_INDX_OFFSET_4_INDX_BASE_LO__MASK 0xffffffff
#define CP_DRAW_INDX_OFFSET_4_INDX_BASE_LO__SHIFT 0
static inline uint32_t CP_DRAW_INDX_OFFSET_4_INDX_BASE_LO(uint32_t val)
{
return ((val) << CP_DRAW_INDX_OFFSET_4_INDX_BASE_LO__SHIFT) & CP_DRAW_INDX_OFFSET_4_INDX_BASE_LO__MASK;
}
#define REG_CP_DRAW_INDX_OFFSET_5 0x00000005
#define CP_DRAW_INDX_OFFSET_5_INDX_BASE_HI__MASK 0xffffffff
#define CP_DRAW_INDX_OFFSET_5_INDX_BASE_HI__SHIFT 0
static inline uint32_t CP_DRAW_INDX_OFFSET_5_INDX_BASE_HI(uint32_t val)
{
return ((val) << CP_DRAW_INDX_OFFSET_5_INDX_BASE_HI__SHIFT) & CP_DRAW_INDX_OFFSET_5_INDX_BASE_HI__MASK;
}
#define REG_CP_DRAW_INDX_OFFSET_INDX_BASE 0x00000004
#define REG_CP_DRAW_INDX_OFFSET_6 0x00000006
#define CP_DRAW_INDX_OFFSET_6_MAX_INDICES__MASK 0xffffffff
#define CP_DRAW_INDX_OFFSET_6_MAX_INDICES__SHIFT 0
static inline uint32_t CP_DRAW_INDX_OFFSET_6_MAX_INDICES(uint32_t val)
{
return ((val) << CP_DRAW_INDX_OFFSET_6_MAX_INDICES__SHIFT) & CP_DRAW_INDX_OFFSET_6_MAX_INDICES__MASK;
}
#define REG_CP_DRAW_INDX_OFFSET_4 0x00000004 #define REG_CP_DRAW_INDX_OFFSET_4 0x00000004
#define CP_DRAW_INDX_OFFSET_4_INDX_BASE__MASK 0xffffffff #define CP_DRAW_INDX_OFFSET_4_INDX_BASE__MASK 0xffffffff
...@@ -719,12 +850,15 @@ static inline uint32_t A4XX_CP_DRAW_INDIRECT_0_INDEX_SIZE(enum a4xx_index_size v ...@@ -719,12 +850,15 @@ static inline uint32_t A4XX_CP_DRAW_INDIRECT_0_INDEX_SIZE(enum a4xx_index_size v
{ {
return ((val) << A4XX_CP_DRAW_INDIRECT_0_INDEX_SIZE__SHIFT) & A4XX_CP_DRAW_INDIRECT_0_INDEX_SIZE__MASK; return ((val) << A4XX_CP_DRAW_INDIRECT_0_INDEX_SIZE__SHIFT) & A4XX_CP_DRAW_INDIRECT_0_INDEX_SIZE__MASK;
} }
#define A4XX_CP_DRAW_INDIRECT_0_TESS_MODE__MASK 0x01f00000 #define A4XX_CP_DRAW_INDIRECT_0_PATCH_TYPE__MASK 0x00003000
#define A4XX_CP_DRAW_INDIRECT_0_TESS_MODE__SHIFT 20 #define A4XX_CP_DRAW_INDIRECT_0_PATCH_TYPE__SHIFT 12
static inline uint32_t A4XX_CP_DRAW_INDIRECT_0_TESS_MODE(uint32_t val) static inline uint32_t A4XX_CP_DRAW_INDIRECT_0_PATCH_TYPE(enum a6xx_patch_type val)
{ {
return ((val) << A4XX_CP_DRAW_INDIRECT_0_TESS_MODE__SHIFT) & A4XX_CP_DRAW_INDIRECT_0_TESS_MODE__MASK; return ((val) << A4XX_CP_DRAW_INDIRECT_0_PATCH_TYPE__SHIFT) & A4XX_CP_DRAW_INDIRECT_0_PATCH_TYPE__MASK;
} }
#define A4XX_CP_DRAW_INDIRECT_0_GS_ENABLE 0x00010000
#define A4XX_CP_DRAW_INDIRECT_0_TESS_ENABLE 0x00020000
#define REG_A4XX_CP_DRAW_INDIRECT_1 0x00000001 #define REG_A4XX_CP_DRAW_INDIRECT_1 0x00000001
#define A4XX_CP_DRAW_INDIRECT_1_INDIRECT__MASK 0xffffffff #define A4XX_CP_DRAW_INDIRECT_1_INDIRECT__MASK 0xffffffff
...@@ -735,6 +869,14 @@ static inline uint32_t A4XX_CP_DRAW_INDIRECT_1_INDIRECT(uint32_t val) ...@@ -735,6 +869,14 @@ static inline uint32_t A4XX_CP_DRAW_INDIRECT_1_INDIRECT(uint32_t val)
} }
#define REG_A5XX_CP_DRAW_INDIRECT_1 0x00000001
#define A5XX_CP_DRAW_INDIRECT_1_INDIRECT_LO__MASK 0xffffffff
#define A5XX_CP_DRAW_INDIRECT_1_INDIRECT_LO__SHIFT 0
static inline uint32_t A5XX_CP_DRAW_INDIRECT_1_INDIRECT_LO(uint32_t val)
{
return ((val) << A5XX_CP_DRAW_INDIRECT_1_INDIRECT_LO__SHIFT) & A5XX_CP_DRAW_INDIRECT_1_INDIRECT_LO__MASK;
}
#define REG_A5XX_CP_DRAW_INDIRECT_2 0x00000002 #define REG_A5XX_CP_DRAW_INDIRECT_2 0x00000002
#define A5XX_CP_DRAW_INDIRECT_2_INDIRECT_HI__MASK 0xffffffff #define A5XX_CP_DRAW_INDIRECT_2_INDIRECT_HI__MASK 0xffffffff
#define A5XX_CP_DRAW_INDIRECT_2_INDIRECT_HI__SHIFT 0 #define A5XX_CP_DRAW_INDIRECT_2_INDIRECT_HI__SHIFT 0
...@@ -743,6 +885,8 @@ static inline uint32_t A5XX_CP_DRAW_INDIRECT_2_INDIRECT_HI(uint32_t val) ...@@ -743,6 +885,8 @@ static inline uint32_t A5XX_CP_DRAW_INDIRECT_2_INDIRECT_HI(uint32_t val)
return ((val) << A5XX_CP_DRAW_INDIRECT_2_INDIRECT_HI__SHIFT) & A5XX_CP_DRAW_INDIRECT_2_INDIRECT_HI__MASK; return ((val) << A5XX_CP_DRAW_INDIRECT_2_INDIRECT_HI__SHIFT) & A5XX_CP_DRAW_INDIRECT_2_INDIRECT_HI__MASK;
} }
#define REG_A5XX_CP_DRAW_INDIRECT_INDIRECT 0x00000001
#define REG_A4XX_CP_DRAW_INDX_INDIRECT_0 0x00000000 #define REG_A4XX_CP_DRAW_INDX_INDIRECT_0 0x00000000
#define A4XX_CP_DRAW_INDX_INDIRECT_0_PRIM_TYPE__MASK 0x0000003f #define A4XX_CP_DRAW_INDX_INDIRECT_0_PRIM_TYPE__MASK 0x0000003f
#define A4XX_CP_DRAW_INDX_INDIRECT_0_PRIM_TYPE__SHIFT 0 #define A4XX_CP_DRAW_INDX_INDIRECT_0_PRIM_TYPE__SHIFT 0
...@@ -768,12 +912,14 @@ static inline uint32_t A4XX_CP_DRAW_INDX_INDIRECT_0_INDEX_SIZE(enum a4xx_index_s ...@@ -768,12 +912,14 @@ static inline uint32_t A4XX_CP_DRAW_INDX_INDIRECT_0_INDEX_SIZE(enum a4xx_index_s
{ {
return ((val) << A4XX_CP_DRAW_INDX_INDIRECT_0_INDEX_SIZE__SHIFT) & A4XX_CP_DRAW_INDX_INDIRECT_0_INDEX_SIZE__MASK; return ((val) << A4XX_CP_DRAW_INDX_INDIRECT_0_INDEX_SIZE__SHIFT) & A4XX_CP_DRAW_INDX_INDIRECT_0_INDEX_SIZE__MASK;
} }
#define A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__MASK 0x01f00000 #define A4XX_CP_DRAW_INDX_INDIRECT_0_PATCH_TYPE__MASK 0x00003000
#define A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__SHIFT 20 #define A4XX_CP_DRAW_INDX_INDIRECT_0_PATCH_TYPE__SHIFT 12
static inline uint32_t A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE(uint32_t val) static inline uint32_t A4XX_CP_DRAW_INDX_INDIRECT_0_PATCH_TYPE(enum a6xx_patch_type val)
{ {
return ((val) << A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__SHIFT) & A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__MASK; return ((val) << A4XX_CP_DRAW_INDX_INDIRECT_0_PATCH_TYPE__SHIFT) & A4XX_CP_DRAW_INDX_INDIRECT_0_PATCH_TYPE__MASK;
} }
#define A4XX_CP_DRAW_INDX_INDIRECT_0_GS_ENABLE 0x00010000
#define A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_ENABLE 0x00020000
#define REG_A4XX_CP_DRAW_INDX_INDIRECT_1 0x00000001 #define REG_A4XX_CP_DRAW_INDX_INDIRECT_1 0x00000001
...@@ -817,6 +963,8 @@ static inline uint32_t A5XX_CP_DRAW_INDX_INDIRECT_2_INDX_BASE_HI(uint32_t val) ...@@ -817,6 +963,8 @@ static inline uint32_t A5XX_CP_DRAW_INDX_INDIRECT_2_INDX_BASE_HI(uint32_t val)
return ((val) << A5XX_CP_DRAW_INDX_INDIRECT_2_INDX_BASE_HI__SHIFT) & A5XX_CP_DRAW_INDX_INDIRECT_2_INDX_BASE_HI__MASK; return ((val) << A5XX_CP_DRAW_INDX_INDIRECT_2_INDX_BASE_HI__SHIFT) & A5XX_CP_DRAW_INDX_INDIRECT_2_INDX_BASE_HI__MASK;
} }
#define REG_A5XX_CP_DRAW_INDX_INDIRECT_INDX_BASE 0x00000001
#define REG_A5XX_CP_DRAW_INDX_INDIRECT_3 0x00000003 #define REG_A5XX_CP_DRAW_INDX_INDIRECT_3 0x00000003
#define A5XX_CP_DRAW_INDX_INDIRECT_3_MAX_INDICES__MASK 0xffffffff #define A5XX_CP_DRAW_INDX_INDIRECT_3_MAX_INDICES__MASK 0xffffffff
#define A5XX_CP_DRAW_INDX_INDIRECT_3_MAX_INDICES__SHIFT 0 #define A5XX_CP_DRAW_INDX_INDIRECT_3_MAX_INDICES__SHIFT 0
...@@ -841,6 +989,84 @@ static inline uint32_t A5XX_CP_DRAW_INDX_INDIRECT_5_INDIRECT_HI(uint32_t val) ...@@ -841,6 +989,84 @@ static inline uint32_t A5XX_CP_DRAW_INDX_INDIRECT_5_INDIRECT_HI(uint32_t val)
return ((val) << A5XX_CP_DRAW_INDX_INDIRECT_5_INDIRECT_HI__SHIFT) & A5XX_CP_DRAW_INDX_INDIRECT_5_INDIRECT_HI__MASK; return ((val) << A5XX_CP_DRAW_INDX_INDIRECT_5_INDIRECT_HI__SHIFT) & A5XX_CP_DRAW_INDX_INDIRECT_5_INDIRECT_HI__MASK;
} }
#define REG_A5XX_CP_DRAW_INDX_INDIRECT_INDIRECT 0x00000004
#define REG_A6XX_CP_DRAW_INDIRECT_MULTI_0 0x00000000
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_PRIM_TYPE__MASK 0x0000003f
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_PRIM_TYPE__SHIFT 0
static inline uint32_t A6XX_CP_DRAW_INDIRECT_MULTI_0_PRIM_TYPE(enum pc_di_primtype val)
{
return ((val) << A6XX_CP_DRAW_INDIRECT_MULTI_0_PRIM_TYPE__SHIFT) & A6XX_CP_DRAW_INDIRECT_MULTI_0_PRIM_TYPE__MASK;
}
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_SOURCE_SELECT__MASK 0x000000c0
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_SOURCE_SELECT__SHIFT 6
static inline uint32_t A6XX_CP_DRAW_INDIRECT_MULTI_0_SOURCE_SELECT(enum pc_di_src_sel val)
{
return ((val) << A6XX_CP_DRAW_INDIRECT_MULTI_0_SOURCE_SELECT__SHIFT) & A6XX_CP_DRAW_INDIRECT_MULTI_0_SOURCE_SELECT__MASK;
}
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_VIS_CULL__MASK 0x00000300
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_VIS_CULL__SHIFT 8
static inline uint32_t A6XX_CP_DRAW_INDIRECT_MULTI_0_VIS_CULL(enum pc_di_vis_cull_mode val)
{
return ((val) << A6XX_CP_DRAW_INDIRECT_MULTI_0_VIS_CULL__SHIFT) & A6XX_CP_DRAW_INDIRECT_MULTI_0_VIS_CULL__MASK;
}
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_INDEX_SIZE__MASK 0x00000c00
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_INDEX_SIZE__SHIFT 10
static inline uint32_t A6XX_CP_DRAW_INDIRECT_MULTI_0_INDEX_SIZE(enum a4xx_index_size val)
{
return ((val) << A6XX_CP_DRAW_INDIRECT_MULTI_0_INDEX_SIZE__SHIFT) & A6XX_CP_DRAW_INDIRECT_MULTI_0_INDEX_SIZE__MASK;
}
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_PATCH_TYPE__MASK 0x00003000
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_PATCH_TYPE__SHIFT 12
static inline uint32_t A6XX_CP_DRAW_INDIRECT_MULTI_0_PATCH_TYPE(enum a6xx_patch_type val)
{
return ((val) << A6XX_CP_DRAW_INDIRECT_MULTI_0_PATCH_TYPE__SHIFT) & A6XX_CP_DRAW_INDIRECT_MULTI_0_PATCH_TYPE__MASK;
}
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_GS_ENABLE 0x00010000
#define A6XX_CP_DRAW_INDIRECT_MULTI_0_TESS_ENABLE 0x00020000
#define REG_A6XX_CP_DRAW_INDIRECT_MULTI_1 0x00000001
#define A6XX_CP_DRAW_INDIRECT_MULTI_1_OPCODE__MASK 0x0000000f
#define A6XX_CP_DRAW_INDIRECT_MULTI_1_OPCODE__SHIFT 0
static inline uint32_t A6XX_CP_DRAW_INDIRECT_MULTI_1_OPCODE(enum a6xx_draw_indirect_opcode val)
{
return ((val) << A6XX_CP_DRAW_INDIRECT_MULTI_1_OPCODE__SHIFT) & A6XX_CP_DRAW_INDIRECT_MULTI_1_OPCODE__MASK;
}
#define A6XX_CP_DRAW_INDIRECT_MULTI_1_DST_OFF__MASK 0x003fff00
#define A6XX_CP_DRAW_INDIRECT_MULTI_1_DST_OFF__SHIFT 8
static inline uint32_t A6XX_CP_DRAW_INDIRECT_MULTI_1_DST_OFF(uint32_t val)
{
return ((val) << A6XX_CP_DRAW_INDIRECT_MULTI_1_DST_OFF__SHIFT) & A6XX_CP_DRAW_INDIRECT_MULTI_1_DST_OFF__MASK;
}
#define REG_A6XX_CP_DRAW_INDIRECT_MULTI_2 0x00000002
#define A6XX_CP_DRAW_INDIRECT_MULTI_2_DRAW_COUNT__MASK 0xffffffff
#define A6XX_CP_DRAW_INDIRECT_MULTI_2_DRAW_COUNT__SHIFT 0
static inline uint32_t A6XX_CP_DRAW_INDIRECT_MULTI_2_DRAW_COUNT(uint32_t val)
{
return ((val) << A6XX_CP_DRAW_INDIRECT_MULTI_2_DRAW_COUNT__SHIFT) & A6XX_CP_DRAW_INDIRECT_MULTI_2_DRAW_COUNT__MASK;
}
#define REG_A6XX_CP_DRAW_INDIRECT_MULTI_ADDRESS_0 0x00000003
#define REG_A6XX_CP_DRAW_INDIRECT_MULTI_5 0x00000005
#define A6XX_CP_DRAW_INDIRECT_MULTI_5_PARAM_0__MASK 0xffffffff
#define A6XX_CP_DRAW_INDIRECT_MULTI_5_PARAM_0__SHIFT 0
static inline uint32_t A6XX_CP_DRAW_INDIRECT_MULTI_5_PARAM_0(uint32_t val)
{
return ((val) << A6XX_CP_DRAW_INDIRECT_MULTI_5_PARAM_0__SHIFT) & A6XX_CP_DRAW_INDIRECT_MULTI_5_PARAM_0__MASK;
}
#define REG_A6XX_CP_DRAW_INDIRECT_MULTI_INDIRECT 0x00000006
#define REG_A6XX_CP_DRAW_INDIRECT_MULTI_8 0x00000008
#define A6XX_CP_DRAW_INDIRECT_MULTI_8_STRIDE__MASK 0xffffffff
#define A6XX_CP_DRAW_INDIRECT_MULTI_8_STRIDE__SHIFT 0
static inline uint32_t A6XX_CP_DRAW_INDIRECT_MULTI_8_STRIDE(uint32_t val)
{
return ((val) << A6XX_CP_DRAW_INDIRECT_MULTI_8_STRIDE__SHIFT) & A6XX_CP_DRAW_INDIRECT_MULTI_8_STRIDE__MASK;
}
static inline uint32_t REG_CP_SET_DRAW_STATE_(uint32_t i0) { return 0x00000000 + 0x3*i0; } static inline uint32_t REG_CP_SET_DRAW_STATE_(uint32_t i0) { return 0x00000000 + 0x3*i0; }
static inline uint32_t REG_CP_SET_DRAW_STATE__0(uint32_t i0) { return 0x00000000 + 0x3*i0; } static inline uint32_t REG_CP_SET_DRAW_STATE__0(uint32_t i0) { return 0x00000000 + 0x3*i0; }
...@@ -854,12 +1080,9 @@ static inline uint32_t CP_SET_DRAW_STATE__0_COUNT(uint32_t val) ...@@ -854,12 +1080,9 @@ static inline uint32_t CP_SET_DRAW_STATE__0_COUNT(uint32_t val)
#define CP_SET_DRAW_STATE__0_DISABLE 0x00020000 #define CP_SET_DRAW_STATE__0_DISABLE 0x00020000
#define CP_SET_DRAW_STATE__0_DISABLE_ALL_GROUPS 0x00040000 #define CP_SET_DRAW_STATE__0_DISABLE_ALL_GROUPS 0x00040000
#define CP_SET_DRAW_STATE__0_LOAD_IMMED 0x00080000 #define CP_SET_DRAW_STATE__0_LOAD_IMMED 0x00080000
#define CP_SET_DRAW_STATE__0_ENABLE_MASK__MASK 0x00f00000 #define CP_SET_DRAW_STATE__0_BINNING 0x00100000
#define CP_SET_DRAW_STATE__0_ENABLE_MASK__SHIFT 20 #define CP_SET_DRAW_STATE__0_GMEM 0x00200000
static inline uint32_t CP_SET_DRAW_STATE__0_ENABLE_MASK(uint32_t val) #define CP_SET_DRAW_STATE__0_SYSMEM 0x00400000
{
return ((val) << CP_SET_DRAW_STATE__0_ENABLE_MASK__SHIFT) & CP_SET_DRAW_STATE__0_ENABLE_MASK__MASK;
}
#define CP_SET_DRAW_STATE__0_GROUP_ID__MASK 0x1f000000 #define CP_SET_DRAW_STATE__0_GROUP_ID__MASK 0x1f000000
#define CP_SET_DRAW_STATE__0_GROUP_ID__SHIFT 24 #define CP_SET_DRAW_STATE__0_GROUP_ID__SHIFT 24
static inline uint32_t CP_SET_DRAW_STATE__0_GROUP_ID(uint32_t val) static inline uint32_t CP_SET_DRAW_STATE__0_GROUP_ID(uint32_t val)
...@@ -976,30 +1199,101 @@ static inline uint32_t CP_SET_BIN_DATA5_4_BIN_SIZE_ADDRESS_HI(uint32_t val) ...@@ -976,30 +1199,101 @@ static inline uint32_t CP_SET_BIN_DATA5_4_BIN_SIZE_ADDRESS_HI(uint32_t val)
} }
#define REG_CP_SET_BIN_DATA5_5 0x00000005 #define REG_CP_SET_BIN_DATA5_5 0x00000005
#define CP_SET_BIN_DATA5_5_BIN_DATA_ADDR2_LO__MASK 0xffffffff #define CP_SET_BIN_DATA5_5_BIN_PRIM_STRM_LO__MASK 0xffffffff
#define CP_SET_BIN_DATA5_5_BIN_DATA_ADDR2_LO__SHIFT 0 #define CP_SET_BIN_DATA5_5_BIN_PRIM_STRM_LO__SHIFT 0
static inline uint32_t CP_SET_BIN_DATA5_5_BIN_DATA_ADDR2_LO(uint32_t val) static inline uint32_t CP_SET_BIN_DATA5_5_BIN_PRIM_STRM_LO(uint32_t val)
{ {
return ((val) << CP_SET_BIN_DATA5_5_BIN_DATA_ADDR2_LO__SHIFT) & CP_SET_BIN_DATA5_5_BIN_DATA_ADDR2_LO__MASK; return ((val) << CP_SET_BIN_DATA5_5_BIN_PRIM_STRM_LO__SHIFT) & CP_SET_BIN_DATA5_5_BIN_PRIM_STRM_LO__MASK;
} }
#define REG_CP_SET_BIN_DATA5_6 0x00000006 #define REG_CP_SET_BIN_DATA5_6 0x00000006
#define CP_SET_BIN_DATA5_6_BIN_DATA_ADDR2_LO__MASK 0xffffffff #define CP_SET_BIN_DATA5_6_BIN_PRIM_STRM_HI__MASK 0xffffffff
#define CP_SET_BIN_DATA5_6_BIN_DATA_ADDR2_LO__SHIFT 0 #define CP_SET_BIN_DATA5_6_BIN_PRIM_STRM_HI__SHIFT 0
static inline uint32_t CP_SET_BIN_DATA5_6_BIN_DATA_ADDR2_LO(uint32_t val) static inline uint32_t CP_SET_BIN_DATA5_6_BIN_PRIM_STRM_HI(uint32_t val)
{
return ((val) << CP_SET_BIN_DATA5_6_BIN_PRIM_STRM_HI__SHIFT) & CP_SET_BIN_DATA5_6_BIN_PRIM_STRM_HI__MASK;
}
#define REG_CP_SET_BIN_DATA5_OFFSET_0 0x00000000
#define CP_SET_BIN_DATA5_OFFSET_0_VSC_SIZE__MASK 0x003f0000
#define CP_SET_BIN_DATA5_OFFSET_0_VSC_SIZE__SHIFT 16
static inline uint32_t CP_SET_BIN_DATA5_OFFSET_0_VSC_SIZE(uint32_t val)
{
return ((val) << CP_SET_BIN_DATA5_OFFSET_0_VSC_SIZE__SHIFT) & CP_SET_BIN_DATA5_OFFSET_0_VSC_SIZE__MASK;
}
#define CP_SET_BIN_DATA5_OFFSET_0_VSC_N__MASK 0x07c00000
#define CP_SET_BIN_DATA5_OFFSET_0_VSC_N__SHIFT 22
static inline uint32_t CP_SET_BIN_DATA5_OFFSET_0_VSC_N(uint32_t val)
{
return ((val) << CP_SET_BIN_DATA5_OFFSET_0_VSC_N__SHIFT) & CP_SET_BIN_DATA5_OFFSET_0_VSC_N__MASK;
}
#define REG_CP_SET_BIN_DATA5_OFFSET_1 0x00000001
#define CP_SET_BIN_DATA5_OFFSET_1_BIN_DATA_OFFSET__MASK 0xffffffff
#define CP_SET_BIN_DATA5_OFFSET_1_BIN_DATA_OFFSET__SHIFT 0
static inline uint32_t CP_SET_BIN_DATA5_OFFSET_1_BIN_DATA_OFFSET(uint32_t val)
{
return ((val) << CP_SET_BIN_DATA5_OFFSET_1_BIN_DATA_OFFSET__SHIFT) & CP_SET_BIN_DATA5_OFFSET_1_BIN_DATA_OFFSET__MASK;
}
#define REG_CP_SET_BIN_DATA5_OFFSET_2 0x00000002
#define CP_SET_BIN_DATA5_OFFSET_2_BIN_SIZE_OFFSET__MASK 0xffffffff
#define CP_SET_BIN_DATA5_OFFSET_2_BIN_SIZE_OFFSET__SHIFT 0
static inline uint32_t CP_SET_BIN_DATA5_OFFSET_2_BIN_SIZE_OFFSET(uint32_t val)
{
return ((val) << CP_SET_BIN_DATA5_OFFSET_2_BIN_SIZE_OFFSET__SHIFT) & CP_SET_BIN_DATA5_OFFSET_2_BIN_SIZE_OFFSET__MASK;
}
#define REG_CP_SET_BIN_DATA5_OFFSET_3 0x00000003
#define CP_SET_BIN_DATA5_OFFSET_3_BIN_DATA2_OFFSET__MASK 0xffffffff
#define CP_SET_BIN_DATA5_OFFSET_3_BIN_DATA2_OFFSET__SHIFT 0
static inline uint32_t CP_SET_BIN_DATA5_OFFSET_3_BIN_DATA2_OFFSET(uint32_t val)
{
return ((val) << CP_SET_BIN_DATA5_OFFSET_3_BIN_DATA2_OFFSET__SHIFT) & CP_SET_BIN_DATA5_OFFSET_3_BIN_DATA2_OFFSET__MASK;
}
#define REG_CP_REG_RMW_0 0x00000000
#define CP_REG_RMW_0_DST_REG__MASK 0x0003ffff
#define CP_REG_RMW_0_DST_REG__SHIFT 0
static inline uint32_t CP_REG_RMW_0_DST_REG(uint32_t val)
{
return ((val) << CP_REG_RMW_0_DST_REG__SHIFT) & CP_REG_RMW_0_DST_REG__MASK;
}
#define CP_REG_RMW_0_ROTATE__MASK 0x1f000000
#define CP_REG_RMW_0_ROTATE__SHIFT 24
static inline uint32_t CP_REG_RMW_0_ROTATE(uint32_t val)
{
return ((val) << CP_REG_RMW_0_ROTATE__SHIFT) & CP_REG_RMW_0_ROTATE__MASK;
}
#define CP_REG_RMW_0_SRC1_ADD 0x20000000
#define CP_REG_RMW_0_SRC1_IS_REG 0x40000000
#define CP_REG_RMW_0_SRC0_IS_REG 0x80000000
#define REG_CP_REG_RMW_1 0x00000001
#define CP_REG_RMW_1_SRC0__MASK 0xffffffff
#define CP_REG_RMW_1_SRC0__SHIFT 0
static inline uint32_t CP_REG_RMW_1_SRC0(uint32_t val)
{
return ((val) << CP_REG_RMW_1_SRC0__SHIFT) & CP_REG_RMW_1_SRC0__MASK;
}
#define REG_CP_REG_RMW_2 0x00000002
#define CP_REG_RMW_2_SRC1__MASK 0xffffffff
#define CP_REG_RMW_2_SRC1__SHIFT 0
static inline uint32_t CP_REG_RMW_2_SRC1(uint32_t val)
{ {
return ((val) << CP_SET_BIN_DATA5_6_BIN_DATA_ADDR2_LO__SHIFT) & CP_SET_BIN_DATA5_6_BIN_DATA_ADDR2_LO__MASK; return ((val) << CP_REG_RMW_2_SRC1__SHIFT) & CP_REG_RMW_2_SRC1__MASK;
} }
#define REG_CP_REG_TO_MEM_0 0x00000000 #define REG_CP_REG_TO_MEM_0 0x00000000
#define CP_REG_TO_MEM_0_REG__MASK 0x0000ffff #define CP_REG_TO_MEM_0_REG__MASK 0x0003ffff
#define CP_REG_TO_MEM_0_REG__SHIFT 0 #define CP_REG_TO_MEM_0_REG__SHIFT 0
static inline uint32_t CP_REG_TO_MEM_0_REG(uint32_t val) static inline uint32_t CP_REG_TO_MEM_0_REG(uint32_t val)
{ {
return ((val) << CP_REG_TO_MEM_0_REG__SHIFT) & CP_REG_TO_MEM_0_REG__MASK; return ((val) << CP_REG_TO_MEM_0_REG__SHIFT) & CP_REG_TO_MEM_0_REG__MASK;
} }
#define CP_REG_TO_MEM_0_CNT__MASK 0x3ff80000 #define CP_REG_TO_MEM_0_CNT__MASK 0x3ffc0000
#define CP_REG_TO_MEM_0_CNT__SHIFT 19 #define CP_REG_TO_MEM_0_CNT__SHIFT 18
static inline uint32_t CP_REG_TO_MEM_0_CNT(uint32_t val) static inline uint32_t CP_REG_TO_MEM_0_CNT(uint32_t val)
{ {
return ((val) << CP_REG_TO_MEM_0_CNT__SHIFT) & CP_REG_TO_MEM_0_CNT__MASK; return ((val) << CP_REG_TO_MEM_0_CNT__SHIFT) & CP_REG_TO_MEM_0_CNT__MASK;
...@@ -1023,8 +1317,97 @@ static inline uint32_t CP_REG_TO_MEM_2_DEST_HI(uint32_t val) ...@@ -1023,8 +1317,97 @@ static inline uint32_t CP_REG_TO_MEM_2_DEST_HI(uint32_t val)
return ((val) << CP_REG_TO_MEM_2_DEST_HI__SHIFT) & CP_REG_TO_MEM_2_DEST_HI__MASK; return ((val) << CP_REG_TO_MEM_2_DEST_HI__SHIFT) & CP_REG_TO_MEM_2_DEST_HI__MASK;
} }
#define REG_CP_REG_TO_MEM_OFFSET_REG_0 0x00000000
#define CP_REG_TO_MEM_OFFSET_REG_0_REG__MASK 0x0003ffff
#define CP_REG_TO_MEM_OFFSET_REG_0_REG__SHIFT 0
static inline uint32_t CP_REG_TO_MEM_OFFSET_REG_0_REG(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_REG_0_REG__SHIFT) & CP_REG_TO_MEM_OFFSET_REG_0_REG__MASK;
}
#define CP_REG_TO_MEM_OFFSET_REG_0_CNT__MASK 0x3ffc0000
#define CP_REG_TO_MEM_OFFSET_REG_0_CNT__SHIFT 18
static inline uint32_t CP_REG_TO_MEM_OFFSET_REG_0_CNT(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_REG_0_CNT__SHIFT) & CP_REG_TO_MEM_OFFSET_REG_0_CNT__MASK;
}
#define CP_REG_TO_MEM_OFFSET_REG_0_64B 0x40000000
#define CP_REG_TO_MEM_OFFSET_REG_0_ACCUMULATE 0x80000000
#define REG_CP_REG_TO_MEM_OFFSET_REG_1 0x00000001
#define CP_REG_TO_MEM_OFFSET_REG_1_DEST__MASK 0xffffffff
#define CP_REG_TO_MEM_OFFSET_REG_1_DEST__SHIFT 0
static inline uint32_t CP_REG_TO_MEM_OFFSET_REG_1_DEST(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_REG_1_DEST__SHIFT) & CP_REG_TO_MEM_OFFSET_REG_1_DEST__MASK;
}
#define REG_CP_REG_TO_MEM_OFFSET_REG_2 0x00000002
#define CP_REG_TO_MEM_OFFSET_REG_2_DEST_HI__MASK 0xffffffff
#define CP_REG_TO_MEM_OFFSET_REG_2_DEST_HI__SHIFT 0
static inline uint32_t CP_REG_TO_MEM_OFFSET_REG_2_DEST_HI(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_REG_2_DEST_HI__SHIFT) & CP_REG_TO_MEM_OFFSET_REG_2_DEST_HI__MASK;
}
#define REG_CP_REG_TO_MEM_OFFSET_REG_3 0x00000003
#define CP_REG_TO_MEM_OFFSET_REG_3_OFFSET0__MASK 0x0003ffff
#define CP_REG_TO_MEM_OFFSET_REG_3_OFFSET0__SHIFT 0
static inline uint32_t CP_REG_TO_MEM_OFFSET_REG_3_OFFSET0(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_REG_3_OFFSET0__SHIFT) & CP_REG_TO_MEM_OFFSET_REG_3_OFFSET0__MASK;
}
#define CP_REG_TO_MEM_OFFSET_REG_3_OFFSET0_SCRATCH 0x00080000
#define REG_CP_REG_TO_MEM_OFFSET_MEM_0 0x00000000
#define CP_REG_TO_MEM_OFFSET_MEM_0_REG__MASK 0x0003ffff
#define CP_REG_TO_MEM_OFFSET_MEM_0_REG__SHIFT 0
static inline uint32_t CP_REG_TO_MEM_OFFSET_MEM_0_REG(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_MEM_0_REG__SHIFT) & CP_REG_TO_MEM_OFFSET_MEM_0_REG__MASK;
}
#define CP_REG_TO_MEM_OFFSET_MEM_0_CNT__MASK 0x3ffc0000
#define CP_REG_TO_MEM_OFFSET_MEM_0_CNT__SHIFT 18
static inline uint32_t CP_REG_TO_MEM_OFFSET_MEM_0_CNT(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_MEM_0_CNT__SHIFT) & CP_REG_TO_MEM_OFFSET_MEM_0_CNT__MASK;
}
#define CP_REG_TO_MEM_OFFSET_MEM_0_64B 0x40000000
#define CP_REG_TO_MEM_OFFSET_MEM_0_ACCUMULATE 0x80000000
#define REG_CP_REG_TO_MEM_OFFSET_MEM_1 0x00000001
#define CP_REG_TO_MEM_OFFSET_MEM_1_DEST__MASK 0xffffffff
#define CP_REG_TO_MEM_OFFSET_MEM_1_DEST__SHIFT 0
static inline uint32_t CP_REG_TO_MEM_OFFSET_MEM_1_DEST(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_MEM_1_DEST__SHIFT) & CP_REG_TO_MEM_OFFSET_MEM_1_DEST__MASK;
}
#define REG_CP_REG_TO_MEM_OFFSET_MEM_2 0x00000002
#define CP_REG_TO_MEM_OFFSET_MEM_2_DEST_HI__MASK 0xffffffff
#define CP_REG_TO_MEM_OFFSET_MEM_2_DEST_HI__SHIFT 0
static inline uint32_t CP_REG_TO_MEM_OFFSET_MEM_2_DEST_HI(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_MEM_2_DEST_HI__SHIFT) & CP_REG_TO_MEM_OFFSET_MEM_2_DEST_HI__MASK;
}
#define REG_CP_REG_TO_MEM_OFFSET_MEM_3 0x00000003
#define CP_REG_TO_MEM_OFFSET_MEM_3_OFFSET_LO__MASK 0xffffffff
#define CP_REG_TO_MEM_OFFSET_MEM_3_OFFSET_LO__SHIFT 0
static inline uint32_t CP_REG_TO_MEM_OFFSET_MEM_3_OFFSET_LO(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_MEM_3_OFFSET_LO__SHIFT) & CP_REG_TO_MEM_OFFSET_MEM_3_OFFSET_LO__MASK;
}
#define REG_CP_REG_TO_MEM_OFFSET_MEM_4 0x00000004
#define CP_REG_TO_MEM_OFFSET_MEM_4_OFFSET_HI__MASK 0xffffffff
#define CP_REG_TO_MEM_OFFSET_MEM_4_OFFSET_HI__SHIFT 0
static inline uint32_t CP_REG_TO_MEM_OFFSET_MEM_4_OFFSET_HI(uint32_t val)
{
return ((val) << CP_REG_TO_MEM_OFFSET_MEM_4_OFFSET_HI__SHIFT) & CP_REG_TO_MEM_OFFSET_MEM_4_OFFSET_HI__MASK;
}
#define REG_CP_MEM_TO_REG_0 0x00000000 #define REG_CP_MEM_TO_REG_0 0x00000000
#define CP_MEM_TO_REG_0_REG__MASK 0x0000ffff #define CP_MEM_TO_REG_0_REG__MASK 0x0003ffff
#define CP_MEM_TO_REG_0_REG__SHIFT 0 #define CP_MEM_TO_REG_0_REG__SHIFT 0
static inline uint32_t CP_MEM_TO_REG_0_REG(uint32_t val) static inline uint32_t CP_MEM_TO_REG_0_REG(uint32_t val)
{ {
...@@ -1036,8 +1419,8 @@ static inline uint32_t CP_MEM_TO_REG_0_CNT(uint32_t val) ...@@ -1036,8 +1419,8 @@ static inline uint32_t CP_MEM_TO_REG_0_CNT(uint32_t val)
{ {
return ((val) << CP_MEM_TO_REG_0_CNT__SHIFT) & CP_MEM_TO_REG_0_CNT__MASK; return ((val) << CP_MEM_TO_REG_0_CNT__SHIFT) & CP_MEM_TO_REG_0_CNT__MASK;
} }
#define CP_MEM_TO_REG_0_64B 0x40000000 #define CP_MEM_TO_REG_0_SHIFT_BY_2 0x40000000
#define CP_MEM_TO_REG_0_ACCUMULATE 0x80000000 #define CP_MEM_TO_REG_0_UNK31 0x80000000
#define REG_CP_MEM_TO_REG_1 0x00000001 #define REG_CP_MEM_TO_REG_1 0x00000001
#define CP_MEM_TO_REG_1_SRC__MASK 0xffffffff #define CP_MEM_TO_REG_1_SRC__MASK 0xffffffff
...@@ -1060,6 +1443,113 @@ static inline uint32_t CP_MEM_TO_REG_2_SRC_HI(uint32_t val) ...@@ -1060,6 +1443,113 @@ static inline uint32_t CP_MEM_TO_REG_2_SRC_HI(uint32_t val)
#define CP_MEM_TO_MEM_0_NEG_B 0x00000002 #define CP_MEM_TO_MEM_0_NEG_B 0x00000002
#define CP_MEM_TO_MEM_0_NEG_C 0x00000004 #define CP_MEM_TO_MEM_0_NEG_C 0x00000004
#define CP_MEM_TO_MEM_0_DOUBLE 0x20000000 #define CP_MEM_TO_MEM_0_DOUBLE 0x20000000
#define CP_MEM_TO_MEM_0_WAIT_FOR_MEM_WRITES 0x40000000
#define CP_MEM_TO_MEM_0_UNK31 0x80000000
#define REG_CP_MEMCPY_0 0x00000000
#define CP_MEMCPY_0_DWORDS__MASK 0xffffffff
#define CP_MEMCPY_0_DWORDS__SHIFT 0
static inline uint32_t CP_MEMCPY_0_DWORDS(uint32_t val)
{
return ((val) << CP_MEMCPY_0_DWORDS__SHIFT) & CP_MEMCPY_0_DWORDS__MASK;
}
#define REG_CP_MEMCPY_1 0x00000001
#define CP_MEMCPY_1_SRC_LO__MASK 0xffffffff
#define CP_MEMCPY_1_SRC_LO__SHIFT 0
static inline uint32_t CP_MEMCPY_1_SRC_LO(uint32_t val)
{
return ((val) << CP_MEMCPY_1_SRC_LO__SHIFT) & CP_MEMCPY_1_SRC_LO__MASK;
}
#define REG_CP_MEMCPY_2 0x00000002
#define CP_MEMCPY_2_SRC_HI__MASK 0xffffffff
#define CP_MEMCPY_2_SRC_HI__SHIFT 0
static inline uint32_t CP_MEMCPY_2_SRC_HI(uint32_t val)
{
return ((val) << CP_MEMCPY_2_SRC_HI__SHIFT) & CP_MEMCPY_2_SRC_HI__MASK;
}
#define REG_CP_MEMCPY_3 0x00000003
#define CP_MEMCPY_3_DST_LO__MASK 0xffffffff
#define CP_MEMCPY_3_DST_LO__SHIFT 0
static inline uint32_t CP_MEMCPY_3_DST_LO(uint32_t val)
{
return ((val) << CP_MEMCPY_3_DST_LO__SHIFT) & CP_MEMCPY_3_DST_LO__MASK;
}
#define REG_CP_MEMCPY_4 0x00000004
#define CP_MEMCPY_4_DST_HI__MASK 0xffffffff
#define CP_MEMCPY_4_DST_HI__SHIFT 0
static inline uint32_t CP_MEMCPY_4_DST_HI(uint32_t val)
{
return ((val) << CP_MEMCPY_4_DST_HI__SHIFT) & CP_MEMCPY_4_DST_HI__MASK;
}
#define REG_CP_REG_TO_SCRATCH_0 0x00000000
#define CP_REG_TO_SCRATCH_0_REG__MASK 0x0003ffff
#define CP_REG_TO_SCRATCH_0_REG__SHIFT 0
static inline uint32_t CP_REG_TO_SCRATCH_0_REG(uint32_t val)
{
return ((val) << CP_REG_TO_SCRATCH_0_REG__SHIFT) & CP_REG_TO_SCRATCH_0_REG__MASK;
}
#define CP_REG_TO_SCRATCH_0_SCRATCH__MASK 0x00700000
#define CP_REG_TO_SCRATCH_0_SCRATCH__SHIFT 20
static inline uint32_t CP_REG_TO_SCRATCH_0_SCRATCH(uint32_t val)
{
return ((val) << CP_REG_TO_SCRATCH_0_SCRATCH__SHIFT) & CP_REG_TO_SCRATCH_0_SCRATCH__MASK;
}
#define CP_REG_TO_SCRATCH_0_CNT__MASK 0x07000000
#define CP_REG_TO_SCRATCH_0_CNT__SHIFT 24
static inline uint32_t CP_REG_TO_SCRATCH_0_CNT(uint32_t val)
{
return ((val) << CP_REG_TO_SCRATCH_0_CNT__SHIFT) & CP_REG_TO_SCRATCH_0_CNT__MASK;
}
#define REG_CP_SCRATCH_TO_REG_0 0x00000000
#define CP_SCRATCH_TO_REG_0_REG__MASK 0x0003ffff
#define CP_SCRATCH_TO_REG_0_REG__SHIFT 0
static inline uint32_t CP_SCRATCH_TO_REG_0_REG(uint32_t val)
{
return ((val) << CP_SCRATCH_TO_REG_0_REG__SHIFT) & CP_SCRATCH_TO_REG_0_REG__MASK;
}
#define CP_SCRATCH_TO_REG_0_UNK18 0x00040000
#define CP_SCRATCH_TO_REG_0_SCRATCH__MASK 0x00700000
#define CP_SCRATCH_TO_REG_0_SCRATCH__SHIFT 20
static inline uint32_t CP_SCRATCH_TO_REG_0_SCRATCH(uint32_t val)
{
return ((val) << CP_SCRATCH_TO_REG_0_SCRATCH__SHIFT) & CP_SCRATCH_TO_REG_0_SCRATCH__MASK;
}
#define CP_SCRATCH_TO_REG_0_CNT__MASK 0x07000000
#define CP_SCRATCH_TO_REG_0_CNT__SHIFT 24
static inline uint32_t CP_SCRATCH_TO_REG_0_CNT(uint32_t val)
{
return ((val) << CP_SCRATCH_TO_REG_0_CNT__SHIFT) & CP_SCRATCH_TO_REG_0_CNT__MASK;
}
#define REG_CP_SCRATCH_WRITE_0 0x00000000
#define CP_SCRATCH_WRITE_0_SCRATCH__MASK 0x00700000
#define CP_SCRATCH_WRITE_0_SCRATCH__SHIFT 20
static inline uint32_t CP_SCRATCH_WRITE_0_SCRATCH(uint32_t val)
{
return ((val) << CP_SCRATCH_WRITE_0_SCRATCH__SHIFT) & CP_SCRATCH_WRITE_0_SCRATCH__MASK;
}
#define REG_CP_MEM_WRITE_0 0x00000000
#define CP_MEM_WRITE_0_ADDR_LO__MASK 0xffffffff
#define CP_MEM_WRITE_0_ADDR_LO__SHIFT 0
static inline uint32_t CP_MEM_WRITE_0_ADDR_LO(uint32_t val)
{
return ((val) << CP_MEM_WRITE_0_ADDR_LO__SHIFT) & CP_MEM_WRITE_0_ADDR_LO__MASK;
}
#define REG_CP_MEM_WRITE_1 0x00000001
#define CP_MEM_WRITE_1_ADDR_HI__MASK 0xffffffff
#define CP_MEM_WRITE_1_ADDR_HI__SHIFT 0
static inline uint32_t CP_MEM_WRITE_1_ADDR_HI(uint32_t val)
{
return ((val) << CP_MEM_WRITE_1_ADDR_HI__SHIFT) & CP_MEM_WRITE_1_ADDR_HI__MASK;
}
#define REG_CP_COND_WRITE_0 0x00000000 #define REG_CP_COND_WRITE_0 0x00000000
#define CP_COND_WRITE_0_FUNCTION__MASK 0x00000007 #define CP_COND_WRITE_0_FUNCTION__MASK 0x00000007
...@@ -1118,7 +1608,9 @@ static inline uint32_t CP_COND_WRITE5_0_FUNCTION(enum cp_cond_function val) ...@@ -1118,7 +1608,9 @@ static inline uint32_t CP_COND_WRITE5_0_FUNCTION(enum cp_cond_function val)
{ {
return ((val) << CP_COND_WRITE5_0_FUNCTION__SHIFT) & CP_COND_WRITE5_0_FUNCTION__MASK; return ((val) << CP_COND_WRITE5_0_FUNCTION__SHIFT) & CP_COND_WRITE5_0_FUNCTION__MASK;
} }
#define CP_COND_WRITE5_0_SIGNED_COMPARE 0x00000008
#define CP_COND_WRITE5_0_POLL_MEMORY 0x00000010 #define CP_COND_WRITE5_0_POLL_MEMORY 0x00000010
#define CP_COND_WRITE5_0_POLL_SCRATCH 0x00000020
#define CP_COND_WRITE5_0_WRITE_MEMORY 0x00000100 #define CP_COND_WRITE5_0_WRITE_MEMORY 0x00000100
#define REG_CP_COND_WRITE5_1 0x00000001 #define REG_CP_COND_WRITE5_1 0x00000001
...@@ -1177,6 +1669,114 @@ static inline uint32_t CP_COND_WRITE5_7_WRITE_DATA(uint32_t val) ...@@ -1177,6 +1669,114 @@ static inline uint32_t CP_COND_WRITE5_7_WRITE_DATA(uint32_t val)
return ((val) << CP_COND_WRITE5_7_WRITE_DATA__SHIFT) & CP_COND_WRITE5_7_WRITE_DATA__MASK; return ((val) << CP_COND_WRITE5_7_WRITE_DATA__SHIFT) & CP_COND_WRITE5_7_WRITE_DATA__MASK;
} }
#define REG_CP_WAIT_MEM_GTE_0 0x00000000
#define CP_WAIT_MEM_GTE_0_RESERVED__MASK 0xffffffff
#define CP_WAIT_MEM_GTE_0_RESERVED__SHIFT 0
static inline uint32_t CP_WAIT_MEM_GTE_0_RESERVED(uint32_t val)
{
return ((val) << CP_WAIT_MEM_GTE_0_RESERVED__SHIFT) & CP_WAIT_MEM_GTE_0_RESERVED__MASK;
}
#define REG_CP_WAIT_MEM_GTE_1 0x00000001
#define CP_WAIT_MEM_GTE_1_POLL_ADDR_LO__MASK 0xffffffff
#define CP_WAIT_MEM_GTE_1_POLL_ADDR_LO__SHIFT 0
static inline uint32_t CP_WAIT_MEM_GTE_1_POLL_ADDR_LO(uint32_t val)
{
return ((val) << CP_WAIT_MEM_GTE_1_POLL_ADDR_LO__SHIFT) & CP_WAIT_MEM_GTE_1_POLL_ADDR_LO__MASK;
}
#define REG_CP_WAIT_MEM_GTE_2 0x00000002
#define CP_WAIT_MEM_GTE_2_POLL_ADDR_HI__MASK 0xffffffff
#define CP_WAIT_MEM_GTE_2_POLL_ADDR_HI__SHIFT 0
static inline uint32_t CP_WAIT_MEM_GTE_2_POLL_ADDR_HI(uint32_t val)
{
return ((val) << CP_WAIT_MEM_GTE_2_POLL_ADDR_HI__SHIFT) & CP_WAIT_MEM_GTE_2_POLL_ADDR_HI__MASK;
}
#define REG_CP_WAIT_MEM_GTE_3 0x00000003
#define CP_WAIT_MEM_GTE_3_REF__MASK 0xffffffff
#define CP_WAIT_MEM_GTE_3_REF__SHIFT 0
static inline uint32_t CP_WAIT_MEM_GTE_3_REF(uint32_t val)
{
return ((val) << CP_WAIT_MEM_GTE_3_REF__SHIFT) & CP_WAIT_MEM_GTE_3_REF__MASK;
}
#define REG_CP_WAIT_REG_MEM_0 0x00000000
#define CP_WAIT_REG_MEM_0_FUNCTION__MASK 0x00000007
#define CP_WAIT_REG_MEM_0_FUNCTION__SHIFT 0
static inline uint32_t CP_WAIT_REG_MEM_0_FUNCTION(enum cp_cond_function val)
{
return ((val) << CP_WAIT_REG_MEM_0_FUNCTION__SHIFT) & CP_WAIT_REG_MEM_0_FUNCTION__MASK;
}
#define CP_WAIT_REG_MEM_0_SIGNED_COMPARE 0x00000008
#define CP_WAIT_REG_MEM_0_POLL_MEMORY 0x00000010
#define CP_WAIT_REG_MEM_0_POLL_SCRATCH 0x00000020
#define CP_WAIT_REG_MEM_0_WRITE_MEMORY 0x00000100
#define REG_CP_WAIT_REG_MEM_1 0x00000001
#define CP_WAIT_REG_MEM_1_POLL_ADDR_LO__MASK 0xffffffff
#define CP_WAIT_REG_MEM_1_POLL_ADDR_LO__SHIFT 0
static inline uint32_t CP_WAIT_REG_MEM_1_POLL_ADDR_LO(uint32_t val)
{
return ((val) << CP_WAIT_REG_MEM_1_POLL_ADDR_LO__SHIFT) & CP_WAIT_REG_MEM_1_POLL_ADDR_LO__MASK;
}
#define REG_CP_WAIT_REG_MEM_2 0x00000002
#define CP_WAIT_REG_MEM_2_POLL_ADDR_HI__MASK 0xffffffff
#define CP_WAIT_REG_MEM_2_POLL_ADDR_HI__SHIFT 0
static inline uint32_t CP_WAIT_REG_MEM_2_POLL_ADDR_HI(uint32_t val)
{
return ((val) << CP_WAIT_REG_MEM_2_POLL_ADDR_HI__SHIFT) & CP_WAIT_REG_MEM_2_POLL_ADDR_HI__MASK;
}
#define REG_CP_WAIT_REG_MEM_3 0x00000003
#define CP_WAIT_REG_MEM_3_REF__MASK 0xffffffff
#define CP_WAIT_REG_MEM_3_REF__SHIFT 0
static inline uint32_t CP_WAIT_REG_MEM_3_REF(uint32_t val)
{
return ((val) << CP_WAIT_REG_MEM_3_REF__SHIFT) & CP_WAIT_REG_MEM_3_REF__MASK;
}
#define REG_CP_WAIT_REG_MEM_4 0x00000004
#define CP_WAIT_REG_MEM_4_MASK__MASK 0xffffffff
#define CP_WAIT_REG_MEM_4_MASK__SHIFT 0
static inline uint32_t CP_WAIT_REG_MEM_4_MASK(uint32_t val)
{
return ((val) << CP_WAIT_REG_MEM_4_MASK__SHIFT) & CP_WAIT_REG_MEM_4_MASK__MASK;
}
#define REG_CP_WAIT_REG_MEM_5 0x00000005
#define CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES__MASK 0xffffffff
#define CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES__SHIFT 0
static inline uint32_t CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES(uint32_t val)
{
return ((val) << CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES__SHIFT) & CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES__MASK;
}
#define REG_CP_WAIT_TWO_REGS_0 0x00000000
#define CP_WAIT_TWO_REGS_0_REG0__MASK 0x0003ffff
#define CP_WAIT_TWO_REGS_0_REG0__SHIFT 0
static inline uint32_t CP_WAIT_TWO_REGS_0_REG0(uint32_t val)
{
return ((val) << CP_WAIT_TWO_REGS_0_REG0__SHIFT) & CP_WAIT_TWO_REGS_0_REG0__MASK;
}
#define REG_CP_WAIT_TWO_REGS_1 0x00000001
#define CP_WAIT_TWO_REGS_1_REG1__MASK 0x0003ffff
#define CP_WAIT_TWO_REGS_1_REG1__SHIFT 0
static inline uint32_t CP_WAIT_TWO_REGS_1_REG1(uint32_t val)
{
return ((val) << CP_WAIT_TWO_REGS_1_REG1__SHIFT) & CP_WAIT_TWO_REGS_1_REG1__MASK;
}
#define REG_CP_WAIT_TWO_REGS_2 0x00000002
#define CP_WAIT_TWO_REGS_2_REF__MASK 0xffffffff
#define CP_WAIT_TWO_REGS_2_REF__SHIFT 0
static inline uint32_t CP_WAIT_TWO_REGS_2_REF(uint32_t val)
{
return ((val) << CP_WAIT_TWO_REGS_2_REF__SHIFT) & CP_WAIT_TWO_REGS_2_REF__MASK;
}
#define REG_CP_DISPATCH_COMPUTE_0 0x00000000 #define REG_CP_DISPATCH_COMPUTE_0 0x00000000
#define REG_CP_DISPATCH_COMPUTE_1 0x00000001 #define REG_CP_DISPATCH_COMPUTE_1 0x00000001
...@@ -1329,6 +1929,7 @@ static inline uint32_t CP_EVENT_WRITE_0_EVENT(enum vgt_event_type val) ...@@ -1329,6 +1929,7 @@ static inline uint32_t CP_EVENT_WRITE_0_EVENT(enum vgt_event_type val)
return ((val) << CP_EVENT_WRITE_0_EVENT__SHIFT) & CP_EVENT_WRITE_0_EVENT__MASK; return ((val) << CP_EVENT_WRITE_0_EVENT__SHIFT) & CP_EVENT_WRITE_0_EVENT__MASK;
} }
#define CP_EVENT_WRITE_0_TIMESTAMP 0x40000000 #define CP_EVENT_WRITE_0_TIMESTAMP 0x40000000
#define CP_EVENT_WRITE_0_IRQ 0x80000000
#define REG_CP_EVENT_WRITE_1 0x00000001 #define REG_CP_EVENT_WRITE_1 0x00000001
#define CP_EVENT_WRITE_1_ADDR_0_LO__MASK 0xffffffff #define CP_EVENT_WRITE_1_ADDR_0_LO__MASK 0xffffffff
...@@ -1506,61 +2107,209 @@ static inline uint32_t A5XX_CP_EXEC_CS_INDIRECT_3_LOCALSIZEZ(uint32_t val) ...@@ -1506,61 +2107,209 @@ static inline uint32_t A5XX_CP_EXEC_CS_INDIRECT_3_LOCALSIZEZ(uint32_t val)
return ((val) << A5XX_CP_EXEC_CS_INDIRECT_3_LOCALSIZEZ__SHIFT) & A5XX_CP_EXEC_CS_INDIRECT_3_LOCALSIZEZ__MASK; return ((val) << A5XX_CP_EXEC_CS_INDIRECT_3_LOCALSIZEZ__SHIFT) & A5XX_CP_EXEC_CS_INDIRECT_3_LOCALSIZEZ__MASK;
} }
#define REG_A2XX_CP_SET_MARKER_0 0x00000000 #define REG_A6XX_CP_SET_MARKER_0 0x00000000
#define A2XX_CP_SET_MARKER_0_MARKER__MASK 0x0000000f #define A6XX_CP_SET_MARKER_0_MODE__MASK 0x000001ff
#define A2XX_CP_SET_MARKER_0_MARKER__SHIFT 0 #define A6XX_CP_SET_MARKER_0_MODE__SHIFT 0
static inline uint32_t A2XX_CP_SET_MARKER_0_MARKER(uint32_t val) static inline uint32_t A6XX_CP_SET_MARKER_0_MODE(enum a6xx_render_mode val)
{
return ((val) << A6XX_CP_SET_MARKER_0_MODE__SHIFT) & A6XX_CP_SET_MARKER_0_MODE__MASK;
}
#define A6XX_CP_SET_MARKER_0_MARKER__MASK 0x0000000f
#define A6XX_CP_SET_MARKER_0_MARKER__SHIFT 0
static inline uint32_t A6XX_CP_SET_MARKER_0_MARKER(enum a6xx_render_mode val)
{
return ((val) << A6XX_CP_SET_MARKER_0_MARKER__SHIFT) & A6XX_CP_SET_MARKER_0_MARKER__MASK;
}
static inline uint32_t REG_A6XX_CP_SET_PSEUDO_REG_(uint32_t i0) { return 0x00000000 + 0x3*i0; }
static inline uint32_t REG_A6XX_CP_SET_PSEUDO_REG__0(uint32_t i0) { return 0x00000000 + 0x3*i0; }
#define A6XX_CP_SET_PSEUDO_REG__0_PSEUDO_REG__MASK 0x00000007
#define A6XX_CP_SET_PSEUDO_REG__0_PSEUDO_REG__SHIFT 0
static inline uint32_t A6XX_CP_SET_PSEUDO_REG__0_PSEUDO_REG(enum pseudo_reg val)
{
return ((val) << A6XX_CP_SET_PSEUDO_REG__0_PSEUDO_REG__SHIFT) & A6XX_CP_SET_PSEUDO_REG__0_PSEUDO_REG__MASK;
}
static inline uint32_t REG_A6XX_CP_SET_PSEUDO_REG__1(uint32_t i0) { return 0x00000001 + 0x3*i0; }
#define A6XX_CP_SET_PSEUDO_REG__1_LO__MASK 0xffffffff
#define A6XX_CP_SET_PSEUDO_REG__1_LO__SHIFT 0
static inline uint32_t A6XX_CP_SET_PSEUDO_REG__1_LO(uint32_t val)
{
return ((val) << A6XX_CP_SET_PSEUDO_REG__1_LO__SHIFT) & A6XX_CP_SET_PSEUDO_REG__1_LO__MASK;
}
static inline uint32_t REG_A6XX_CP_SET_PSEUDO_REG__2(uint32_t i0) { return 0x00000002 + 0x3*i0; }
#define A6XX_CP_SET_PSEUDO_REG__2_HI__MASK 0xffffffff
#define A6XX_CP_SET_PSEUDO_REG__2_HI__SHIFT 0
static inline uint32_t A6XX_CP_SET_PSEUDO_REG__2_HI(uint32_t val)
{
return ((val) << A6XX_CP_SET_PSEUDO_REG__2_HI__SHIFT) & A6XX_CP_SET_PSEUDO_REG__2_HI__MASK;
}
#define REG_A6XX_CP_REG_TEST_0 0x00000000
#define A6XX_CP_REG_TEST_0_REG__MASK 0x0003ffff
#define A6XX_CP_REG_TEST_0_REG__SHIFT 0
static inline uint32_t A6XX_CP_REG_TEST_0_REG(uint32_t val)
{
return ((val) << A6XX_CP_REG_TEST_0_REG__SHIFT) & A6XX_CP_REG_TEST_0_REG__MASK;
}
#define A6XX_CP_REG_TEST_0_BIT__MASK 0x01f00000
#define A6XX_CP_REG_TEST_0_BIT__SHIFT 20
static inline uint32_t A6XX_CP_REG_TEST_0_BIT(uint32_t val)
{
return ((val) << A6XX_CP_REG_TEST_0_BIT__SHIFT) & A6XX_CP_REG_TEST_0_BIT__MASK;
}
#define A6XX_CP_REG_TEST_0_WAIT_FOR_ME 0x02000000
#define REG_CP_COND_REG_EXEC_0 0x00000000
#define CP_COND_REG_EXEC_0_REG0__MASK 0x0003ffff
#define CP_COND_REG_EXEC_0_REG0__SHIFT 0
static inline uint32_t CP_COND_REG_EXEC_0_REG0(uint32_t val)
{
return ((val) << CP_COND_REG_EXEC_0_REG0__SHIFT) & CP_COND_REG_EXEC_0_REG0__MASK;
}
#define CP_COND_REG_EXEC_0_BINNING 0x02000000
#define CP_COND_REG_EXEC_0_GMEM 0x04000000
#define CP_COND_REG_EXEC_0_SYSMEM 0x08000000
#define CP_COND_REG_EXEC_0_MODE__MASK 0xf0000000
#define CP_COND_REG_EXEC_0_MODE__SHIFT 28
static inline uint32_t CP_COND_REG_EXEC_0_MODE(enum compare_mode val)
{
return ((val) << CP_COND_REG_EXEC_0_MODE__SHIFT) & CP_COND_REG_EXEC_0_MODE__MASK;
}
#define REG_CP_COND_REG_EXEC_1 0x00000001
#define CP_COND_REG_EXEC_1_DWORDS__MASK 0xffffffff
#define CP_COND_REG_EXEC_1_DWORDS__SHIFT 0
static inline uint32_t CP_COND_REG_EXEC_1_DWORDS(uint32_t val)
{
return ((val) << CP_COND_REG_EXEC_1_DWORDS__SHIFT) & CP_COND_REG_EXEC_1_DWORDS__MASK;
}
#define REG_CP_COND_EXEC_0 0x00000000
#define CP_COND_EXEC_0_ADDR0_LO__MASK 0xffffffff
#define CP_COND_EXEC_0_ADDR0_LO__SHIFT 0
static inline uint32_t CP_COND_EXEC_0_ADDR0_LO(uint32_t val)
{
return ((val) << CP_COND_EXEC_0_ADDR0_LO__SHIFT) & CP_COND_EXEC_0_ADDR0_LO__MASK;
}
#define REG_CP_COND_EXEC_1 0x00000001
#define CP_COND_EXEC_1_ADDR0_HI__MASK 0xffffffff
#define CP_COND_EXEC_1_ADDR0_HI__SHIFT 0
static inline uint32_t CP_COND_EXEC_1_ADDR0_HI(uint32_t val)
{ {
return ((val) << A2XX_CP_SET_MARKER_0_MARKER__SHIFT) & A2XX_CP_SET_MARKER_0_MARKER__MASK; return ((val) << CP_COND_EXEC_1_ADDR0_HI__SHIFT) & CP_COND_EXEC_1_ADDR0_HI__MASK;
} }
#define A2XX_CP_SET_MARKER_0_MODE__MASK 0x0000000f
#define A2XX_CP_SET_MARKER_0_MODE__SHIFT 0 #define REG_CP_COND_EXEC_2 0x00000002
static inline uint32_t A2XX_CP_SET_MARKER_0_MODE(enum a6xx_render_mode val) #define CP_COND_EXEC_2_ADDR1_LO__MASK 0xffffffff
#define CP_COND_EXEC_2_ADDR1_LO__SHIFT 0
static inline uint32_t CP_COND_EXEC_2_ADDR1_LO(uint32_t val)
{
return ((val) << CP_COND_EXEC_2_ADDR1_LO__SHIFT) & CP_COND_EXEC_2_ADDR1_LO__MASK;
}
#define REG_CP_COND_EXEC_3 0x00000003
#define CP_COND_EXEC_3_ADDR1_HI__MASK 0xffffffff
#define CP_COND_EXEC_3_ADDR1_HI__SHIFT 0
static inline uint32_t CP_COND_EXEC_3_ADDR1_HI(uint32_t val)
{ {
return ((val) << A2XX_CP_SET_MARKER_0_MODE__SHIFT) & A2XX_CP_SET_MARKER_0_MODE__MASK; return ((val) << CP_COND_EXEC_3_ADDR1_HI__SHIFT) & CP_COND_EXEC_3_ADDR1_HI__MASK;
} }
#define A2XX_CP_SET_MARKER_0_IFPC 0x00000100
static inline uint32_t REG_A2XX_CP_SET_PSEUDO_REG_(uint32_t i0) { return 0x00000000 + 0x3*i0; } #define REG_CP_COND_EXEC_4 0x00000004
#define CP_COND_EXEC_4_REF__MASK 0xffffffff
#define CP_COND_EXEC_4_REF__SHIFT 0
static inline uint32_t CP_COND_EXEC_4_REF(uint32_t val)
{
return ((val) << CP_COND_EXEC_4_REF__SHIFT) & CP_COND_EXEC_4_REF__MASK;
}
static inline uint32_t REG_A2XX_CP_SET_PSEUDO_REG__0(uint32_t i0) { return 0x00000000 + 0x3*i0; } #define REG_CP_COND_EXEC_5 0x00000005
#define A2XX_CP_SET_PSEUDO_REG__0_PSEUDO_REG__MASK 0x00000007 #define CP_COND_EXEC_5_DWORDS__MASK 0xffffffff
#define A2XX_CP_SET_PSEUDO_REG__0_PSEUDO_REG__SHIFT 0 #define CP_COND_EXEC_5_DWORDS__SHIFT 0
static inline uint32_t A2XX_CP_SET_PSEUDO_REG__0_PSEUDO_REG(enum pseudo_reg val) static inline uint32_t CP_COND_EXEC_5_DWORDS(uint32_t val)
{ {
return ((val) << A2XX_CP_SET_PSEUDO_REG__0_PSEUDO_REG__SHIFT) & A2XX_CP_SET_PSEUDO_REG__0_PSEUDO_REG__MASK; return ((val) << CP_COND_EXEC_5_DWORDS__SHIFT) & CP_COND_EXEC_5_DWORDS__MASK;
} }
static inline uint32_t REG_A2XX_CP_SET_PSEUDO_REG__1(uint32_t i0) { return 0x00000001 + 0x3*i0; } #define REG_CP_SET_CTXSWITCH_IB_0 0x00000000
#define A2XX_CP_SET_PSEUDO_REG__1_LO__MASK 0xffffffff #define CP_SET_CTXSWITCH_IB_0_ADDR_LO__MASK 0xffffffff
#define A2XX_CP_SET_PSEUDO_REG__1_LO__SHIFT 0 #define CP_SET_CTXSWITCH_IB_0_ADDR_LO__SHIFT 0
static inline uint32_t A2XX_CP_SET_PSEUDO_REG__1_LO(uint32_t val) static inline uint32_t CP_SET_CTXSWITCH_IB_0_ADDR_LO(uint32_t val)
{ {
return ((val) << A2XX_CP_SET_PSEUDO_REG__1_LO__SHIFT) & A2XX_CP_SET_PSEUDO_REG__1_LO__MASK; return ((val) << CP_SET_CTXSWITCH_IB_0_ADDR_LO__SHIFT) & CP_SET_CTXSWITCH_IB_0_ADDR_LO__MASK;
} }
static inline uint32_t REG_A2XX_CP_SET_PSEUDO_REG__2(uint32_t i0) { return 0x00000002 + 0x3*i0; } #define REG_CP_SET_CTXSWITCH_IB_1 0x00000001
#define A2XX_CP_SET_PSEUDO_REG__2_HI__MASK 0xffffffff #define CP_SET_CTXSWITCH_IB_1_ADDR_HI__MASK 0xffffffff
#define A2XX_CP_SET_PSEUDO_REG__2_HI__SHIFT 0 #define CP_SET_CTXSWITCH_IB_1_ADDR_HI__SHIFT 0
static inline uint32_t A2XX_CP_SET_PSEUDO_REG__2_HI(uint32_t val) static inline uint32_t CP_SET_CTXSWITCH_IB_1_ADDR_HI(uint32_t val)
{ {
return ((val) << A2XX_CP_SET_PSEUDO_REG__2_HI__SHIFT) & A2XX_CP_SET_PSEUDO_REG__2_HI__MASK; return ((val) << CP_SET_CTXSWITCH_IB_1_ADDR_HI__SHIFT) & CP_SET_CTXSWITCH_IB_1_ADDR_HI__MASK;
} }
#define REG_A2XX_CP_REG_TEST_0 0x00000000 #define REG_CP_SET_CTXSWITCH_IB_2 0x00000002
#define A2XX_CP_REG_TEST_0_REG__MASK 0x00000fff #define CP_SET_CTXSWITCH_IB_2_DWORDS__MASK 0x000fffff
#define A2XX_CP_REG_TEST_0_REG__SHIFT 0 #define CP_SET_CTXSWITCH_IB_2_DWORDS__SHIFT 0
static inline uint32_t A2XX_CP_REG_TEST_0_REG(uint32_t val) static inline uint32_t CP_SET_CTXSWITCH_IB_2_DWORDS(uint32_t val)
{
return ((val) << CP_SET_CTXSWITCH_IB_2_DWORDS__SHIFT) & CP_SET_CTXSWITCH_IB_2_DWORDS__MASK;
}
#define CP_SET_CTXSWITCH_IB_2_TYPE__MASK 0x00300000
#define CP_SET_CTXSWITCH_IB_2_TYPE__SHIFT 20
static inline uint32_t CP_SET_CTXSWITCH_IB_2_TYPE(enum ctxswitch_ib val)
{ {
return ((val) << A2XX_CP_REG_TEST_0_REG__SHIFT) & A2XX_CP_REG_TEST_0_REG__MASK; return ((val) << CP_SET_CTXSWITCH_IB_2_TYPE__SHIFT) & CP_SET_CTXSWITCH_IB_2_TYPE__MASK;
} }
#define A2XX_CP_REG_TEST_0_BIT__MASK 0x01f00000
#define A2XX_CP_REG_TEST_0_BIT__SHIFT 20 #define REG_CP_REG_WRITE_0 0x00000000
static inline uint32_t A2XX_CP_REG_TEST_0_BIT(uint32_t val) #define CP_REG_WRITE_0_TRACKER__MASK 0x00000007
#define CP_REG_WRITE_0_TRACKER__SHIFT 0
static inline uint32_t CP_REG_WRITE_0_TRACKER(enum reg_tracker val)
{
return ((val) << CP_REG_WRITE_0_TRACKER__SHIFT) & CP_REG_WRITE_0_TRACKER__MASK;
}
#define REG_CP_SMMU_TABLE_UPDATE_0 0x00000000
#define CP_SMMU_TABLE_UPDATE_0_TTBR0_LO__MASK 0xffffffff
#define CP_SMMU_TABLE_UPDATE_0_TTBR0_LO__SHIFT 0
static inline uint32_t CP_SMMU_TABLE_UPDATE_0_TTBR0_LO(uint32_t val)
{
return ((val) << CP_SMMU_TABLE_UPDATE_0_TTBR0_LO__SHIFT) & CP_SMMU_TABLE_UPDATE_0_TTBR0_LO__MASK;
}
#define REG_CP_SMMU_TABLE_UPDATE_1 0x00000001
#define CP_SMMU_TABLE_UPDATE_1_TTBR0_HI__MASK 0x0000ffff
#define CP_SMMU_TABLE_UPDATE_1_TTBR0_HI__SHIFT 0
static inline uint32_t CP_SMMU_TABLE_UPDATE_1_TTBR0_HI(uint32_t val)
{
return ((val) << CP_SMMU_TABLE_UPDATE_1_TTBR0_HI__SHIFT) & CP_SMMU_TABLE_UPDATE_1_TTBR0_HI__MASK;
}
#define CP_SMMU_TABLE_UPDATE_1_ASID__MASK 0xffff0000
#define CP_SMMU_TABLE_UPDATE_1_ASID__SHIFT 16
static inline uint32_t CP_SMMU_TABLE_UPDATE_1_ASID(uint32_t val)
{
return ((val) << CP_SMMU_TABLE_UPDATE_1_ASID__SHIFT) & CP_SMMU_TABLE_UPDATE_1_ASID__MASK;
}
#define REG_CP_SMMU_TABLE_UPDATE_2 0x00000002
#define CP_SMMU_TABLE_UPDATE_2_CONTEXTIDR__MASK 0xffffffff
#define CP_SMMU_TABLE_UPDATE_2_CONTEXTIDR__SHIFT 0
static inline uint32_t CP_SMMU_TABLE_UPDATE_2_CONTEXTIDR(uint32_t val)
{
return ((val) << CP_SMMU_TABLE_UPDATE_2_CONTEXTIDR__SHIFT) & CP_SMMU_TABLE_UPDATE_2_CONTEXTIDR__MASK;
}
#define REG_CP_SMMU_TABLE_UPDATE_3 0x00000003
#define CP_SMMU_TABLE_UPDATE_3_CONTEXTBANK__MASK 0xffffffff
#define CP_SMMU_TABLE_UPDATE_3_CONTEXTBANK__SHIFT 0
static inline uint32_t CP_SMMU_TABLE_UPDATE_3_CONTEXTBANK(uint32_t val)
{ {
return ((val) << A2XX_CP_REG_TEST_0_BIT__SHIFT) & A2XX_CP_REG_TEST_0_BIT__MASK; return ((val) << CP_SMMU_TABLE_UPDATE_3_CONTEXTBANK__SHIFT) & CP_SMMU_TABLE_UPDATE_3_CONTEXTBANK__MASK;
} }
#define A2XX_CP_REG_TEST_0_UNK25 0x02000000
#endif /* ADRENO_PM4_XML */ #endif /* ADRENO_PM4_XML */
...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 37239 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 42301 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41799 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41874 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
......
...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 37239 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 42301 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41799 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41874 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
......
...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 37239 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 42301 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41799 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41874 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
......
...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 37239 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 42301 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41799 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41874 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
...@@ -148,7 +148,31 @@ static inline uint32_t DSI_6G_HW_VERSION_STEP(uint32_t val) ...@@ -148,7 +148,31 @@ static inline uint32_t DSI_6G_HW_VERSION_STEP(uint32_t val)
#define DSI_STATUS0_INTERLEAVE_OP_CONTENTION 0x80000000 #define DSI_STATUS0_INTERLEAVE_OP_CONTENTION 0x80000000
#define REG_DSI_FIFO_STATUS 0x00000008 #define REG_DSI_FIFO_STATUS 0x00000008
#define DSI_FIFO_STATUS_VIDEO_MDP_FIFO_OVERFLOW 0x00000001
#define DSI_FIFO_STATUS_VIDEO_MDP_FIFO_UNDERFLOW 0x00000008
#define DSI_FIFO_STATUS_CMD_MDP_FIFO_UNDERFLOW 0x00000080 #define DSI_FIFO_STATUS_CMD_MDP_FIFO_UNDERFLOW 0x00000080
#define DSI_FIFO_STATUS_CMD_DMA_FIFO_RD_WATERMARK_REACH 0x00000100
#define DSI_FIFO_STATUS_CMD_DMA_FIFO_WR_WATERMARK_REACH 0x00000200
#define DSI_FIFO_STATUS_CMD_DMA_FIFO_UNDERFLOW 0x00000400
#define DSI_FIFO_STATUS_DLN0_LP_FIFO_EMPTY 0x00001000
#define DSI_FIFO_STATUS_DLN0_LP_FIFO_FULL 0x00002000
#define DSI_FIFO_STATUS_DLN0_LP_FIFO_OVERFLOW 0x00004000
#define DSI_FIFO_STATUS_DLN0_HS_FIFO_EMPTY 0x00010000
#define DSI_FIFO_STATUS_DLN0_HS_FIFO_FULL 0x00020000
#define DSI_FIFO_STATUS_DLN0_HS_FIFO_OVERFLOW 0x00040000
#define DSI_FIFO_STATUS_DLN0_HS_FIFO_UNDERFLOW 0x00080000
#define DSI_FIFO_STATUS_DLN1_HS_FIFO_EMPTY 0x00100000
#define DSI_FIFO_STATUS_DLN1_HS_FIFO_FULL 0x00200000
#define DSI_FIFO_STATUS_DLN1_HS_FIFO_OVERFLOW 0x00400000
#define DSI_FIFO_STATUS_DLN1_HS_FIFO_UNDERFLOW 0x00800000
#define DSI_FIFO_STATUS_DLN2_HS_FIFO_EMPTY 0x01000000
#define DSI_FIFO_STATUS_DLN2_HS_FIFO_FULL 0x02000000
#define DSI_FIFO_STATUS_DLN2_HS_FIFO_OVERFLOW 0x04000000
#define DSI_FIFO_STATUS_DLN2_HS_FIFO_UNDERFLOW 0x08000000
#define DSI_FIFO_STATUS_DLN3_HS_FIFO_EMPTY 0x10000000
#define DSI_FIFO_STATUS_DLN3_HS_FIFO_FULL 0x20000000
#define DSI_FIFO_STATUS_DLN3_HS_FIFO_OVERFLOW 0x40000000
#define DSI_FIFO_STATUS_DLN3_HS_FIFO_UNDERFLOW 0x80000000
#define REG_DSI_VID_CFG0 0x0000000c #define REG_DSI_VID_CFG0 0x0000000c
#define DSI_VID_CFG0_VIRT_CHANNEL__MASK 0x00000003 #define DSI_VID_CFG0_VIRT_CHANNEL__MASK 0x00000003
...@@ -318,38 +342,72 @@ static inline uint32_t DSI_CMD_CFG1_WR_MEM_CONTINUE(uint32_t val) ...@@ -318,38 +342,72 @@ static inline uint32_t DSI_CMD_CFG1_WR_MEM_CONTINUE(uint32_t val)
#define REG_DSI_DMA_LEN 0x00000048 #define REG_DSI_DMA_LEN 0x00000048
#define REG_DSI_CMD_MDP_STREAM_CTRL 0x00000054 #define REG_DSI_CMD_MDP_STREAM0_CTRL 0x00000054
#define DSI_CMD_MDP_STREAM_CTRL_DATA_TYPE__MASK 0x0000003f #define DSI_CMD_MDP_STREAM0_CTRL_DATA_TYPE__MASK 0x0000003f
#define DSI_CMD_MDP_STREAM_CTRL_DATA_TYPE__SHIFT 0 #define DSI_CMD_MDP_STREAM0_CTRL_DATA_TYPE__SHIFT 0
static inline uint32_t DSI_CMD_MDP_STREAM_CTRL_DATA_TYPE(uint32_t val) static inline uint32_t DSI_CMD_MDP_STREAM0_CTRL_DATA_TYPE(uint32_t val)
{ {
return ((val) << DSI_CMD_MDP_STREAM_CTRL_DATA_TYPE__SHIFT) & DSI_CMD_MDP_STREAM_CTRL_DATA_TYPE__MASK; return ((val) << DSI_CMD_MDP_STREAM0_CTRL_DATA_TYPE__SHIFT) & DSI_CMD_MDP_STREAM0_CTRL_DATA_TYPE__MASK;
} }
#define DSI_CMD_MDP_STREAM_CTRL_VIRTUAL_CHANNEL__MASK 0x00000300 #define DSI_CMD_MDP_STREAM0_CTRL_VIRTUAL_CHANNEL__MASK 0x00000300
#define DSI_CMD_MDP_STREAM_CTRL_VIRTUAL_CHANNEL__SHIFT 8 #define DSI_CMD_MDP_STREAM0_CTRL_VIRTUAL_CHANNEL__SHIFT 8
static inline uint32_t DSI_CMD_MDP_STREAM_CTRL_VIRTUAL_CHANNEL(uint32_t val) static inline uint32_t DSI_CMD_MDP_STREAM0_CTRL_VIRTUAL_CHANNEL(uint32_t val)
{ {
return ((val) << DSI_CMD_MDP_STREAM_CTRL_VIRTUAL_CHANNEL__SHIFT) & DSI_CMD_MDP_STREAM_CTRL_VIRTUAL_CHANNEL__MASK; return ((val) << DSI_CMD_MDP_STREAM0_CTRL_VIRTUAL_CHANNEL__SHIFT) & DSI_CMD_MDP_STREAM0_CTRL_VIRTUAL_CHANNEL__MASK;
} }
#define DSI_CMD_MDP_STREAM_CTRL_WORD_COUNT__MASK 0xffff0000 #define DSI_CMD_MDP_STREAM0_CTRL_WORD_COUNT__MASK 0xffff0000
#define DSI_CMD_MDP_STREAM_CTRL_WORD_COUNT__SHIFT 16 #define DSI_CMD_MDP_STREAM0_CTRL_WORD_COUNT__SHIFT 16
static inline uint32_t DSI_CMD_MDP_STREAM_CTRL_WORD_COUNT(uint32_t val) static inline uint32_t DSI_CMD_MDP_STREAM0_CTRL_WORD_COUNT(uint32_t val)
{ {
return ((val) << DSI_CMD_MDP_STREAM_CTRL_WORD_COUNT__SHIFT) & DSI_CMD_MDP_STREAM_CTRL_WORD_COUNT__MASK; return ((val) << DSI_CMD_MDP_STREAM0_CTRL_WORD_COUNT__SHIFT) & DSI_CMD_MDP_STREAM0_CTRL_WORD_COUNT__MASK;
} }
#define REG_DSI_CMD_MDP_STREAM_TOTAL 0x00000058 #define REG_DSI_CMD_MDP_STREAM0_TOTAL 0x00000058
#define DSI_CMD_MDP_STREAM_TOTAL_H_TOTAL__MASK 0x00000fff #define DSI_CMD_MDP_STREAM0_TOTAL_H_TOTAL__MASK 0x00000fff
#define DSI_CMD_MDP_STREAM_TOTAL_H_TOTAL__SHIFT 0 #define DSI_CMD_MDP_STREAM0_TOTAL_H_TOTAL__SHIFT 0
static inline uint32_t DSI_CMD_MDP_STREAM_TOTAL_H_TOTAL(uint32_t val) static inline uint32_t DSI_CMD_MDP_STREAM0_TOTAL_H_TOTAL(uint32_t val)
{ {
return ((val) << DSI_CMD_MDP_STREAM_TOTAL_H_TOTAL__SHIFT) & DSI_CMD_MDP_STREAM_TOTAL_H_TOTAL__MASK; return ((val) << DSI_CMD_MDP_STREAM0_TOTAL_H_TOTAL__SHIFT) & DSI_CMD_MDP_STREAM0_TOTAL_H_TOTAL__MASK;
} }
#define DSI_CMD_MDP_STREAM_TOTAL_V_TOTAL__MASK 0x0fff0000 #define DSI_CMD_MDP_STREAM0_TOTAL_V_TOTAL__MASK 0x0fff0000
#define DSI_CMD_MDP_STREAM_TOTAL_V_TOTAL__SHIFT 16 #define DSI_CMD_MDP_STREAM0_TOTAL_V_TOTAL__SHIFT 16
static inline uint32_t DSI_CMD_MDP_STREAM_TOTAL_V_TOTAL(uint32_t val) static inline uint32_t DSI_CMD_MDP_STREAM0_TOTAL_V_TOTAL(uint32_t val)
{ {
return ((val) << DSI_CMD_MDP_STREAM_TOTAL_V_TOTAL__SHIFT) & DSI_CMD_MDP_STREAM_TOTAL_V_TOTAL__MASK; return ((val) << DSI_CMD_MDP_STREAM0_TOTAL_V_TOTAL__SHIFT) & DSI_CMD_MDP_STREAM0_TOTAL_V_TOTAL__MASK;
}
#define REG_DSI_CMD_MDP_STREAM1_CTRL 0x0000005c
#define DSI_CMD_MDP_STREAM1_CTRL_DATA_TYPE__MASK 0x0000003f
#define DSI_CMD_MDP_STREAM1_CTRL_DATA_TYPE__SHIFT 0
static inline uint32_t DSI_CMD_MDP_STREAM1_CTRL_DATA_TYPE(uint32_t val)
{
return ((val) << DSI_CMD_MDP_STREAM1_CTRL_DATA_TYPE__SHIFT) & DSI_CMD_MDP_STREAM1_CTRL_DATA_TYPE__MASK;
}
#define DSI_CMD_MDP_STREAM1_CTRL_VIRTUAL_CHANNEL__MASK 0x00000300
#define DSI_CMD_MDP_STREAM1_CTRL_VIRTUAL_CHANNEL__SHIFT 8
static inline uint32_t DSI_CMD_MDP_STREAM1_CTRL_VIRTUAL_CHANNEL(uint32_t val)
{
return ((val) << DSI_CMD_MDP_STREAM1_CTRL_VIRTUAL_CHANNEL__SHIFT) & DSI_CMD_MDP_STREAM1_CTRL_VIRTUAL_CHANNEL__MASK;
}
#define DSI_CMD_MDP_STREAM1_CTRL_WORD_COUNT__MASK 0xffff0000
#define DSI_CMD_MDP_STREAM1_CTRL_WORD_COUNT__SHIFT 16
static inline uint32_t DSI_CMD_MDP_STREAM1_CTRL_WORD_COUNT(uint32_t val)
{
return ((val) << DSI_CMD_MDP_STREAM1_CTRL_WORD_COUNT__SHIFT) & DSI_CMD_MDP_STREAM1_CTRL_WORD_COUNT__MASK;
}
#define REG_DSI_CMD_MDP_STREAM1_TOTAL 0x00000060
#define DSI_CMD_MDP_STREAM1_TOTAL_H_TOTAL__MASK 0x0000ffff
#define DSI_CMD_MDP_STREAM1_TOTAL_H_TOTAL__SHIFT 0
static inline uint32_t DSI_CMD_MDP_STREAM1_TOTAL_H_TOTAL(uint32_t val)
{
return ((val) << DSI_CMD_MDP_STREAM1_TOTAL_H_TOTAL__SHIFT) & DSI_CMD_MDP_STREAM1_TOTAL_H_TOTAL__MASK;
}
#define DSI_CMD_MDP_STREAM1_TOTAL_V_TOTAL__MASK 0xffff0000
#define DSI_CMD_MDP_STREAM1_TOTAL_V_TOTAL__SHIFT 16
static inline uint32_t DSI_CMD_MDP_STREAM1_TOTAL_V_TOTAL(uint32_t val)
{
return ((val) << DSI_CMD_MDP_STREAM1_TOTAL_V_TOTAL__SHIFT) & DSI_CMD_MDP_STREAM1_TOTAL_V_TOTAL__MASK;
} }
#define REG_DSI_ACK_ERR_STATUS 0x00000064 #define REG_DSI_ACK_ERR_STATUS 0x00000064
...@@ -389,6 +447,35 @@ static inline uint32_t DSI_TRIG_CTRL_STREAM(uint32_t val) ...@@ -389,6 +447,35 @@ static inline uint32_t DSI_TRIG_CTRL_STREAM(uint32_t val)
#define DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP0 0x00001000 #define DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP0 0x00001000
#define DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP1 0x00010000 #define DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP1 0x00010000
#define REG_DSI_LP_TIMER_CTRL 0x000000b4
#define DSI_LP_TIMER_CTRL_LP_RX_TO__MASK 0x0000ffff
#define DSI_LP_TIMER_CTRL_LP_RX_TO__SHIFT 0
static inline uint32_t DSI_LP_TIMER_CTRL_LP_RX_TO(uint32_t val)
{
return ((val) << DSI_LP_TIMER_CTRL_LP_RX_TO__SHIFT) & DSI_LP_TIMER_CTRL_LP_RX_TO__MASK;
}
#define DSI_LP_TIMER_CTRL_BTA_TO__MASK 0xffff0000
#define DSI_LP_TIMER_CTRL_BTA_TO__SHIFT 16
static inline uint32_t DSI_LP_TIMER_CTRL_BTA_TO(uint32_t val)
{
return ((val) << DSI_LP_TIMER_CTRL_BTA_TO__SHIFT) & DSI_LP_TIMER_CTRL_BTA_TO__MASK;
}
#define REG_DSI_HS_TIMER_CTRL 0x000000b8
#define DSI_HS_TIMER_CTRL_HS_TX_TO__MASK 0x0000ffff
#define DSI_HS_TIMER_CTRL_HS_TX_TO__SHIFT 0
static inline uint32_t DSI_HS_TIMER_CTRL_HS_TX_TO(uint32_t val)
{
return ((val) << DSI_HS_TIMER_CTRL_HS_TX_TO__SHIFT) & DSI_HS_TIMER_CTRL_HS_TX_TO__MASK;
}
#define DSI_HS_TIMER_CTRL_TIMER_RESOLUTION__MASK 0x000f0000
#define DSI_HS_TIMER_CTRL_TIMER_RESOLUTION__SHIFT 16
static inline uint32_t DSI_HS_TIMER_CTRL_TIMER_RESOLUTION(uint32_t val)
{
return ((val) << DSI_HS_TIMER_CTRL_TIMER_RESOLUTION__SHIFT) & DSI_HS_TIMER_CTRL_TIMER_RESOLUTION__MASK;
}
#define DSI_HS_TIMER_CTRL_HS_TX_TO_STOP_EN 0x10000000
#define REG_DSI_TIMEOUT_STATUS 0x000000bc #define REG_DSI_TIMEOUT_STATUS 0x000000bc
#define REG_DSI_CLKOUT_TIMING_CTRL 0x000000c0 #define REG_DSI_CLKOUT_TIMING_CTRL 0x000000c0
...@@ -409,6 +496,19 @@ static inline uint32_t DSI_CLKOUT_TIMING_CTRL_T_CLK_POST(uint32_t val) ...@@ -409,6 +496,19 @@ static inline uint32_t DSI_CLKOUT_TIMING_CTRL_T_CLK_POST(uint32_t val)
#define DSI_EOT_PACKET_CTRL_TX_EOT_APPEND 0x00000001 #define DSI_EOT_PACKET_CTRL_TX_EOT_APPEND 0x00000001
#define DSI_EOT_PACKET_CTRL_RX_EOT_IGNORE 0x00000010 #define DSI_EOT_PACKET_CTRL_RX_EOT_IGNORE 0x00000010
#define REG_DSI_LANE_STATUS 0x000000a4
#define DSI_LANE_STATUS_DLN0_STOPSTATE 0x00000001
#define DSI_LANE_STATUS_DLN1_STOPSTATE 0x00000002
#define DSI_LANE_STATUS_DLN2_STOPSTATE 0x00000004
#define DSI_LANE_STATUS_DLN3_STOPSTATE 0x00000008
#define DSI_LANE_STATUS_CLKLN_STOPSTATE 0x00000010
#define DSI_LANE_STATUS_DLN0_ULPS_ACTIVE_NOT 0x00000100
#define DSI_LANE_STATUS_DLN1_ULPS_ACTIVE_NOT 0x00000200
#define DSI_LANE_STATUS_DLN2_ULPS_ACTIVE_NOT 0x00000400
#define DSI_LANE_STATUS_DLN3_ULPS_ACTIVE_NOT 0x00000800
#define DSI_LANE_STATUS_CLKLN_ULPS_ACTIVE_NOT 0x00001000
#define DSI_LANE_STATUS_DLN0_DIRECTION 0x00010000
#define REG_DSI_LANE_CTRL 0x000000a8 #define REG_DSI_LANE_CTRL 0x000000a8
#define DSI_LANE_CTRL_CLKLN_HS_FORCE_REQUEST 0x10000000 #define DSI_LANE_CTRL_CLKLN_HS_FORCE_REQUEST 0x10000000
...@@ -436,6 +536,21 @@ static inline uint32_t DSI_LANE_SWAP_CTRL_DLN_SWAP_SEL(enum dsi_lane_swap val) ...@@ -436,6 +536,21 @@ static inline uint32_t DSI_LANE_SWAP_CTRL_DLN_SWAP_SEL(enum dsi_lane_swap val)
#define DSI_CLK_CTRL_FORCE_ON_DYN_AHBM_HCLK 0x00000200 #define DSI_CLK_CTRL_FORCE_ON_DYN_AHBM_HCLK 0x00000200
#define REG_DSI_CLK_STATUS 0x0000011c #define REG_DSI_CLK_STATUS 0x0000011c
#define DSI_CLK_STATUS_DSI_AON_AHBM_HCLK_ACTIVE 0x00000001
#define DSI_CLK_STATUS_DSI_DYN_AHBM_HCLK_ACTIVE 0x00000002
#define DSI_CLK_STATUS_DSI_AON_AHBS_HCLK_ACTIVE 0x00000004
#define DSI_CLK_STATUS_DSI_DYN_AHBS_HCLK_ACTIVE 0x00000008
#define DSI_CLK_STATUS_DSI_AON_DSICLK_ACTIVE 0x00000010
#define DSI_CLK_STATUS_DSI_DYN_DSICLK_ACTIVE 0x00000020
#define DSI_CLK_STATUS_DSI_AON_BYTECLK_ACTIVE 0x00000040
#define DSI_CLK_STATUS_DSI_DYN_BYTECLK_ACTIVE 0x00000080
#define DSI_CLK_STATUS_DSI_AON_ESCCLK_ACTIVE 0x00000100
#define DSI_CLK_STATUS_DSI_AON_PCLK_ACTIVE 0x00000200
#define DSI_CLK_STATUS_DSI_DYN_PCLK_ACTIVE 0x00000400
#define DSI_CLK_STATUS_DSI_DYN_CMD_PCLK_ACTIVE 0x00001000
#define DSI_CLK_STATUS_DSI_CMD_PCLK_ACTIVE 0x00002000
#define DSI_CLK_STATUS_DSI_VID_PCLK_ACTIVE 0x00004000
#define DSI_CLK_STATUS_DSI_CAM_BIST_PCLK_ACT 0x00008000
#define DSI_CLK_STATUS_PLL_UNLOCKED 0x00010000 #define DSI_CLK_STATUS_PLL_UNLOCKED 0x00010000
#define REG_DSI_PHY_RESET 0x00000128 #define REG_DSI_PHY_RESET 0x00000128
...@@ -444,6 +559,51 @@ static inline uint32_t DSI_LANE_SWAP_CTRL_DLN_SWAP_SEL(enum dsi_lane_swap val) ...@@ -444,6 +559,51 @@ static inline uint32_t DSI_LANE_SWAP_CTRL_DLN_SWAP_SEL(enum dsi_lane_swap val)
#define REG_DSI_T_CLK_PRE_EXTEND 0x0000017c #define REG_DSI_T_CLK_PRE_EXTEND 0x0000017c
#define DSI_T_CLK_PRE_EXTEND_INC_BY_2_BYTECLK 0x00000001 #define DSI_T_CLK_PRE_EXTEND_INC_BY_2_BYTECLK 0x00000001
#define REG_DSI_CMD_MODE_MDP_CTRL2 0x000001b4
#define DSI_CMD_MODE_MDP_CTRL2_DST_FORMAT2__MASK 0x0000000f
#define DSI_CMD_MODE_MDP_CTRL2_DST_FORMAT2__SHIFT 0
static inline uint32_t DSI_CMD_MODE_MDP_CTRL2_DST_FORMAT2(enum dsi_cmd_dst_format val)
{
return ((val) << DSI_CMD_MODE_MDP_CTRL2_DST_FORMAT2__SHIFT) & DSI_CMD_MODE_MDP_CTRL2_DST_FORMAT2__MASK;
}
#define DSI_CMD_MODE_MDP_CTRL2_R_SEL 0x00000010
#define DSI_CMD_MODE_MDP_CTRL2_G_SEL 0x00000020
#define DSI_CMD_MODE_MDP_CTRL2_B_SEL 0x00000040
#define DSI_CMD_MODE_MDP_CTRL2_BYTE_MSB_LSB_FLIP 0x00000080
#define DSI_CMD_MODE_MDP_CTRL2_RGB_SWAP__MASK 0x00000700
#define DSI_CMD_MODE_MDP_CTRL2_RGB_SWAP__SHIFT 8
static inline uint32_t DSI_CMD_MODE_MDP_CTRL2_RGB_SWAP(enum dsi_rgb_swap val)
{
return ((val) << DSI_CMD_MODE_MDP_CTRL2_RGB_SWAP__SHIFT) & DSI_CMD_MODE_MDP_CTRL2_RGB_SWAP__MASK;
}
#define DSI_CMD_MODE_MDP_CTRL2_INPUT_RGB_SWAP__MASK 0x00007000
#define DSI_CMD_MODE_MDP_CTRL2_INPUT_RGB_SWAP__SHIFT 12
static inline uint32_t DSI_CMD_MODE_MDP_CTRL2_INPUT_RGB_SWAP(enum dsi_rgb_swap val)
{
return ((val) << DSI_CMD_MODE_MDP_CTRL2_INPUT_RGB_SWAP__SHIFT) & DSI_CMD_MODE_MDP_CTRL2_INPUT_RGB_SWAP__MASK;
}
#define DSI_CMD_MODE_MDP_CTRL2_BURST_MODE 0x00010000
#define REG_DSI_CMD_MODE_MDP_STREAM2_CTRL 0x000001b8
#define DSI_CMD_MODE_MDP_STREAM2_CTRL_DATA_TYPE__MASK 0x0000003f
#define DSI_CMD_MODE_MDP_STREAM2_CTRL_DATA_TYPE__SHIFT 0
static inline uint32_t DSI_CMD_MODE_MDP_STREAM2_CTRL_DATA_TYPE(uint32_t val)
{
return ((val) << DSI_CMD_MODE_MDP_STREAM2_CTRL_DATA_TYPE__SHIFT) & DSI_CMD_MODE_MDP_STREAM2_CTRL_DATA_TYPE__MASK;
}
#define DSI_CMD_MODE_MDP_STREAM2_CTRL_VIRTUAL_CHANNEL__MASK 0x00000300
#define DSI_CMD_MODE_MDP_STREAM2_CTRL_VIRTUAL_CHANNEL__SHIFT 8
static inline uint32_t DSI_CMD_MODE_MDP_STREAM2_CTRL_VIRTUAL_CHANNEL(uint32_t val)
{
return ((val) << DSI_CMD_MODE_MDP_STREAM2_CTRL_VIRTUAL_CHANNEL__SHIFT) & DSI_CMD_MODE_MDP_STREAM2_CTRL_VIRTUAL_CHANNEL__MASK;
}
#define DSI_CMD_MODE_MDP_STREAM2_CTRL_WORD_COUNT__MASK 0xffff0000
#define DSI_CMD_MODE_MDP_STREAM2_CTRL_WORD_COUNT__SHIFT 16
static inline uint32_t DSI_CMD_MODE_MDP_STREAM2_CTRL_WORD_COUNT(uint32_t val)
{
return ((val) << DSI_CMD_MODE_MDP_STREAM2_CTRL_WORD_COUNT__SHIFT) & DSI_CMD_MODE_MDP_STREAM2_CTRL_WORD_COUNT__MASK;
}
#define REG_DSI_RDBK_DATA_CTRL 0x000001d0 #define REG_DSI_RDBK_DATA_CTRL 0x000001d0
#define DSI_RDBK_DATA_CTRL_COUNT__MASK 0x00ff0000 #define DSI_RDBK_DATA_CTRL_COUNT__MASK 0x00ff0000
#define DSI_RDBK_DATA_CTRL_COUNT__SHIFT 16 #define DSI_RDBK_DATA_CTRL_COUNT__SHIFT 16
......
...@@ -993,16 +993,16 @@ static void dsi_timing_setup(struct msm_dsi_host *msm_host, bool is_dual_dsi) ...@@ -993,16 +993,16 @@ static void dsi_timing_setup(struct msm_dsi_host *msm_host, bool is_dual_dsi)
/* image data and 1 byte write_memory_start cmd */ /* image data and 1 byte write_memory_start cmd */
wc = hdisplay * dsi_get_bpp(msm_host->format) / 8 + 1; wc = hdisplay * dsi_get_bpp(msm_host->format) / 8 + 1;
dsi_write(msm_host, REG_DSI_CMD_MDP_STREAM_CTRL, dsi_write(msm_host, REG_DSI_CMD_MDP_STREAM0_CTRL,
DSI_CMD_MDP_STREAM_CTRL_WORD_COUNT(wc) | DSI_CMD_MDP_STREAM0_CTRL_WORD_COUNT(wc) |
DSI_CMD_MDP_STREAM_CTRL_VIRTUAL_CHANNEL( DSI_CMD_MDP_STREAM0_CTRL_VIRTUAL_CHANNEL(
msm_host->channel) | msm_host->channel) |
DSI_CMD_MDP_STREAM_CTRL_DATA_TYPE( DSI_CMD_MDP_STREAM0_CTRL_DATA_TYPE(
MIPI_DSI_DCS_LONG_WRITE)); MIPI_DSI_DCS_LONG_WRITE));
dsi_write(msm_host, REG_DSI_CMD_MDP_STREAM_TOTAL, dsi_write(msm_host, REG_DSI_CMD_MDP_STREAM0_TOTAL,
DSI_CMD_MDP_STREAM_TOTAL_H_TOTAL(hdisplay) | DSI_CMD_MDP_STREAM0_TOTAL_H_TOTAL(hdisplay) |
DSI_CMD_MDP_STREAM_TOTAL_V_TOTAL(mode->vdisplay)); DSI_CMD_MDP_STREAM0_TOTAL_V_TOTAL(mode->vdisplay));
} }
} }
......
...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 37239 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 42301 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41799 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41874 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
......
...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 37239 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 42301 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41799 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41874 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
......
...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 37239 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 42301 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41799 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41874 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
......
...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 37239 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 42301 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41799 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41874 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
......
...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository ...@@ -8,19 +8,19 @@ This file was generated by the rules-ng-ng headergen tool in this git repository
git clone https://github.com/freedreno/envytools.git git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are: The rules-ng-ng source files this header was generated from are:
- /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/msm.xml ( 676 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/mdp/mdp5.xml ( 37411 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 37239 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/dsi.xml ( 42301 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41799 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml ( 41874 bytes, from 2020-07-23 21:58:14)
- /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2018-07-03 19:37:13) - /home/robclark/src/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2020-07-23 21:58:14)
Copyright (C) 2013-2018 by the following authors: Copyright (C) 2013-2020 by the following authors:
- Rob Clark <robdclark@gmail.com> (robclark) - Rob Clark <robdclark@gmail.com> (robclark)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment