Home
last modified time | relevance | path

Searched refs:drm_i915_gem_object (Results 1 – 25 of 121) sorted by relevance

12345

/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_object.h38 struct drm_i915_gem_object *obj; in i915_gem_object_size_2big()
54 struct drm_i915_gem_object *i915_gem_object_alloc(void);
55 void i915_gem_object_free(struct drm_i915_gem_object *obj);
57 void i915_gem_object_init(struct drm_i915_gem_object *obj,
61 struct drm_i915_gem_object *
64 struct drm_i915_gem_object *
67 struct drm_i915_gem_object *
74 void __i915_gem_object_release_shmem(struct drm_i915_gem_object *obj,
78 int i915_gem_object_pwrite_phys(struct drm_i915_gem_object *obj,
80 int i915_gem_object_pread_phys(struct drm_i915_gem_object *obj,
[all …]
Di915_gem_object_types.h19 struct drm_i915_gem_object;
54 int (*get_pages)(struct drm_i915_gem_object *obj);
55 void (*put_pages)(struct drm_i915_gem_object *obj,
57 void (*truncate)(struct drm_i915_gem_object *obj);
58 void (*writeback)(struct drm_i915_gem_object *obj);
60 int (*pread)(struct drm_i915_gem_object *obj,
62 int (*pwrite)(struct drm_i915_gem_object *obj,
64 u64 (*mmap_offset)(struct drm_i915_gem_object *obj);
66 int (*dmabuf_export)(struct drm_i915_gem_object *obj);
75 void (*adjust_lru)(struct drm_i915_gem_object *obj);
[all …]
Di915_gem_lmem.h12 struct drm_i915_gem_object;
18 i915_gem_object_lmem_io_map(struct drm_i915_gem_object *obj,
22 bool i915_gem_object_is_lmem(struct drm_i915_gem_object *obj);
24 bool __i915_gem_object_is_lmem(struct drm_i915_gem_object *obj);
26 struct drm_i915_gem_object *
31 struct drm_i915_gem_object *
Di915_gem_object.c40 struct drm_i915_gem_object *i915_gem_object_alloc(void) in i915_gem_object_alloc()
42 struct drm_i915_gem_object *obj; in i915_gem_object_alloc()
52 void i915_gem_object_free(struct drm_i915_gem_object *obj) in i915_gem_object_free()
57 void i915_gem_object_init(struct drm_i915_gem_object *obj, in i915_gem_object_init()
97 void i915_gem_object_set_cache_coherency(struct drm_i915_gem_object *obj, in i915_gem_object_set_cache_coherency()
116 struct drm_i915_gem_object *obj = to_intel_bo(gem); in i915_gem_close_object()
173 struct drm_i915_gem_object *obj = in __i915_gem_free_object_rcu()
184 static void __i915_gem_object_free_mmaps(struct drm_i915_gem_object *obj) in __i915_gem_object_free_mmaps()
207 void __i915_gem_free_object(struct drm_i915_gem_object *obj) in __i915_gem_free_object()
261 struct drm_i915_gem_object *obj, *on; in __i915_gem_free_objects()
[all …]
Di915_gem_pages.c13 void __i915_gem_object_set_pages(struct drm_i915_gem_object *obj, in __i915_gem_object_set_pages()
92 int ____i915_gem_object_get_pages(struct drm_i915_gem_object *obj) in ____i915_gem_object_get_pages()
118 int __i915_gem_object_get_pages(struct drm_i915_gem_object *obj) in __i915_gem_object_get_pages()
140 int i915_gem_object_pin_pages_unlocked(struct drm_i915_gem_object *obj) in i915_gem_object_pin_pages_unlocked()
161 void i915_gem_object_truncate(struct drm_i915_gem_object *obj) in i915_gem_object_truncate()
169 void i915_gem_object_writeback(struct drm_i915_gem_object *obj) in i915_gem_object_writeback()
178 static void __i915_gem_object_reset_page_iter(struct drm_i915_gem_object *obj) in __i915_gem_object_reset_page_iter()
191 static void unmap_object(struct drm_i915_gem_object *obj, void *ptr) in unmap_object()
198 __i915_gem_object_unset_pages(struct drm_i915_gem_object *obj) in __i915_gem_object_unset_pages()
224 int __i915_gem_object_put_pages(struct drm_i915_gem_object *obj) in __i915_gem_object_put_pages()
[all …]
Di915_gem_dmabuf.c17 static struct drm_i915_gem_object *dma_buf_to_obj(struct dma_buf *buf)
25 struct drm_i915_gem_object *obj = dma_buf_to_obj(attachment->dmabuf); in i915_gem_map_dma_buf()
74 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_dmabuf_vmap()
88 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_dmabuf_vunmap()
96 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_dmabuf_mmap()
116 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_begin_cpu_access()
141 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_end_cpu_access()
166 struct drm_i915_gem_object *obj = dma_buf_to_obj(dmabuf); in i915_gem_dmabuf_attach()
195 struct drm_i915_gem_object *obj = dma_buf_to_obj(dmabuf); in i915_gem_dmabuf_detach()
215 struct drm_i915_gem_object *obj = to_intel_bo(gem_obj); in i915_gem_prime_export()
[all …]
Di915_gem_ttm.c114 static void i915_ttm_adjust_lru(struct drm_i915_gem_object *obj);
117 i915_ttm_select_tt_caching(const struct drm_i915_gem_object *obj) in i915_ttm_select_tt_caching()
143 i915_ttm_placement_from_obj(const struct drm_i915_gem_object *obj, in i915_ttm_placement_from_obj()
175 struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo); in i915_ttm_tt_create()
225 struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo); in i915_ttm_eviction_valuable()
239 struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo); in i915_ttm_move_notify()
253 static void i915_ttm_free_cached_io_st(struct drm_i915_gem_object *obj) in i915_ttm_free_cached_io_st()
272 i915_ttm_adjust_domains_after_move(struct drm_i915_gem_object *obj) in i915_ttm_adjust_domains_after_move()
285 static void i915_ttm_adjust_gem_after_move(struct drm_i915_gem_object *obj) in i915_ttm_adjust_gem_after_move()
320 static void i915_ttm_purge(struct drm_i915_gem_object *obj) in i915_ttm_purge()
[all …]
Di915_gem_userptr.c63 struct drm_i915_gem_object *obj = container_of(mni, struct drm_i915_gem_object, userptr.notifier); in i915_gem_userptr_invalidate()
101 i915_gem_userptr_init__mmu_notifier(struct drm_i915_gem_object *obj) in i915_gem_userptr_init__mmu_notifier()
108 static void i915_gem_object_userptr_drop_ref(struct drm_i915_gem_object *obj) in i915_gem_object_userptr_drop_ref()
128 static int i915_gem_userptr_get_pages(struct drm_i915_gem_object *obj) in i915_gem_userptr_get_pages()
182 i915_gem_userptr_put_pages(struct drm_i915_gem_object *obj, in i915_gem_userptr_put_pages()
236 static int i915_gem_object_userptr_unbind(struct drm_i915_gem_object *obj) in i915_gem_object_userptr_unbind()
257 int i915_gem_object_userptr_submit_init(struct drm_i915_gem_object *obj) in i915_gem_object_userptr_submit_init()
335 int i915_gem_object_userptr_submit_done(struct drm_i915_gem_object *obj) in i915_gem_object_userptr_submit_done()
347 int i915_gem_object_userptr_validate(struct drm_i915_gem_object *obj) in i915_gem_object_userptr_validate()
373 i915_gem_userptr_release(struct drm_i915_gem_object *obj) in i915_gem_userptr_release()
[all …]
Di915_gem_domain.c19 static bool gpu_write_needs_clflush(struct drm_i915_gem_object *obj) in gpu_write_needs_clflush()
26 flush_write_domain(struct drm_i915_gem_object *obj, unsigned int flush_domains) in flush_write_domain()
64 static void __i915_gem_object_flush_for_display(struct drm_i915_gem_object *obj) in __i915_gem_object_flush_for_display()
76 void i915_gem_object_flush_if_display(struct drm_i915_gem_object *obj) in i915_gem_object_flush_if_display()
86 void i915_gem_object_flush_if_display_locked(struct drm_i915_gem_object *obj) in i915_gem_object_flush_if_display_locked()
101 i915_gem_object_set_to_wc_domain(struct drm_i915_gem_object *obj, bool write) in i915_gem_object_set_to_wc_domain()
162 i915_gem_object_set_to_gtt_domain(struct drm_i915_gem_object *obj, bool write) in i915_gem_object_set_to_gtt_domain()
237 int i915_gem_object_set_cache_level(struct drm_i915_gem_object *obj, in i915_gem_object_set_cache_level()
268 struct drm_i915_gem_object *obj; in i915_gem_get_caching_ioctl()
305 struct drm_i915_gem_object *obj; in i915_gem_set_caching_ioctl()
[all …]
Di915_gem_region.h12 struct drm_i915_gem_object;
15 void i915_gem_object_init_memory_region(struct drm_i915_gem_object *obj,
17 void i915_gem_object_release_memory_region(struct drm_i915_gem_object *obj);
19 struct drm_i915_gem_object *
Di915_gem_mman.h15 struct drm_i915_gem_object;
27 void __i915_gem_object_release_mmap_gtt(struct drm_i915_gem_object *obj);
28 void i915_gem_object_release_mmap_gtt(struct drm_i915_gem_object *obj);
30 void i915_gem_object_release_mmap_offset(struct drm_i915_gem_object *obj);
Di915_gem_ttm.h18 i915_gem_to_ttm(struct drm_i915_gem_object *obj) in i915_gem_to_ttm()
35 static inline struct drm_i915_gem_object *
41 return container_of(bo, struct drm_i915_gem_object, __do_not_access); in i915_ttm_to_gem()
45 struct drm_i915_gem_object *obj,
Di915_gem_lmem.c12 i915_gem_object_lmem_io_map(struct drm_i915_gem_object *obj, in i915_gem_object_lmem_io_map()
40 bool i915_gem_object_is_lmem(struct drm_i915_gem_object *obj) in i915_gem_object_is_lmem()
64 bool __i915_gem_object_is_lmem(struct drm_i915_gem_object *obj) in __i915_gem_object_is_lmem()
96 struct drm_i915_gem_object *
106 struct drm_i915_gem_object *
Di915_gem_stolen.h13 struct drm_i915_gem_object;
31 struct drm_i915_gem_object *
34 struct drm_i915_gem_object *
39 bool i915_gem_object_is_stolen(const struct drm_i915_gem_object *obj);
Di915_gem_shmem.c28 static int shmem_get_pages(struct drm_i915_gem_object *obj) in shmem_get_pages()
241 shmem_truncate(struct drm_i915_gem_object *obj) in shmem_truncate()
255 shmem_writeback(struct drm_i915_gem_object *obj) in shmem_writeback()
300 __i915_gem_object_release_shmem(struct drm_i915_gem_object *obj, in __i915_gem_object_release_shmem()
317 void i915_gem_object_put_pages_shmem(struct drm_i915_gem_object *obj, struct sg_table *pages) in i915_gem_object_put_pages_shmem()
353 shmem_put_pages(struct drm_i915_gem_object *obj, struct sg_table *pages) in shmem_put_pages()
362 shmem_pwrite(struct drm_i915_gem_object *obj, in shmem_pwrite()
455 shmem_pread(struct drm_i915_gem_object *obj, in shmem_pread()
464 static void shmem_release(struct drm_i915_gem_object *obj) in shmem_release()
509 struct drm_i915_gem_object *obj, in shmem_object_init()
[all …]
Di915_gem_region.c11 void i915_gem_object_init_memory_region(struct drm_i915_gem_object *obj, in i915_gem_object_init_memory_region()
21 void i915_gem_object_release_memory_region(struct drm_i915_gem_object *obj) in i915_gem_object_release_memory_region()
32 struct drm_i915_gem_object *
38 struct drm_i915_gem_object *obj; in i915_gem_object_create_region()
Di915_gem_clflush.c16 struct drm_i915_gem_object *obj;
19 static void __do_clflush(struct drm_i915_gem_object *obj) in __do_clflush()
48 static struct clflush *clflush_work_create(struct drm_i915_gem_object *obj) in clflush_work_create()
69 bool i915_gem_clflush_object(struct drm_i915_gem_object *obj, in i915_gem_clflush_object()
Di915_gem_mman.c62 struct drm_i915_gem_object *obj; in i915_gem_mmap_ioctl()
129 static unsigned int tile_row_pages(const struct drm_i915_gem_object *obj) in tile_row_pages()
194 compute_partial_view(const struct drm_i915_gem_object *obj, in compute_partial_view()
249 struct drm_i915_gem_object *obj = mmo->obj; in vm_fault_cpu()
293 struct drm_i915_gem_object *obj = mmo->obj; in vm_fault_gtt()
432 struct drm_i915_gem_object *obj = mmo->obj; in vm_access()
479 void __i915_gem_object_release_mmap_gtt(struct drm_i915_gem_object *obj) in __i915_gem_object_release_mmap_gtt()
499 void i915_gem_object_release_mmap_gtt(struct drm_i915_gem_object *obj) in i915_gem_object_release_mmap_gtt()
536 void i915_gem_object_release_mmap_offset(struct drm_i915_gem_object *obj) in i915_gem_object_release_mmap_offset()
559 lookup_mmo(struct drm_i915_gem_object *obj, in lookup_mmo()
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dintel_gtt.c15 struct drm_i915_gem_object *alloc_pt_lmem(struct i915_address_space *vm, int sz) in alloc_pt_lmem()
17 struct drm_i915_gem_object *obj; in alloc_pt_lmem()
45 struct drm_i915_gem_object *alloc_pt_dma(struct i915_address_space *vm, int sz) in alloc_pt_dma()
47 struct drm_i915_gem_object *obj; in alloc_pt_dma()
66 int map_pt_dma(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in map_pt_dma()
80 int map_pt_dma_locked(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in map_pt_dma_locked()
102 struct drm_i915_gem_object *obj = vma->obj; in __i915_vm_close()
236 void *__px_vaddr(struct drm_i915_gem_object *p) in __px_vaddr()
244 dma_addr_t __px_dma(struct drm_i915_gem_object *p) in __px_dma()
250 struct page *__px_page(struct drm_i915_gem_object *p) in __px_page()
[all …]
Dselftest_migrate.c20 static struct drm_i915_gem_object *
23 struct drm_i915_gem_object *obj; in create_lmem_or_internal()
35 struct drm_i915_gem_object *src, in copy()
36 struct drm_i915_gem_object *dst, in copy()
41 struct drm_i915_gem_object *src, *dst; in copy()
135 struct drm_i915_gem_object *obj, in clear()
141 struct drm_i915_gem_object *obj; in clear()
210 struct drm_i915_gem_object *src, in __migrate_copy()
211 struct drm_i915_gem_object *dst, in __migrate_copy()
224 struct drm_i915_gem_object *src, in __global_copy()
[all …]
Dintel_gtt.h143 struct drm_i915_gem_object;
152 struct drm_i915_gem_object *base;
173 __px_choose_expr(px, struct drm_i915_gem_object *, __x, \
178 struct page *__px_page(struct drm_i915_gem_object *p);
179 dma_addr_t __px_dma(struct drm_i915_gem_object *p);
182 void *__px_vaddr(struct drm_i915_gem_object *p);
244 struct drm_i915_gem_object *scratch[4];
263 struct drm_i915_gem_object *
546 fill_page_dma(struct drm_i915_gem_object *p, const u64 val, unsigned int count);
557 struct drm_i915_gem_object *alloc_pt_dma(struct i915_address_space *vm, int sz);
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/
Di915_debugfs.h10 struct drm_i915_gem_object;
16 void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj);
19 static inline void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) {} in i915_debugfs_describe_obj()
/Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.h16 struct drm_i915_gem_object *
22 huge_gem_object_phys_size(struct drm_i915_gem_object *obj) in huge_gem_object_phys_size()
28 huge_gem_object_dma_size(struct drm_i915_gem_object *obj) in huge_gem_object_dma_size()
Dhuge_pages.c59 static int get_huge_pages(struct drm_i915_gem_object *obj) in get_huge_pages()
132 static void put_huge_pages(struct drm_i915_gem_object *obj, in put_huge_pages()
148 static struct drm_i915_gem_object *
154 struct drm_i915_gem_object *obj; in huge_pages_object()
183 static int fake_get_huge_pages(struct drm_i915_gem_object *obj) in fake_get_huge_pages()
238 static int fake_get_huge_pages_single(struct drm_i915_gem_object *obj) in fake_get_huge_pages_single()
271 static void fake_free_huge_pages(struct drm_i915_gem_object *obj, in fake_free_huge_pages()
278 static void fake_put_huge_pages(struct drm_i915_gem_object *obj, in fake_put_huge_pages()
299 static struct drm_i915_gem_object *
303 struct drm_i915_gem_object *obj; in fake_huge_pages_object()
[all …]
Dhuge_gem_object.c11 static void huge_free_pages(struct drm_i915_gem_object *obj, in huge_free_pages()
28 static int huge_get_pages(struct drm_i915_gem_object *obj) in huge_get_pages()
81 static void huge_put_pages(struct drm_i915_gem_object *obj, in huge_put_pages()
96 struct drm_i915_gem_object *
102 struct drm_i915_gem_object *obj; in huge_gem_object()

12345