Home
last modified time | relevance | path

Searched refs:i915_vma (Results 1 – 25 of 114) sorted by relevance

12345

/linux-6.12.1/drivers/gpu/drm/i915/
Di915_vma.h43 struct i915_vma *
48 void i915_vma_unpin_and_release(struct i915_vma **p_vma, unsigned int flags);
51 static inline bool i915_vma_is_active(const struct i915_vma *vma) in i915_vma_is_active()
60 int __must_check _i915_vma_move_to_active(struct i915_vma *vma,
65 i915_vma_move_to_active(struct i915_vma *vma, struct i915_request *rq, in i915_vma_move_to_active()
73 static inline bool i915_vma_is_ggtt(const struct i915_vma *vma) in i915_vma_is_ggtt()
78 static inline bool i915_vma_is_dpt(const struct i915_vma *vma) in i915_vma_is_dpt()
83 static inline bool i915_vma_has_ggtt_write(const struct i915_vma *vma) in i915_vma_has_ggtt_write()
88 static inline void i915_vma_set_ggtt_write(struct i915_vma *vma) in i915_vma_set_ggtt_write()
94 static inline bool i915_vma_unset_ggtt_write(struct i915_vma *vma) in i915_vma_unset_ggtt_write()
[all …]
Di915_vma.c48 static inline void assert_vma_held_evict(const struct i915_vma *vma) in assert_vma_held_evict()
61 static struct i915_vma *i915_vma_alloc(void) in i915_vma_alloc()
66 static void i915_vma_free(struct i915_vma *vma) in i915_vma_free()
75 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
94 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
100 static inline struct i915_vma *active_to_vma(struct i915_active *ref) in active_to_vma()
102 return container_of(ref, typeof(struct i915_vma), active); in active_to_vma()
107 struct i915_vma *vma = active_to_vma(ref); in __i915_vma_active()
132 struct i915_vma *vma = active_to_vma(ref); in __i915_vma_retire()
145 static struct i915_vma *
[all …]
Di915_gem_evict.c41 static bool dying_vma(struct i915_vma *vma)
67 static bool grab_vma(struct i915_vma *vma, struct i915_gem_ww_ctx *ww) in grab_vma()
86 static void ungrab_vma(struct i915_vma *vma) in ungrab_vma()
98 struct i915_vma *vma, in mark_free()
112 static bool defer_evict(struct i915_vma *vma) in defer_evict()
157 struct i915_vma *vma, *next; in i915_gem_evict_something()
160 struct i915_vma *active; in i915_gem_evict_something()
301 vma = container_of(node, struct i915_vma, node); in i915_gem_evict_something()
337 struct i915_vma *vma, *next; in i915_gem_evict_for_node()
478 struct i915_vma *vma, *vn; in i915_gem_evict_vm()
Di915_cmd_parser.h13 struct i915_vma;
19 struct i915_vma *batch,
22 struct i915_vma *shadow,
Di915_gem.h40 struct i915_vma;
55 struct i915_vma * __must_check
61 struct i915_vma * __must_check
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/
Digt_gem_utils.h16 struct i915_vma;
24 struct i915_vma *
25 igt_emit_store_dw(struct i915_vma *vma,
31 struct i915_vma *vma, u64 offset,
35 igt_vma_move_to_active_unlocked(struct i915_vma *vma, struct i915_request *rq, in igt_vma_move_to_active_unlocked()
Digt_gem_utils.c41 struct i915_vma *
42 igt_emit_store_dw(struct i915_vma *vma, in igt_emit_store_dw()
112 struct i915_vma *vma, u64 offset, in igt_gpu_fill_dw()
116 struct i915_vma *batch; in igt_gpu_fill_dw()
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_fb_pin.h12 struct i915_vma;
16 struct i915_vma *
24 void intel_fb_unpin_vma(struct i915_vma *vma, unsigned long flags);
Dintel_dpt.h14 struct i915_vma;
18 struct i915_vma *intel_dpt_pin_to_ggtt(struct i915_address_space *vm,
25 u64 intel_dpt_offset(struct i915_vma *dpt_vma);
Dintel_fb_pin.c20 static struct i915_vma *
31 struct i915_vma *vma; in intel_fb_pin_to_dpt()
104 struct i915_vma *
117 struct i915_vma *vma; in intel_fb_pin_to_ggtt()
225 void intel_fb_unpin_vma(struct i915_vma *vma, unsigned long flags) in intel_fb_unpin_vma()
258 struct i915_vma *vma; in intel_plane_pin_fb()
310 struct i915_vma *vma; in intel_plane_unpin_fb()
Dintel_fbdev_fb.h14 struct i915_vma;
19 struct drm_i915_gem_object *obj, struct i915_vma *vma);
Dintel_dsb_buffer.h12 struct i915_vma;
16 struct i915_vma *vma;
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_gsc_uc.h12 struct i915_vma;
39 struct i915_vma *local; /* private memory for GSC usage */
53 struct i915_vma *vma;
Dintel_gsc_uc_heci_cmd_submit.h11 struct i915_vma;
79 struct i915_vma *heci_pkt_vma;
80 struct i915_vma *bb_vma;
/linux-6.12.1/drivers/gpu/drm/xe/display/
Dxe_fb_pin.c82 struct i915_vma *vma) in __xe_pin_fb_vma_dpt()
186 struct i915_vma *vma) in __xe_pin_fb_vma_ggtt()
266 static struct i915_vma *__xe_pin_fb_vma(const struct intel_framebuffer *fb, in __xe_pin_fb_vma()
271 struct i915_vma *vma = kzalloc(sizeof(*vma), GFP_KERNEL); in __xe_pin_fb_vma()
334 static void __xe_unpin_fb_vma(struct i915_vma *vma) in __xe_unpin_fb_vma()
348 struct i915_vma *
361 void intel_fb_unpin_vma(struct i915_vma *vma, unsigned long flags) in intel_fb_unpin_vma()
370 struct i915_vma *vma; in intel_plane_pin_fb()
403 u64 intel_dpt_offset(struct i915_vma *dpt_vma) in intel_dpt_offset()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dgen7_renderclear.h10 struct i915_vma;
13 struct i915_vma * const vma);
Dintel_ring_types.h22 struct i915_vma;
26 struct i915_vma *vma;
Dintel_timeline_types.h17 struct i915_vma;
48 struct i915_vma *hwsp_ggtt;
Dselftest_engine_cs.c79 static struct i915_vma *create_empty_batch(struct intel_context *ce) in create_empty_batch()
82 struct i915_vma *vma; in create_empty_batch()
147 struct i915_vma *batch; in perf_mi_bb_start()
219 static struct i915_vma *create_nop_batch(struct intel_context *ce) in create_nop_batch()
222 struct i915_vma *vma; in create_nop_batch()
275 struct i915_vma *base, *nop; in perf_mi_noop()
Dselftest_lrc.c33 static struct i915_vma *create_scratch(struct intel_gt *gt) in create_scratch()
403 struct i915_vma *scratch) in __live_lrc_state()
506 struct i915_vma *scratch; in live_lrc_state()
564 __gpr_read(struct intel_context *ce, struct i915_vma *scratch, u32 *slot) in __gpr_read()
615 struct i915_vma *scratch, in __live_lrc_gpr()
700 struct i915_vma *scratch; in live_lrc_gpr()
924 static struct i915_vma *
928 struct i915_vma *vma; in create_user_vma()
963 static struct i915_vma *
964 store_context(struct intel_context *ce, struct i915_vma *scratch) in store_context()
[all …]
Dintel_ggtt_fencing.h16 struct i915_vma;
25 struct i915_vma *vma;
Dintel_ring.c37 struct i915_vma *vma = ring->vma; in intel_ring_pin()
96 struct i915_vma *vma = ring->vma; in intel_ring_unpin()
111 static struct i915_vma *create_ring_vma(struct i915_ggtt *ggtt, int size) in create_ring_vma()
116 struct i915_vma *vma; in create_ring_vma()
150 struct i915_vma *vma; in intel_engine_create_ring()
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/
Di915_vma.h21 struct i915_vma { struct
30 static inline u32 i915_ggtt_offset(const struct i915_vma *vma) in i915_ggtt_offset() argument
/linux-6.12.1/drivers/gpu/drm/i915/pxp/
Dintel_pxp_types.h51 struct i915_vma *pkt_vma; /* GSC FW cmd packet vma */
54 struct i915_vma *bb_vma; /* HECI_PKT batch buffer vma */
/linux-6.12.1/drivers/gpu/drm/i915/selftests/
Di915_vma.c37 static bool assert_vma(struct i915_vma *vma, in assert_vma()
63 static struct i915_vma *
68 struct i915_vma *vma; in checked_vma_instance()
119 struct i915_vma *vma; in create_vmas()
221 bool (*assert)(const struct i915_vma *,
227 static bool assert_pin_valid(const struct i915_vma *vma, in assert_pin_valid()
241 static bool assert_pin_enospc(const struct i915_vma *vma, in assert_pin_enospc()
249 static bool assert_pin_einval(const struct i915_vma *vma, in assert_pin_einval()
312 struct i915_vma *vma; in igt_vma_pin1()
616 struct i915_vma *vma; in igt_vma_rotate_remap()
[all …]

12345