Searched refs:busy_index (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_gpu_load.c | 156 unsigned busy_index) in r600_read_mmio_counter() argument 168 unsigned busy = p_atomic_read(&rscreen->mmio_counters.array[busy_index]); in r600_read_mmio_counter() 169 unsigned idle = p_atomic_read(&rscreen->mmio_counters.array[busy_index + 1]); in r600_read_mmio_counter() 175 uint64_t begin, unsigned busy_index) in r600_end_mmio_counter() argument 177 uint64_t end = r600_read_mmio_counter(rscreen, busy_index); in r600_end_mmio_counter() 194 return counters.array[busy_index] ? 100 : 0; in r600_end_mmio_counter() 254 unsigned busy_index = busy_index_from_type(rscreen, type); in r600_begin_counter() local 255 return r600_read_mmio_counter(rscreen, busy_index); in r600_begin_counter() 261 unsigned busy_index = busy_index_from_type(rscreen, type); in r600_end_counter() local 262 return r600_end_mmio_counter(rscreen, begin, busy_index); in r600_end_counter()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_gpu_load.c | 173 unsigned busy_index) in r600_read_mmio_counter() argument 185 unsigned busy = p_atomic_read(&sscreen->mmio_counters.array[busy_index]); in r600_read_mmio_counter() 186 unsigned idle = p_atomic_read(&sscreen->mmio_counters.array[busy_index + 1]); in r600_read_mmio_counter() 192 uint64_t begin, unsigned busy_index) in r600_end_mmio_counter() argument 194 uint64_t end = r600_read_mmio_counter(sscreen, busy_index); in r600_end_mmio_counter() 211 return counters.array[busy_index] ? 100 : 0; in r600_end_mmio_counter() 271 unsigned busy_index = busy_index_from_type(sscreen, type); in si_begin_counter() local 272 return r600_read_mmio_counter(sscreen, busy_index); in si_begin_counter() 278 unsigned busy_index = busy_index_from_type(sscreen, type); in si_end_counter() local 279 return r600_end_mmio_counter(sscreen, begin, busy_index); in si_end_counter()
|