Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gem_gtt.h53 #define PIN_USER BIT_ULL(11) /* I915_VMA_LOCAL_BIND */ macro
H A Di915_vma.c1437 BUILD_BUG_ON(PIN_USER != I915_VMA_LOCAL_BIND); in i915_vma_pin_ww()
1439 GEM_BUG_ON(!(flags & (PIN_USER | PIN_GLOBAL))); in i915_vma_pin_ww()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A 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()
H A 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()
H A Di915_vma.c134 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_vmas()
H A Dintel_memory_region.c754 err = i915_vma_pin(vma, 0, 0, PIN_USER); in igt_gpu_write()
H A Di915_request.c990 err = i915_vma_pin(vma, 0, 0, PIN_USER); in empty_batch()
1136 err = i915_vma_pin(vma, 0, 0, PIN_USER); in recursive_batch()
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A 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()
H A Digt_gem_utils.c100 err = i915_vma_pin(vma, 0, 0, PIN_USER); in igt_emit_store_dw()
H A 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()
H A Di915_gem_client_blt.c470 err = i915_vma_pin(vma, 0, 0, PIN_USER | PIN_OFFSET_FIXED | addr); in pin_buffer()
498 err = i915_vma_pin(t->batch, 0, 0, PIN_USER | PIN_HIGH); in tiled_blit()
H A Di915_gem_migrate.c125 PIN_USER); in lmem_pages_migrate_one()
H A Di915_gem_dmabuf.c183 err = i915_vma_pin(vma, 0, 0, PIN_USER); in verify_access()
H A Di915_gem_mman.c559 err = i915_vma_pin_ww(vma, &ww, 0, 0, PIN_USER); in make_obj_busy()
1600 err = i915_vma_pin_ww(vma, &ww, 0, 0, PIN_USER); in __igt_mmap_gpu()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_engine_cs.c104 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_empty_batch()
244 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_nop_batch()
H A 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()
H A Dselftest_ring_submission.c26 err = i915_vma_pin(vma, 0, 0, PIN_USER | PIN_HIGH); in create_wally()
H A 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()
H A Dintel_gtt.c695 i915_vma_is_ggtt(vma) ? PIN_GLOBAL : PIN_USER); in __vm_create_scratch_for_read_pinned()
H A 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()
H A Dintel_ring_submission.c1255 err = i915_vma_pin_ww(vma, ww, 0, 0, PIN_USER | PIN_HIGH); in gen7_ctx_switch_bb_init()
H A Dselftest_workarounds.c394 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_batch()
H A Dselftest_rps.c88 err = i915_vma_pin(vma, 0, 0, PIN_USER); in create_spin_counter()
/openbmc/linux/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_gsccs.c348 err = i915_vma_pin(*vma, 0, 0, PIN_USER); in gsccs_create_buffer()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c450 pin_flags |= PIN_USER | PIN_NOEVICT | PIN_OFFSET_FIXED | PIN_VALIDATE; in eb_pin_vma()
468 PIN_USER | PIN_NOEVICT | PIN_VALIDATE); in eb_pin_vma()
772 int pin_flags = PIN_USER | PIN_VALIDATE; in eb_reserve()
2332 shadow = shadow_batch_pin(eb, pool->obj, eb->context->vm, PIN_USER); in eb_parse()

12