Home
last modified time | relevance | path

Searched refs:__i915_vma_flags (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_vma.h61 #define __i915_vma_flags(v) ((unsigned long *)&(v)->flags.counter) macro
65 return test_bit(I915_VMA_GGTT_BIT, __i915_vma_flags(vma)); in i915_vma_is_ggtt()
70 return test_bit(I915_VMA_GGTT_WRITE_BIT, __i915_vma_flags(vma)); in i915_vma_has_ggtt_write()
76 set_bit(I915_VMA_GGTT_WRITE_BIT, __i915_vma_flags(vma)); in i915_vma_set_ggtt_write()
82 __i915_vma_flags(vma)); in i915_vma_unset_ggtt_write()
89 return test_bit(I915_VMA_CAN_FENCE_BIT, __i915_vma_flags(vma)); in i915_vma_is_map_and_fenceable()
95 return test_and_set_bit(I915_VMA_USERFAULT_BIT, __i915_vma_flags(vma)); in i915_vma_set_userfault()
100 return clear_bit(I915_VMA_USERFAULT_BIT, __i915_vma_flags(vma)); in i915_vma_unset_userfault()
105 return test_bit(I915_VMA_USERFAULT_BIT, __i915_vma_flags(vma)); in i915_vma_has_userfault()
Di915_vma.c182 __set_bit(I915_VMA_GGTT_BIT, __i915_vma_flags(vma)); in vma_create()
537 if (test_bit(I915_VMA_ERROR_BIT, __i915_vma_flags(vma))) in i915_vma_misplaced()
574 set_bit(I915_VMA_CAN_FENCE_BIT, __i915_vma_flags(vma)); in __i915_vma_set_map_and_fenceable()
576 clear_bit(I915_VMA_CAN_FENCE_BIT, __i915_vma_flags(vma)); in __i915_vma_set_map_and_fenceable()
1289 clear_bit(I915_VMA_CAN_FENCE_BIT, __i915_vma_flags(vma)); in __i915_vma_evict()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_ppgtt.c186 if (!test_bit(I915_VMA_ALLOC_BIT, __i915_vma_flags(vma))) { in ppgtt_bind_vma()
188 set_bit(I915_VMA_ALLOC_BIT, __i915_vma_flags(vma)); in ppgtt_bind_vma()
202 if (test_and_clear_bit(I915_VMA_ALLOC_BIT, __i915_vma_flags(vma))) in ppgtt_unbind_vma()
Dmock_engine.c67 __set_bit(I915_VMA_GGTT_BIT, __i915_vma_flags(ring->vma)); in mock_ring()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Dmock_gtt.c48 set_bit(I915_VMA_LOCAL_BIND_BIT, __i915_vma_flags(vma)); in mock_bind_ppgtt()