Searched refs:kcache_banks (Results 1 – 2 of 2) sorted by relevance
353 const int kcache_banks = s_max_kcache_banks; // TODO: handle pre-evergreen in try_reserve_kcache() local361 for (int i = 0; i < kcache_banks && !found; ++i) { in try_reserve_kcache()369 if (kcache[kcache_banks - 1].mode) in try_reserve_kcache()372 memmove(&kcache[i+1],&kcache[i], (kcache_banks-i-1)*sizeof(KCacheLine)); in try_reserve_kcache()
1014 int i, kcache_banks = bc->gfx_level >= EVERGREEN ? 4 : 2; in r600_bytecode_alloc_kcache_line() local1016 for (i = 0; i < kcache_banks; i++) { in r600_bytecode_alloc_kcache_line()1026 if (kcache[kcache_banks-1].mode) { in r600_bytecode_alloc_kcache_line()1031 memmove(&kcache[i+1],&kcache[i], (kcache_banks-i-1)*sizeof(struct r600_bytecode_kcache)); in r600_bytecode_alloc_kcache_line()