Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/gpu/drm/i915/
H A 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 …]
H A Di915_vma.c47 static inline void assert_vma_held_evict(const struct i915_vma *vma) in assert_vma_held_evict()
60 static struct i915_vma *i915_vma_alloc(void) in i915_vma_alloc()
65 static void i915_vma_free(struct i915_vma *vma) in i915_vma_free()
74 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
93 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
99 static inline struct i915_vma *active_to_vma(struct i915_active *ref) in active_to_vma()
101 return container_of(ref, typeof(struct i915_vma), active); in active_to_vma()
106 struct i915_vma *vma = active_to_vma(ref); in __i915_vma_active()
123 struct i915_vma *vma = active_to_vma(ref); in __i915_vma_retire()
136 static struct i915_vma *
[all …]
H A 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()
H A Di915_cmd_parser.h13 struct i915_vma;
19 struct i915_vma *batch,
22 struct i915_vma *shadow,
H A Di915_gem.h40 struct i915_vma;
55 struct i915_vma * __must_check
61 struct i915_vma * __must_check
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A 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()
H A 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()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb_pin.h12 struct i915_vma;
16 struct i915_vma *
23 void intel_unpin_fb_vma(struct i915_vma *vma, unsigned long flags);
H A Dintel_fb_pin.c19 static struct i915_vma *
30 struct i915_vma *vma; in intel_pin_fb_obj_dpt()
105 struct i915_vma *
117 struct i915_vma *vma; in intel_pin_and_fence_fb_obj()
230 void intel_unpin_fb_vma(struct i915_vma *vma, unsigned long flags) in intel_unpin_fb_vma()
243 struct i915_vma *vma; in intel_plane_pin_fb()
295 struct i915_vma *vma; in intel_plane_unpin_fb()
H A Dintel_dpt.h12 struct i915_vma;
17 struct i915_vma *intel_dpt_pin(struct i915_address_space *vm);
H A Dintel_plane_initial.c18 struct i915_vma **vma) in intel_reuse_initial_plane_obj()
46 static struct i915_vma *
52 struct i915_vma *vma; in initial_plane_vma()
170 struct i915_vma *vma; in intel_alloc_initial_plane_obj()
221 struct i915_vma *vma; in intel_find_initial_plane_obj()
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_gsc_uc.h12 struct i915_vma;
39 struct i915_vma *local; /* private memory for GSC usage */
53 struct i915_vma *vma;
H A Dintel_gsc_uc_heci_cmd_submit.h11 struct i915_vma;
73 struct i915_vma *heci_pkt_vma;
74 struct i915_vma *bb_vma;
H A Dintel_guc.h175 struct i915_vma *ads_vma;
195 struct i915_vma *lrc_desc_pool_v69;
372 struct i915_vma *vma) in intel_guc_ggtt_offset()
396 struct i915_vma *intel_guc_allocate_vma(struct intel_guc *guc, u32 size);
398 struct i915_vma **out_vma, void **out_vaddr);
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dgen7_renderclear.h10 struct i915_vma;
13 struct i915_vma * const vma);
H A 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 …]
H A Dintel_ring_types.h22 struct i915_vma;
26 struct i915_vma *vma;
H A Dselftest_engine_cs.c77 static struct i915_vma *create_empty_batch(struct intel_context *ce) in create_empty_batch()
80 struct i915_vma *vma; in create_empty_batch()
144 struct i915_vma *batch; in perf_mi_bb_start()
216 static struct i915_vma *create_nop_batch(struct intel_context *ce) in create_nop_batch()
219 struct i915_vma *vma; in create_nop_batch()
271 struct i915_vma *base, *nop; in perf_mi_noop()
H A Dintel_timeline_types.h17 struct i915_vma;
48 struct i915_vma *hwsp_ggtt;
H A Dintel_ggtt_fencing.h16 struct i915_vma;
25 struct i915_vma *vma;
H A 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()
H A Dintel_renderstate.h15 struct i915_vma;
38 struct i915_vma *vma;
H A Dselftest_ring_submission.c9 static struct i915_vma *create_wally(struct intel_engine_cs *engine) in create_wally()
12 struct i915_vma *vma; in create_wally()
207 struct i915_vma *bb; in __live_ctx_switch_wa()
263 struct i915_vma *saved_wa; in live_ctx_switch_wa()
/openbmc/linux/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_types.h42 struct i915_vma *pkt_vma; /* GSC FW cmd packet vma */
45 struct i915_vma *bb_vma; /* HECI_PKT batch buffer vma */
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A 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