/Linux-v5.4/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.h | 22 struct drm_i915_gem_object *i915_gem_object_alloc(void); 23 void i915_gem_object_free(struct drm_i915_gem_object *obj); 25 void i915_gem_object_init(struct drm_i915_gem_object *obj, 27 struct drm_i915_gem_object * 29 struct drm_i915_gem_object * 34 void __i915_gem_object_release_shmem(struct drm_i915_gem_object *obj, 38 int i915_gem_object_attach_phys(struct drm_i915_gem_object *obj, int align); 46 __i915_gem_object_unset_pages(struct drm_i915_gem_object *obj); 47 void i915_gem_object_truncate(struct drm_i915_gem_object *obj); 60 static inline struct drm_i915_gem_object * [all …]
|
D | i915_gem_object_types.h | 15 struct drm_i915_gem_object; 51 int (*get_pages)(struct drm_i915_gem_object *obj); 52 void (*put_pages)(struct drm_i915_gem_object *obj, 54 void (*truncate)(struct drm_i915_gem_object *obj); 55 void (*writeback)(struct drm_i915_gem_object *obj); 57 int (*pwrite)(struct drm_i915_gem_object *obj, 60 int (*dmabuf_export)(struct drm_i915_gem_object *obj); 61 void (*release)(struct drm_i915_gem_object *obj); 64 struct drm_i915_gem_object { struct 248 static inline struct drm_i915_gem_object * argument [all …]
|
D | i915_gem_dmabuf.c | 15 static struct drm_i915_gem_object *dma_buf_to_obj(struct dma_buf *buf) in dma_buf_to_obj() 23 struct drm_i915_gem_object *obj = dma_buf_to_obj(attachment->dmabuf); in i915_gem_map_dma_buf() 72 struct drm_i915_gem_object *obj = dma_buf_to_obj(attachment->dmabuf); in i915_gem_unmap_dma_buf() 83 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_dmabuf_vmap() 90 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_dmabuf_vunmap() 98 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_dmabuf_kmap() 124 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_dmabuf_kunmap() 132 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_dmabuf_mmap() 153 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_begin_cpu_access() 175 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_end_cpu_access() [all …]
|
D | i915_gem_pages.c | 11 void __i915_gem_object_set_pages(struct drm_i915_gem_object *obj, in __i915_gem_object_set_pages() 78 int ____i915_gem_object_get_pages(struct drm_i915_gem_object *obj) in ____i915_gem_object_get_pages() 100 int __i915_gem_object_get_pages(struct drm_i915_gem_object *obj) in __i915_gem_object_get_pages() 125 void i915_gem_object_truncate(struct drm_i915_gem_object *obj) in i915_gem_object_truncate() 133 void i915_gem_object_writeback(struct drm_i915_gem_object *obj) in i915_gem_object_writeback() 142 static void __i915_gem_object_reset_page_iter(struct drm_i915_gem_object *obj) in __i915_gem_object_reset_page_iter() 154 __i915_gem_object_unset_pages(struct drm_i915_gem_object *obj) in __i915_gem_object_unset_pages() 182 int __i915_gem_object_put_pages(struct drm_i915_gem_object *obj, in __i915_gem_object_put_pages() 227 static void *i915_gem_object_map(const struct drm_i915_gem_object *obj, in i915_gem_object_map() 277 void *i915_gem_object_pin_map(struct drm_i915_gem_object *obj, in i915_gem_object_pin_map() [all …]
|
D | i915_gem_object.c | 39 struct drm_i915_gem_object *i915_gem_object_alloc(void) in i915_gem_object_alloc() 44 void i915_gem_object_free(struct drm_i915_gem_object *obj) in i915_gem_object_free() 49 void i915_gem_object_init(struct drm_i915_gem_object *obj, in i915_gem_object_init() 75 void i915_gem_object_set_cache_coherency(struct drm_i915_gem_object *obj, in i915_gem_object_set_cache_coherency() 94 struct drm_i915_gem_object *obj = to_intel_bo(gem); in i915_gem_close_object() 139 struct drm_i915_gem_object *obj = in __i915_gem_free_object_rcu() 153 struct drm_i915_gem_object *obj, *on; in __i915_gem_free_objects() 215 struct drm_i915_gem_object *obj = to_intel_bo(gem_obj); in i915_gem_free_object() 251 static bool gpu_write_needs_clflush(struct drm_i915_gem_object *obj) in gpu_write_needs_clflush() 258 i915_gem_object_flush_write_domain(struct drm_i915_gem_object *obj, in i915_gem_object_flush_write_domain() [all …]
|
D | i915_gem_object_blt.h | 16 struct drm_i915_gem_object; 29 int i915_gem_object_fill_blt(struct drm_i915_gem_object *obj, 33 int i915_gem_object_copy_blt(struct drm_i915_gem_object *src, 34 struct drm_i915_gem_object *dst,
|
D | i915_gem_userptr.c | 42 struct drm_i915_gem_object *obj; 62 __i915_gem_userptr_set_active(struct drm_i915_gem_object *obj, bool value) in __i915_gem_userptr_set_active() 108 struct drm_i915_gem_object *obj; in userptr_mn_invalidate_range_start() 201 i915_gem_userptr_release__mmu_notifier(struct drm_i915_gem_object *obj) in i915_gem_userptr_release__mmu_notifier() 255 i915_gem_userptr_init__mmu_notifier(struct drm_i915_gem_object *obj, in i915_gem_userptr_init__mmu_notifier() 299 __i915_gem_userptr_set_active(struct drm_i915_gem_object *obj, bool value) in __i915_gem_userptr_set_active() 304 i915_gem_userptr_release__mmu_notifier(struct drm_i915_gem_object *obj) in i915_gem_userptr_release__mmu_notifier() 309 i915_gem_userptr_init__mmu_notifier(struct drm_i915_gem_object *obj, in i915_gem_userptr_init__mmu_notifier() 343 i915_gem_userptr_init__mm_struct(struct drm_i915_gem_object *obj) in i915_gem_userptr_init__mm_struct() 411 i915_gem_userptr_release__mm_struct(struct drm_i915_gem_object *obj) in i915_gem_userptr_release__mm_struct() [all …]
|
D | i915_gem_domain.c | 16 static void __i915_gem_object_flush_for_display(struct drm_i915_gem_object *obj) in __i915_gem_object_flush_for_display() 28 void i915_gem_object_flush_if_display(struct drm_i915_gem_object *obj) in i915_gem_object_flush_if_display() 47 i915_gem_object_set_to_wc_domain(struct drm_i915_gem_object *obj, bool write) in i915_gem_object_set_to_wc_domain() 108 i915_gem_object_set_to_gtt_domain(struct drm_i915_gem_object *obj, bool write) in i915_gem_object_set_to_gtt_domain() 175 int i915_gem_object_set_cache_level(struct drm_i915_gem_object *obj, in i915_gem_object_set_cache_level() 309 struct drm_i915_gem_object *obj; in i915_gem_get_caching_ioctl() 343 struct drm_i915_gem_object *obj; in i915_gem_set_caching_ioctl() 415 i915_gem_object_pin_to_display_plane(struct drm_i915_gem_object *obj, in i915_gem_object_pin_to_display_plane() 482 static void i915_gem_object_bump_inactive_ggtt(struct drm_i915_gem_object *obj) in i915_gem_object_bump_inactive_ggtt() 513 struct drm_i915_gem_object *obj = vma->obj; in i915_gem_object_unpin_from_display_plane() [all …]
|
D | i915_gem_clflush.c | 16 struct drm_i915_gem_object *obj; 19 static void __do_clflush(struct drm_i915_gem_object *obj) in __do_clflush() 29 struct drm_i915_gem_object *obj = fetch_and_zero(&clflush->obj); in clflush_work() 58 static struct clflush *clflush_work_create(struct drm_i915_gem_object *obj) in clflush_work_create() 74 bool i915_gem_clflush_object(struct drm_i915_gem_object *obj, in i915_gem_clflush_object()
|
D | i915_gem_shmem.c | 26 static int shmem_get_pages(struct drm_i915_gem_object *obj) in shmem_get_pages() 217 shmem_truncate(struct drm_i915_gem_object *obj) in shmem_truncate() 231 shmem_writeback(struct drm_i915_gem_object *obj) in shmem_writeback() 276 __i915_gem_object_release_shmem(struct drm_i915_gem_object *obj, in __i915_gem_object_release_shmem() 294 shmem_put_pages(struct drm_i915_gem_object *obj, struct sg_table *pages) in shmem_put_pages() 329 shmem_pwrite(struct drm_i915_gem_object *obj, in shmem_pwrite() 418 static void shmem_release(struct drm_i915_gem_object *obj) in shmem_release() 458 struct drm_i915_gem_object * 461 struct drm_i915_gem_object *obj; in i915_gem_object_create_shmem() 531 struct drm_i915_gem_object * [all …]
|
D | i915_gem_stolen.h | 13 struct drm_i915_gem_object; 26 struct drm_i915_gem_object * 29 struct drm_i915_gem_object *
|
D | i915_gem_mman.c | 55 struct drm_i915_gem_object *obj; in i915_gem_mmap_ioctl() 115 static unsigned int tile_row_pages(const struct drm_i915_gem_object *obj) in tile_row_pages() 177 compute_partial_view(const struct drm_i915_gem_object *obj, in compute_partial_view() 221 struct drm_i915_gem_object *obj = to_intel_bo(area->vm_private_data); in i915_gem_fault() 375 void __i915_gem_object_release_mmap(struct drm_i915_gem_object *obj) in __i915_gem_object_release_mmap() 404 void i915_gem_object_release_mmap(struct drm_i915_gem_object *obj) in i915_gem_object_release_mmap() 439 static int create_mmap_offset(struct drm_i915_gem_object *obj) in create_mmap_offset() 472 struct drm_i915_gem_object *obj; in i915_gem_mmap_gtt()
|
D | i915_gem_shrinker.c | 58 static bool can_release_pages(struct drm_i915_gem_object *obj) in can_release_pages() 91 static bool unsafe_drop_pages(struct drm_i915_gem_object *obj, in unsafe_drop_pages() 106 static void try_to_writeback(struct drm_i915_gem_object *obj, in try_to_writeback() 213 struct drm_i915_gem_object *obj; in i915_gem_shrink() 386 struct drm_i915_gem_object *obj; in i915_gem_shrinker_oom() 524 void i915_gem_object_make_unshrinkable(struct drm_i915_gem_object *obj) in i915_gem_object_make_unshrinkable() 547 static void __i915_gem_object_make_shrinkable(struct drm_i915_gem_object *obj, in __i915_gem_object_make_shrinkable() 568 void i915_gem_object_make_shrinkable(struct drm_i915_gem_object *obj) in i915_gem_object_make_shrinkable() 574 void i915_gem_object_make_purgeable(struct drm_i915_gem_object *obj) in i915_gem_object_make_purgeable()
|
D | i915_gem_internal.c | 35 static int i915_gem_object_get_pages_internal(struct drm_i915_gem_object *obj) in i915_gem_object_get_pages_internal() 139 static void i915_gem_object_put_pages_internal(struct drm_i915_gem_object *obj, in i915_gem_object_put_pages_internal() 171 struct drm_i915_gem_object * 175 struct drm_i915_gem_object *obj; in i915_gem_object_create_internal()
|
D | i915_gem_clflush.h | 13 struct drm_i915_gem_object; 15 bool i915_gem_clflush_object(struct drm_i915_gem_object *obj,
|
D | i915_gem_client_blt.h | 10 struct drm_i915_gem_object; 15 int i915_gem_schedule_fill_pages_blt(struct drm_i915_gem_object *obj,
|
/Linux-v5.4/drivers/gpu/drm/i915/gem/selftests/ |
D | huge_gem_object.h | 10 struct drm_i915_gem_object * 16 huge_gem_object_phys_size(struct drm_i915_gem_object *obj) in huge_gem_object_phys_size() 22 huge_gem_object_dma_size(struct drm_i915_gem_object *obj) in huge_gem_object_dma_size()
|
D | i915_gem_coherency.c | 14 static int cpu_set(struct drm_i915_gem_object *obj, in cpu_set() 46 static int cpu_get(struct drm_i915_gem_object *obj, in cpu_get() 75 static int gtt_set(struct drm_i915_gem_object *obj, in gtt_set() 104 static int gtt_get(struct drm_i915_gem_object *obj, in gtt_get() 133 static int wc_set(struct drm_i915_gem_object *obj, in wc_set() 156 static int wc_get(struct drm_i915_gem_object *obj, in wc_get() 179 static int gpu_set(struct drm_i915_gem_object *obj, in gpu_set() 265 int (*set)(struct drm_i915_gem_object *, unsigned long offset, u32 v); 266 int (*get)(struct drm_i915_gem_object *, unsigned long offset, u32 *v); 282 struct drm_i915_gem_object *obj; in igt_gem_coherency()
|
D | huge_gem_object.c | 11 static void huge_free_pages(struct drm_i915_gem_object *obj, in huge_free_pages() 24 static int huge_get_pages(struct drm_i915_gem_object *obj) in huge_get_pages() 78 static void huge_put_pages(struct drm_i915_gem_object *obj, in huge_put_pages() 94 struct drm_i915_gem_object * 99 struct drm_i915_gem_object *obj; in huge_gem_object()
|
D | huge_pages.c | 56 static int get_huge_pages(struct drm_i915_gem_object *obj) in get_huge_pages() 131 static void put_huge_pages(struct drm_i915_gem_object *obj, in put_huge_pages() 148 static struct drm_i915_gem_object * 153 struct drm_i915_gem_object *obj; in huge_pages_object() 180 static int fake_get_huge_pages(struct drm_i915_gem_object *obj) in fake_get_huge_pages() 237 static int fake_get_huge_pages_single(struct drm_i915_gem_object *obj) in fake_get_huge_pages_single() 272 static void fake_free_huge_pages(struct drm_i915_gem_object *obj, in fake_free_huge_pages() 279 static void fake_put_huge_pages(struct drm_i915_gem_object *obj, in fake_put_huge_pages() 299 static struct drm_i915_gem_object * 302 struct drm_i915_gem_object *obj; in fake_huge_pages_object() [all …]
|
D | i915_gem_dmabuf.c | 16 struct drm_i915_gem_object *obj; in igt_dmabuf_export() 38 struct drm_i915_gem_object *obj; in igt_dmabuf_import_self() 82 struct drm_i915_gem_object *obj; in igt_dmabuf_import() 164 struct drm_i915_gem_object *obj; in igt_dmabuf_import_ownership() 213 struct drm_i915_gem_object *obj; in igt_dmabuf_export_vmap() 260 struct drm_i915_gem_object *obj; in igt_dmabuf_export_kmap()
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | i915_gem_fence_reg.h | 31 struct drm_i915_gem_object; 63 void i915_gem_object_do_bit_17_swizzle(struct drm_i915_gem_object *obj, 65 void i915_gem_object_save_bit_17_swizzle(struct drm_i915_gem_object *obj,
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_frontbuffer.h | 33 struct drm_i915_gem_object; 47 struct drm_i915_gem_object *obj; 58 intel_frontbuffer_get(struct drm_i915_gem_object *obj);
|
/Linux-v5.4/drivers/gpu/drm/i915/gt/ |
D | intel_engine_pool_types.h | 15 struct drm_i915_gem_object; 24 struct drm_i915_gem_object *obj;
|
/Linux-v5.4/drivers/gpu/drm/i915/selftests/ |
D | igt_spinner.h | 21 struct drm_i915_gem_object *hws; 22 struct drm_i915_gem_object *obj;
|