Searched refs:QPU_GET_FIELD (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_qpu.c | 36 assert(QPU_GET_FIELD(inst, QPU_RADDR_A) == QPU_R_NOP || in set_src_raddr() 37 QPU_GET_FIELD(inst, QPU_RADDR_A) == src.addr); in set_src_raddr() 42 assert((QPU_GET_FIELD(inst, QPU_RADDR_B) == QPU_R_NOP || in set_src_raddr() 43 QPU_GET_FIELD(inst, QPU_RADDR_B) == src.addr) && in set_src_raddr() 44 QPU_GET_FIELD(inst, QPU_SIG) != QPU_SIG_SMALL_IMM); in set_src_raddr() 49 if (QPU_GET_FIELD(inst, QPU_SIG) == QPU_SIG_SMALL_IMM) { in set_src_raddr() 50 assert(QPU_GET_FIELD(inst, QPU_RADDR_B) == src.addr); in set_src_raddr() 53 assert(QPU_GET_FIELD(inst, QPU_RADDR_B) == QPU_R_NOP); in set_src_raddr() 288 uint32_t waddr_add = QPU_GET_FIELD(inst, QPU_WADDR_ADD); in qpu_num_sf_accesses() 289 uint32_t waddr_mul = QPU_GET_FIELD(inst, QPU_WADDR_MUL); in qpu_num_sf_accesses() [all …]
|
D | vc4_qpu_validate.c | 39 return (QPU_GET_FIELD(inst, QPU_WADDR_ADD) == w || in writes_reg() 40 QPU_GET_FIELD(inst, QPU_WADDR_MUL) == w); in writes_reg() 49 { QPU_GET_FIELD(inst, QPU_ADD_A) }, in _reads_reg() 50 { QPU_GET_FIELD(inst, QPU_ADD_B) }, in _reads_reg() 51 { QPU_GET_FIELD(inst, QPU_MUL_A) }, in _reads_reg() 52 { QPU_GET_FIELD(inst, QPU_MUL_B) }, in _reads_reg() 58 if (QPU_GET_FIELD(inst, QPU_SIG) == QPU_SIG_BRANCH) in _reads_reg() 62 if (QPU_GET_FIELD(inst, QPU_SIG) == QPU_SIG_LOAD_IMM) in _reads_reg() 68 (QPU_GET_FIELD(inst, QPU_RADDR_A) == r)) in _reads_reg() 72 QPU_GET_FIELD(inst, QPU_SIG) != QPU_SIG_SMALL_IMM && in _reads_reg() [all …]
|
D | vc4_qpu_disasm.c | 300 QPU_GET_FIELD(inst, QPU_WADDR_MUL) : in print_alu_dst() 301 QPU_GET_FIELD(inst, QPU_WADDR_ADD)); in print_alu_dst() 303 uint32_t pack = QPU_GET_FIELD(inst, QPU_PACK); in print_alu_dst() 325 QPU_GET_FIELD(inst, QPU_RADDR_A) : in print_alu_src() 326 QPU_GET_FIELD(inst, QPU_RADDR_B)); in print_alu_src() 327 uint32_t unpack = QPU_GET_FIELD(inst, QPU_UNPACK); in print_alu_src() 328 bool has_si = QPU_GET_FIELD(inst, QPU_SIG) == QPU_SIG_SMALL_IMM; in print_alu_src() 329 uint32_t si = QPU_GET_FIELD(inst, QPU_SMALL_IMM); in print_alu_src() 364 uint32_t op_add = QPU_GET_FIELD(inst, QPU_OP_ADD); in print_add_op() 365 uint32_t cond = QPU_GET_FIELD(inst, QPU_COND_ADD); in print_add_op() [all …]
|
D | vc4_qpu_schedule.c | 161 uint32_t sig = QPU_GET_FIELD(inst, QPU_SIG); in qpu_writes_r4() 232 if (QPU_GET_FIELD(inst, QPU_SIG) == QPU_SIG_LOAD_IMM) in reads_uniform() 235 return (QPU_GET_FIELD(inst, QPU_RADDR_A) == QPU_R_UNIF || in reads_uniform() 236 (QPU_GET_FIELD(inst, QPU_RADDR_B) == QPU_R_UNIF && in reads_uniform() 237 QPU_GET_FIELD(inst, QPU_SIG) != QPU_SIG_SMALL_IMM) || in reads_uniform() 238 is_tmu_write(QPU_GET_FIELD(inst, QPU_WADDR_ADD)) || in reads_uniform() 239 is_tmu_write(QPU_GET_FIELD(inst, QPU_WADDR_MUL))); in reads_uniform() 352 uint32_t add_op = QPU_GET_FIELD(inst, QPU_OP_ADD); in calculate_deps() 353 uint32_t mul_op = QPU_GET_FIELD(inst, QPU_OP_MUL); in calculate_deps() 354 uint32_t waddr_add = QPU_GET_FIELD(inst, QPU_WADDR_ADD); in calculate_deps() [all …]
|
D | vc4_qpu_emit.c | 209 uint32_t unpack = QPU_GET_FIELD(*last_inst(block), QPU_UNPACK); in set_last_dst_pack() 614 assert(QPU_GET_FIELD(*c->last_thrsw, QPU_SIG) == in vc4_generate_code() 625 if (QPU_GET_FIELD(c->qpu_insts[c->qpu_inst_count - 1], in vc4_generate_code() 627 QPU_GET_FIELD(c->qpu_insts[c->qpu_inst_count - 1], in vc4_generate_code() 629 QPU_GET_FIELD(c->qpu_insts[c->qpu_inst_count - 1], in vc4_generate_code() 631 QPU_GET_FIELD(c->qpu_insts[c->qpu_inst_count - 1], in vc4_generate_code() 637 if (QPU_GET_FIELD(c->qpu_insts[c->qpu_inst_count - 1], in vc4_generate_code() 639 QPU_GET_FIELD(c->qpu_insts[c->qpu_inst_count - 1], in vc4_generate_code() 651 if (QPU_GET_FIELD(c->qpu_insts[c->qpu_inst_count - 1], in vc4_generate_code()
|
D | vc4_qpu_defines.h | 238 #define QPU_GET_FIELD(word, field) ((uint32_t)(((word) & field ## _MASK) >> field ## _SHIFT)) macro
|
/external/mesa3d/src/gallium/drivers/vc4/kernel/ |
D | vc4_validate_shaders.c | 115 uint32_t sig = QPU_GET_FIELD(inst, QPU_SIG); in raddr_add_a_to_live_reg_index() 116 uint32_t add_a = QPU_GET_FIELD(inst, QPU_ADD_A); in raddr_add_a_to_live_reg_index() 117 uint32_t raddr_a = QPU_GET_FIELD(inst, QPU_RADDR_A); in raddr_add_a_to_live_reg_index() 118 uint32_t raddr_b = QPU_GET_FIELD(inst, QPU_RADDR_B); in raddr_add_a_to_live_reg_index() 185 QPU_GET_FIELD(inst, QPU_WADDR_MUL) : in check_tmu_write() 186 QPU_GET_FIELD(inst, QPU_WADDR_ADD)); in check_tmu_write() 187 uint32_t raddr_a = QPU_GET_FIELD(inst, QPU_RADDR_A); in check_tmu_write() 188 uint32_t raddr_b = QPU_GET_FIELD(inst, QPU_RADDR_B); in check_tmu_write() 192 uint32_t sig = QPU_GET_FIELD(inst, QPU_SIG); in check_tmu_write() 195 uint32_t add_b = QPU_GET_FIELD(inst, QPU_ADD_B); in check_tmu_write() [all …]
|
/external/libdrm/vc4/ |
D | vc4_qpu_defines.h | 218 #define QPU_GET_FIELD(word, field) ((uint32_t)(((word) & field ## _MASK) >> field ## _SHIFT)) macro
|