Home
last modified time | relevance | path

Searched refs:PIN_USER (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/i915/
Di915_gem_gtt.h53 #define PIN_USER BIT_ULL(11) /* I915_VMA_LOCAL_BIND */ macro
Di915_vma.c1446 BUILD_BUG_ON(PIN_USER != I915_VMA_LOCAL_BIND); in i915_vma_pin_ww()
1448 GEM_BUG_ON(!(flags & (PIN_USER | PIN_GLOBAL))); in i915_vma_pin_ww()
/linux-6.12.1/drivers/gpu/drm/i915/selftests/
Digt_spinner.c67 ret = i915_vma_pin_ww(*vma, ww, 0, 0, PIN_USER); in igt_spinner_pin_obj()
69 ret = i915_vma_pin(*vma, 0, 0, PIN_USER); in igt_spinner_pin_obj()
Di915_gem_gtt.c426 flags = PIN_OFFSET_FIXED | PIN_USER; in fill_hole()
646 flags = PIN_OFFSET_FIXED | PIN_USER; in walk_hole()
727 flags = PIN_OFFSET_FIXED | PIN_USER; in pot_hole()
800 flags = PIN_OFFSET_FIXED | PIN_USER; in drunk_hole()
906 unsigned long flags = PIN_OFFSET_FIXED | PIN_USER; in __shrink_hole()
1019 unsigned int flags = PIN_USER | PIN_OFFSET_FIXED; in shrink_boom()
1150 unsigned long flags = PIN_OFFSET_FIXED | PIN_USER; in misaligned_pin()
Di915_vma.c134 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_vmas()
Dintel_memory_region.c754 err = i915_vma_pin(vma, 0, 0, PIN_USER); in igt_gpu_write()
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c467 err = i915_vma_pin(vma, 0, 0, PIN_USER); in igt_mock_exhaust_device_supported_pages()
535 err = i915_vma_pin(vma, 0, 0, PIN_USER); in igt_mock_memory_region_huge_pages()
597 unsigned int flags = PIN_USER | PIN_OFFSET_FIXED; in igt_mock_ppgtt_misaligned_dma()
778 err = i915_vma_pin(vma, 0, BIT(21), PIN_USER); in igt_ppgtt_huge_fill()
951 unsigned int flags = PIN_USER; in igt_ppgtt_64K()
1151 unsigned int flags = PIN_USER | PIN_OFFSET_FIXED; in __igt_write_huge()
1614 const unsigned long flags = PIN_OFFSET_FIXED | PIN_USER; in igt_ppgtt_mixed()
1812 err = i915_vma_pin(vma, 0, 0, PIN_USER); in igt_tmpfs_fallback()
1840 unsigned int flags = PIN_USER; in igt_shrink_thp()
Digt_gem_utils.c100 err = i915_vma_pin(vma, 0, 0, PIN_USER); in igt_emit_store_dw()
Di915_gem_context.c455 err = i915_vma_pin(vma, 0, 0, PIN_HIGH | PIN_USER); in gpu_fill()
979 err = i915_vma_pin_ww(vma, &ww, 0, 0, PIN_USER); in emit_rpcs_query()
983 err = i915_vma_pin_ww(batch, &ww, 0, 0, PIN_USER); in emit_rpcs_query()
1552 err = i915_vma_pin(vma, 0, 0, PIN_USER | PIN_OFFSET_FIXED); in write_to_scratch()
1626 err = i915_vma_pin(vma, 0, 0, PIN_USER | PIN_OFFSET_FIXED); in read_from_scratch()
Di915_gem_client_blt.c461 err = i915_vma_pin(vma, 0, 0, PIN_USER | PIN_OFFSET_FIXED | addr); in pin_buffer()
489 err = i915_vma_pin(t->batch, 0, 0, PIN_USER | PIN_HIGH); in tiled_blit()
Di915_gem_migrate.c125 PIN_USER); in lmem_pages_migrate_one()
Di915_gem_dmabuf.c185 err = i915_vma_pin(vma, 0, 0, PIN_USER); in verify_access()
Di915_gem_mman.c559 err = i915_vma_pin_ww(vma, &ww, 0, 0, PIN_USER); in make_obj_busy()
1602 err = i915_vma_pin_ww(vma, &ww, 0, 0, PIN_USER); in __igt_mmap_gpu()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dselftest_engine_cs.c106 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_empty_batch()
247 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_nop_batch()
Dselftest_tlb.c60 err = i915_vma_pin(vma, 0, 0, PIN_USER); in pte_tlbinv()
69 err = i915_vma_pin(va, 0, 0, addr | PIN_OFFSET_FIXED | PIN_USER); in pte_tlbinv()
Dselftest_ring_submission.c26 err = i915_vma_pin(vma, 0, 0, PIN_USER | PIN_HIGH); in create_wally()
Dselftest_hangcheck.c147 err = i915_vma_pin(vma, 0, 0, PIN_USER); in hang_create_request()
153 err = i915_vma_pin(hws, 0, 0, PIN_USER); in hang_create_request()
1485 pin_flags = i915_vma_is_ggtt(arg.vma) ? PIN_GLOBAL : PIN_USER; in __igt_reset_evict_vma()
Dintel_gtt.c727 i915_vma_is_ggtt(vma) ? PIN_GLOBAL : PIN_USER); in __vm_create_scratch_for_read_pinned()
Dselftest_execlists.c2727 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_gang()
3067 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_gpr_user()
3166 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_gpr_client()
3503 err = i915_vma_pin(vma, 0, 0, PIN_USER); in smoke_submit()
Dgen8_ppgtt.c982 ret = i915_vma_pin(vma, 0, 0, PIN_USER | PIN_HIGH); in gen8_init_rsvd()
Dintel_ring_submission.c1257 err = i915_vma_pin_ww(vma, ww, 0, 0, PIN_USER | PIN_HIGH); in gen7_ctx_switch_bb_init()
Dselftest_workarounds.c394 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_batch()
Dselftest_rps.c88 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_spin_counter()
/linux-6.12.1/drivers/gpu/drm/i915/pxp/
Dintel_pxp_gsccs.c349 err = i915_vma_pin(*vma, 0, 0, PIN_USER); in gsccs_create_buffer()
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c451 pin_flags |= PIN_USER | PIN_NOEVICT | PIN_OFFSET_FIXED | PIN_VALIDATE; in eb_pin_vma()
469 PIN_USER | PIN_NOEVICT | PIN_VALIDATE); in eb_pin_vma()
773 int pin_flags = PIN_USER | PIN_VALIDATE; in eb_reserve()
2325 shadow = shadow_batch_pin(eb, pool->obj, eb->context->vm, PIN_USER); in eb_parse()

12