Searched refs:guessed_wptr (Results 1 – 5 of 5) sorted by relevance
332 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in kgd_gfx_v9_4_3_hqd_load() local334 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in kgd_gfx_v9_4_3_hqd_load()335 guessed_wptr += queue_size; in kgd_gfx_v9_4_3_hqd_load()336 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in kgd_gfx_v9_4_3_hqd_load()337 guessed_wptr += (uint64_t)m->cp_hqd_pq_wptr_hi << 32; in kgd_gfx_v9_4_3_hqd_load()340 lower_32_bits(guessed_wptr)); in kgd_gfx_v9_4_3_hqd_load()342 upper_32_bits(guessed_wptr)); in kgd_gfx_v9_4_3_hqd_load()
242 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in hqd_load_v10_3() local244 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in hqd_load_v10_3()245 guessed_wptr += queue_size; in hqd_load_v10_3()246 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in hqd_load_v10_3()247 guessed_wptr += (uint64_t)m->cp_hqd_pq_wptr_hi << 32; in hqd_load_v10_3()250 lower_32_bits(guessed_wptr)); in hqd_load_v10_3()252 upper_32_bits(guessed_wptr)); in hqd_load_v10_3()
227 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in hqd_load_v11() local229 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in hqd_load_v11()230 guessed_wptr += queue_size; in hqd_load_v11()231 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in hqd_load_v11()232 guessed_wptr += (uint64_t)m->cp_hqd_pq_wptr_hi << 32; in hqd_load_v11()235 lower_32_bits(guessed_wptr)); in hqd_load_v11()237 upper_32_bits(guessed_wptr)); in hqd_load_v11()
256 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in kgd_hqd_load() local258 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in kgd_hqd_load()259 guessed_wptr += queue_size; in kgd_hqd_load()260 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in kgd_hqd_load()261 guessed_wptr += (uint64_t)m->cp_hqd_pq_wptr_hi << 32; in kgd_hqd_load()264 lower_32_bits(guessed_wptr)); in kgd_hqd_load()266 upper_32_bits(guessed_wptr)); in kgd_hqd_load()
271 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in kgd_gfx_v9_hqd_load() local273 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in kgd_gfx_v9_hqd_load()274 guessed_wptr += queue_size; in kgd_gfx_v9_hqd_load()275 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in kgd_gfx_v9_hqd_load()276 guessed_wptr += (uint64_t)m->cp_hqd_pq_wptr_hi << 32; in kgd_gfx_v9_hqd_load()279 lower_32_bits(guessed_wptr)); in kgd_gfx_v9_hqd_load()281 upper_32_bits(guessed_wptr)); in kgd_gfx_v9_hqd_load()