Home
last modified time | relevance | path

Searched refs:kcache (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Deg_asm.c46 S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK2(cf->kcache[2].bank) | in eg_bytecode_cf_build()
47 S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK3(cf->kcache[3].bank) | in eg_bytecode_cf_build()
48 S_SQ_CF_ALU_WORD0_EXT_KCACHE_MODE2(cf->kcache[2].mode); in eg_bytecode_cf_build()
50 S_SQ_CF_ALU_WORD1_EXT_KCACHE_MODE3(cf->kcache[3].mode) | in eg_bytecode_cf_build()
51 S_SQ_CF_ALU_WORD1_EXT_KCACHE_ADDR2(cf->kcache[2].addr) | in eg_bytecode_cf_build()
52 S_SQ_CF_ALU_WORD1_EXT_KCACHE_ADDR3(cf->kcache[3].addr) | in eg_bytecode_cf_build()
57 S_SQ_CF_ALU_WORD0_KCACHE_MODE0(cf->kcache[0].mode) | in eg_bytecode_cf_build()
58 S_SQ_CF_ALU_WORD0_KCACHE_BANK0(cf->kcache[0].bank) | in eg_bytecode_cf_build()
59 S_SQ_CF_ALU_WORD0_KCACHE_BANK1(cf->kcache[1].bank); in eg_bytecode_cf_build()
61 S_SQ_CF_ALU_WORD1_KCACHE_MODE1(cf->kcache[1].mode) | in eg_bytecode_cf_build()
[all …]
Dr600_asm.c1204 struct r600_bytecode_kcache *kcache, in r600_bytecode_alloc_kcache_line() argument
1210 if (kcache[i].mode) { in r600_bytecode_alloc_kcache_line()
1213 if (kcache[i].bank < bank) in r600_bytecode_alloc_kcache_line()
1216 if ((kcache[i].bank == bank && kcache[i].addr > line+1) || in r600_bytecode_alloc_kcache_line()
1217 kcache[i].bank > bank) { in r600_bytecode_alloc_kcache_line()
1219 if (kcache[kcache_banks-1].mode) { in r600_bytecode_alloc_kcache_line()
1224 memmove(&kcache[i+1],&kcache[i], (kcache_banks-i-1)*sizeof(struct r600_bytecode_kcache)); in r600_bytecode_alloc_kcache_line()
1225 kcache[i].mode = V_SQ_CF_KCACHE_LOCK_1; in r600_bytecode_alloc_kcache_line()
1226 kcache[i].bank = bank; in r600_bytecode_alloc_kcache_line()
1227 kcache[i].addr = line; in r600_bytecode_alloc_kcache_line()
[all …]
Dr600_asm.h160 struct r600_bytecode_kcache kcache[4]; member