Home
last modified time | relevance | path

Searched refs:guessed_wptr (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v10.c253 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in kgd_hqd_load() local
255 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in kgd_hqd_load()
256 guessed_wptr += queue_size; in kgd_hqd_load()
257 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in kgd_hqd_load()
258 guessed_wptr += (uint64_t)m->cp_hqd_pq_wptr_hi << 32; in kgd_hqd_load()
261 lower_32_bits(guessed_wptr)); in kgd_hqd_load()
263 upper_32_bits(guessed_wptr)); in kgd_hqd_load()
Damdgpu_amdkfd_gfx_v11.c225 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in hqd_load_v11() local
227 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in hqd_load_v11()
228 guessed_wptr += queue_size; in hqd_load_v11()
229 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in hqd_load_v11()
230 guessed_wptr += (uint64_t)m->cp_hqd_pq_wptr_hi << 32; in hqd_load_v11()
233 lower_32_bits(guessed_wptr)); in hqd_load_v11()
235 upper_32_bits(guessed_wptr)); in hqd_load_v11()
Damdgpu_amdkfd_gfx_v9.c267 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in kgd_gfx_v9_hqd_load() local
269 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in kgd_gfx_v9_hqd_load()
270 guessed_wptr += queue_size; in kgd_gfx_v9_hqd_load()
271 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in kgd_gfx_v9_hqd_load()
272 guessed_wptr += (uint64_t)m->cp_hqd_pq_wptr_hi << 32; in kgd_gfx_v9_hqd_load()
275 lower_32_bits(guessed_wptr)); in kgd_gfx_v9_hqd_load()
277 upper_32_bits(guessed_wptr)); in kgd_gfx_v9_hqd_load()
Damdgpu_amdkfd_gfx_v10_3.c240 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in hqd_load_v10_3() local
242 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in hqd_load_v10_3()
243 guessed_wptr += queue_size; in hqd_load_v10_3()
244 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in hqd_load_v10_3()
245 guessed_wptr += (uint64_t)m->cp_hqd_pq_wptr_hi << 32; in hqd_load_v10_3()
248 lower_32_bits(guessed_wptr)); in hqd_load_v10_3()
250 upper_32_bits(guessed_wptr)); in hqd_load_v10_3()