Lines Matching refs:n_ptes
358 u32 n_ptes = min_t(u32, 511, num_entries); in gen8_ggtt_bind_ptes() local
372 cs = intel_ring_begin(rq, 2 * n_ptes + 2); in gen8_ggtt_bind_ptes()
380 *cs++ = MI_UPDATE_GTT | (2 * n_ptes); in gen8_ggtt_bind_ptes()
385 if (count == n_ptes) in gen8_ggtt_bind_ptes()
392 if (count < n_ptes) { in gen8_ggtt_bind_ptes()
394 n_ptes - count); in gen8_ggtt_bind_ptes()
395 cs += (n_ptes - count) * 2; in gen8_ggtt_bind_ptes()
398 memset64((u64 *)cs, pte, n_ptes); in gen8_ggtt_bind_ptes()
399 cs += n_ptes * 2; in gen8_ggtt_bind_ptes()
416 num_entries -= n_ptes; in gen8_ggtt_bind_ptes()
417 offset += n_ptes; in gen8_ggtt_bind_ptes()