Lines Matching refs:sz
42 u32 sz, struct rnd_state *prng) in copy() argument
52 src = create_lmem_or_internal(i915, sz); in copy()
56 sz = src->base.size; in copy()
57 dst = i915_gem_object_create_internal(i915, sz); in copy()
76 for (i = 0; i < sz / sizeof(u32); i++) in copy()
86 for (i = 0; i < sz / sizeof(u32); i++) in copy()
95 pr_err("%ps failed, size: %u\n", fn, sz); in copy()
109 pr_err("%ps timed out, size: %u\n", fn, sz); in copy()
115 for (i = 0; !err && i < sz / PAGE_SIZE; i++) { in copy()
120 fn, sz, x * sizeof(u32)); in copy()
261 u32 sz, struct rnd_state *prng) in clear() argument
272 obj = create_lmem_or_internal(i915, sz); in clear()
277 sz = obj->base.size; in clear()
295 for (i = 0; i < sz / sizeof(u32); i++) in clear()
308 fn, sz); in clear()
321 pr_err("%ps timed out, size: %u\n", fn, sz); in clear()
333 for (i = 0; !err && i < sz / PAGE_SIZE; i++) { in clear()
348 for (i = 0; i < sz / sizeof(u32); i++) in clear()
359 fn, sz); in clear()
368 ccs_bytes = GET_CCS_BYTES(i915, sz); in clear()
397 pr_err("%ps failed, size: %u\n", fn, sz); in clear()
439 migrate_copy(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in migrate_copy() argument
441 return copy(migrate, __migrate_copy, sz, prng); in migrate_copy()
445 global_copy(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in global_copy() argument
447 return copy(migrate, __global_copy, sz, prng); in global_copy()
477 migrate_clear(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in migrate_clear() argument
479 return clear(migrate, __migrate_clear, sz, prng); in migrate_clear()
483 global_clear(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in global_clear() argument
485 return clear(migrate, __global_clear, sz, prng); in global_clear()
556 int len, sz, err; in live_emit_pte_full_ring() local
622 sz = (rq->ring->space - rq->reserved_space) / sizeof(u32) - in live_emit_pte_full_ring()
624 sz = min_t(u32, sz, (SZ_1K - rq->reserved_space) / sizeof(u32) - in live_emit_pte_full_ring()
626 cs = intel_ring_begin(rq, sz); in live_emit_pte_full_ring()
632 memset32(cs, MI_NOOP, sz); in live_emit_pte_full_ring()
633 cs += sz; in live_emit_pte_full_ring()
636 pr_info("%s emit=%u sz=%d\n", __func__, rq->ring->emit, sz); in live_emit_pte_full_ring()
813 create_init_lmem_internal(struct intel_gt *gt, size_t sz, bool try_lmem) in create_init_lmem_internal() argument
819 obj = i915_gem_object_create_lmem(gt->i915, sz, 0); in create_init_lmem_internal()
822 obj = i915_gem_object_create_internal(gt->i915, sz); in create_init_lmem_internal()
849 size_t sz) in __perf_clear_blt() argument
879 ce->engine->name, sz >> 10, in __perf_clear_blt()
880 div64_u64(mul_u32_u32(4 * sz, in __perf_clear_blt()
928 size_t sz) in __perf_copy_blt() argument
962 ce->engine->name, sz >> 10, in __perf_copy_blt()
963 div64_u64(mul_u32_u32(4 * sz, in __perf_copy_blt()
982 size_t sz; in perf_copy_blt() local
989 sz = src->base.size; in perf_copy_blt()
990 dst = create_init_lmem_internal(gt, sz, false); in perf_copy_blt()
1005 sz); in perf_copy_blt()