Searched refs:n_ptes (Results 1 – 2 of 2) sorted by relevance
358 u32 n_ptes = min_t(u32, 511, num_entries); in gen8_ggtt_bind_ptes() local372 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()[all …]
132 long n_ptes) in invalidate_tce_cache() argument140 while (n_ptes > 0) { in invalidate_tce_cache()142 n = min(n_ptes, 1l << 11); in invalidate_tce_cache()151 n_ptes -= n; in invalidate_tce_cache()