/linux-6.12.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.h | 26 struct drm_i915_gem_object *obj; in i915_gem_object_size_2big() 36 bool i915_gem_object_has_cache_level(const struct drm_i915_gem_object *obj, 43 struct drm_i915_gem_object *i915_gem_object_alloc(void); 44 void i915_gem_object_free(struct drm_i915_gem_object *obj); 46 void i915_gem_object_init(struct drm_i915_gem_object *obj, 51 void __i915_gem_object_fini(struct drm_i915_gem_object *obj); 53 struct drm_i915_gem_object * 56 struct drm_i915_gem_object * 59 struct drm_i915_gem_object * 66 void __i915_gem_object_release_shmem(struct drm_i915_gem_object *obj, [all …]
|
D | i915_gem_object_types.h | 22 struct drm_i915_gem_object; 59 int (*get_pages)(struct drm_i915_gem_object *obj); 60 void (*put_pages)(struct drm_i915_gem_object *obj, 62 int (*truncate)(struct drm_i915_gem_object *obj); 82 int (*shrink)(struct drm_i915_gem_object *obj, unsigned int flags); 84 int (*pread)(struct drm_i915_gem_object *obj, 86 int (*pwrite)(struct drm_i915_gem_object *obj, 88 u64 (*mmap_offset)(struct drm_i915_gem_object *obj); 89 void (*unmap_virtual)(struct drm_i915_gem_object *obj); 91 int (*dmabuf_export)(struct drm_i915_gem_object *obj); [all …]
|
D | i915_gem_object.c | 58 bool i915_gem_object_has_cache_level(const struct drm_i915_gem_object *obj, in i915_gem_object_has_cache_level() 76 struct drm_i915_gem_object *i915_gem_object_alloc(void) in i915_gem_object_alloc() 78 struct drm_i915_gem_object *obj; in i915_gem_object_alloc() 88 void i915_gem_object_free(struct drm_i915_gem_object *obj) in i915_gem_object_free() 93 void i915_gem_object_init(struct drm_i915_gem_object *obj, in i915_gem_object_init() 141 void __i915_gem_object_fini(struct drm_i915_gem_object *obj) in __i915_gem_object_fini() 154 void i915_gem_object_set_cache_coherency(struct drm_i915_gem_object *obj, in i915_gem_object_set_cache_coherency() 182 void i915_gem_object_set_pat_index(struct drm_i915_gem_object *obj, in i915_gem_object_set_pat_index() 205 bool i915_gem_object_can_bypass_llc(struct drm_i915_gem_object *obj) in i915_gem_object_can_bypass_llc() 239 struct drm_i915_gem_object *obj = to_intel_bo(gem); in i915_gem_close_object() [all …]
|
D | i915_gem_ttm.h | 20 i915_gem_to_ttm(struct drm_i915_gem_object *obj) in i915_gem_to_ttm() 49 static inline struct drm_i915_gem_object * 52 return container_of(bo, struct drm_i915_gem_object, __do_not_access); in i915_ttm_to_gem() 56 struct drm_i915_gem_object *obj, 71 void i915_ttm_free_cached_io_rsgt(struct drm_i915_gem_object *obj); 74 i915_ttm_resource_get_st(struct drm_i915_gem_object *obj, 77 void i915_ttm_adjust_lru(struct drm_i915_gem_object *obj); 79 int i915_ttm_purge(struct drm_i915_gem_object *obj);
|
D | i915_gem_lmem.h | 12 struct drm_i915_gem_object; 16 i915_gem_object_lmem_io_map(struct drm_i915_gem_object *obj, 20 bool i915_gem_object_is_lmem(struct drm_i915_gem_object *obj); 22 bool __i915_gem_object_is_lmem(struct drm_i915_gem_object *obj); 24 struct drm_i915_gem_object * 28 struct drm_i915_gem_object * 33 struct drm_i915_gem_object *
|
D | i915_gem_mman.h | 15 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_runtime_pm_release_mmap_offset(struct drm_i915_gem_object *obj); 31 void i915_gem_object_release_mmap_offset(struct drm_i915_gem_object *obj); 32 int i915_gem_fb_mmap(struct drm_i915_gem_object *obj, struct vm_area_struct *vma);
|
D | i915_gem_region.h | 12 struct drm_i915_gem_object; 32 struct drm_i915_gem_object *obj); 50 void i915_gem_object_init_memory_region(struct drm_i915_gem_object *obj, 52 void i915_gem_object_release_memory_region(struct drm_i915_gem_object *obj); 54 struct drm_i915_gem_object * 59 struct drm_i915_gem_object *
|
D | i915_gem_lmem.c | 14 i915_gem_object_lmem_io_map(struct drm_i915_gem_object *obj, in i915_gem_object_lmem_io_map() 42 bool i915_gem_object_is_lmem(struct drm_i915_gem_object *obj) in i915_gem_object_is_lmem() 66 bool __i915_gem_object_is_lmem(struct drm_i915_gem_object *obj) in __i915_gem_object_is_lmem() 99 struct drm_i915_gem_object * 109 struct drm_i915_gem_object * 113 struct drm_i915_gem_object *obj; in i915_gem_object_create_lmem_from_data() 136 struct drm_i915_gem_object *
|
D | i915_gem_object_frontbuffer.h | 15 void __i915_gem_object_flush_frontbuffer(struct drm_i915_gem_object *obj, 17 void __i915_gem_object_invalidate_frontbuffer(struct drm_i915_gem_object *obj, 21 i915_gem_object_flush_frontbuffer(struct drm_i915_gem_object *obj, in i915_gem_object_flush_frontbuffer() 29 i915_gem_object_invalidate_frontbuffer(struct drm_i915_gem_object *obj, in i915_gem_object_invalidate_frontbuffer() 46 i915_gem_object_get_frontbuffer(const struct drm_i915_gem_object *obj) in i915_gem_object_get_frontbuffer() 85 i915_gem_object_set_frontbuffer(struct drm_i915_gem_object *obj, in i915_gem_object_set_frontbuffer()
|
D | i915_gem_ttm_move.h | 18 struct drm_i915_gem_object; 27 int i915_gem_obj_copy_ttm(struct drm_i915_gem_object *dst, 28 struct drm_i915_gem_object *src, 38 void i915_ttm_adjust_domains_after_move(struct drm_i915_gem_object *obj); 40 void i915_ttm_adjust_gem_after_move(struct drm_i915_gem_object *obj);
|
D | i915_gem_dmabuf.c | 23 static struct drm_i915_gem_object *dma_buf_to_obj(struct dma_buf *buf) 31 struct drm_i915_gem_object *obj = dma_buf_to_obj(attach->dmabuf); in i915_gem_map_dma_buf() 73 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() 120 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_begin_cpu_access() 145 struct drm_i915_gem_object *obj = dma_buf_to_obj(dma_buf); in i915_gem_end_cpu_access() 170 struct drm_i915_gem_object *obj = dma_buf_to_obj(dmabuf); in i915_gem_dmabuf_attach() 199 struct drm_i915_gem_object *obj = dma_buf_to_obj(dmabuf); in i915_gem_dmabuf_detach() 219 struct drm_i915_gem_object *obj = to_intel_bo(gem_obj); in i915_gem_prime_export() [all …]
|
D | i915_gem_pages.c | 19 void __i915_gem_object_set_pages(struct drm_i915_gem_object *obj, in __i915_gem_object_set_pages() 98 int ____i915_gem_object_get_pages(struct drm_i915_gem_object *obj) in ____i915_gem_object_get_pages() 124 int __i915_gem_object_get_pages(struct drm_i915_gem_object *obj) in __i915_gem_object_get_pages() 146 int i915_gem_object_pin_pages_unlocked(struct drm_i915_gem_object *obj) in i915_gem_object_pin_pages_unlocked() 167 int i915_gem_object_truncate(struct drm_i915_gem_object *obj) in i915_gem_object_truncate() 175 static void __i915_gem_object_reset_page_iter(struct drm_i915_gem_object *obj) in __i915_gem_object_reset_page_iter() 188 static void unmap_object(struct drm_i915_gem_object *obj, void *ptr) in unmap_object() 194 static void flush_tlb_invalidate(struct drm_i915_gem_object *obj) in flush_tlb_invalidate() 210 __i915_gem_object_unset_pages(struct drm_i915_gem_object *obj) in __i915_gem_object_unset_pages() 239 int __i915_gem_object_put_pages(struct drm_i915_gem_object *obj) in __i915_gem_object_put_pages() [all …]
|
D | i915_gem_domain.c | 23 static bool gpu_write_needs_clflush(struct drm_i915_gem_object *obj) in gpu_write_needs_clflush() 41 bool i915_gem_cpu_write_needs_clflush(struct drm_i915_gem_object *obj) in i915_gem_cpu_write_needs_clflush() 59 flush_write_domain(struct drm_i915_gem_object *obj, unsigned int flush_domains) in flush_write_domain() 95 static void __i915_gem_object_flush_for_display(struct drm_i915_gem_object *obj) in __i915_gem_object_flush_for_display() 107 void i915_gem_object_flush_if_display(struct drm_i915_gem_object *obj) in i915_gem_object_flush_if_display() 117 void i915_gem_object_flush_if_display_locked(struct drm_i915_gem_object *obj) in i915_gem_object_flush_if_display_locked() 133 i915_gem_object_set_to_wc_domain(struct drm_i915_gem_object *obj, bool write) in i915_gem_object_set_to_wc_domain() 195 i915_gem_object_set_to_gtt_domain(struct drm_i915_gem_object *obj, bool write) in i915_gem_object_set_to_gtt_domain() 270 int i915_gem_object_set_cache_level(struct drm_i915_gem_object *obj, in i915_gem_object_set_cache_level() 305 struct drm_i915_gem_object *obj; in i915_gem_get_caching_ioctl() [all …]
|
D | i915_gem_userptr.c | 72 i915_gem_userptr_init__mmu_notifier(struct drm_i915_gem_object *obj) in i915_gem_userptr_init__mmu_notifier() 79 static void i915_gem_object_userptr_drop_ref(struct drm_i915_gem_object *obj) in i915_gem_object_userptr_drop_ref() 99 static int i915_gem_userptr_get_pages(struct drm_i915_gem_object *obj) in i915_gem_userptr_get_pages() 158 i915_gem_userptr_put_pages(struct drm_i915_gem_object *obj, in i915_gem_userptr_put_pages() 212 static int i915_gem_object_userptr_unbind(struct drm_i915_gem_object *obj) in i915_gem_object_userptr_unbind() 233 int i915_gem_object_userptr_submit_init(struct drm_i915_gem_object *obj) in i915_gem_object_userptr_submit_init() 310 int i915_gem_object_userptr_submit_done(struct drm_i915_gem_object *obj) in i915_gem_object_userptr_submit_done() 322 int i915_gem_object_userptr_validate(struct drm_i915_gem_object *obj) in i915_gem_object_userptr_validate() 348 i915_gem_userptr_release(struct drm_i915_gem_object *obj) in i915_gem_userptr_release() 360 i915_gem_userptr_dmabuf_export(struct drm_i915_gem_object *obj) in i915_gem_userptr_dmabuf_export() [all …]
|
D | i915_gem_region.c | 13 void i915_gem_object_init_memory_region(struct drm_i915_gem_object *obj, in i915_gem_object_init_memory_region() 23 void i915_gem_object_release_memory_region(struct drm_i915_gem_object *obj) in i915_gem_object_release_memory_region() 32 static struct drm_i915_gem_object * 39 struct drm_i915_gem_object *obj; in __i915_gem_object_create_region() 106 struct drm_i915_gem_object * 116 struct drm_i915_gem_object * 158 struct drm_i915_gem_object *obj; in i915_gem_process_region()
|
D | i915_gem_shrinker.c | 26 static bool can_release_pages(struct drm_i915_gem_object *obj) in can_release_pages() 40 static bool drop_pages(struct drm_i915_gem_object *obj, in drop_pages() 59 static int try_to_writeback(struct drm_i915_gem_object *obj, unsigned int flags) in try_to_writeback() 179 struct drm_i915_gem_object *obj; in i915_gem_shrink() 351 struct drm_i915_gem_object *obj; in i915_gem_shrinker_oom() 409 struct drm_i915_gem_object *obj = vma->obj; in i915_gem_shrinker_vmap() 484 void i915_gem_object_make_unshrinkable(struct drm_i915_gem_object *obj) in i915_gem_object_make_unshrinkable() 508 static void ___i915_gem_object_make_shrinkable(struct drm_i915_gem_object *obj, in ___i915_gem_object_make_shrinkable() 543 void __i915_gem_object_make_shrinkable(struct drm_i915_gem_object *obj) in __i915_gem_object_make_shrinkable() 559 void __i915_gem_object_make_purgeable(struct drm_i915_gem_object *obj) in __i915_gem_object_make_purgeable() [all …]
|
D | i915_gem_ttm.c | 112 i915_ttm_select_tt_caching(const struct drm_i915_gem_object *obj) in i915_ttm_select_tt_caching() 157 i915_ttm_placement_from_obj(const struct drm_i915_gem_object *obj, in i915_ttm_placement_from_obj() 270 struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo); in i915_ttm_tt_create() 357 struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo); in i915_ttm_eviction_valuable() 390 void i915_ttm_free_cached_io_rsgt(struct drm_i915_gem_object *obj) in i915_ttm_free_cached_io_rsgt() 416 int i915_ttm_purge(struct drm_i915_gem_object *obj) in i915_ttm_purge() 456 static int i915_ttm_shrink(struct drm_i915_gem_object *obj, unsigned int flags) in i915_ttm_shrink() 505 struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo); in i915_ttm_delete_mem_notify() 562 i915_ttm_resource_get_st(struct drm_i915_gem_object *obj, in i915_ttm_resource_get_st() 599 static int i915_ttm_truncate(struct drm_i915_gem_object *obj) in i915_ttm_truncate() [all …]
|
D | i915_gem_shmem.c | 205 static int shmem_get_pages(struct drm_i915_gem_object *obj) in shmem_get_pages() 288 shmem_truncate(struct drm_i915_gem_object *obj) in shmem_truncate() 346 shmem_writeback(struct drm_i915_gem_object *obj) in shmem_writeback() 351 static int shmem_shrink(struct drm_i915_gem_object *obj, unsigned int flags) in shmem_shrink() 367 __i915_gem_object_release_shmem(struct drm_i915_gem_object *obj, in __i915_gem_object_release_shmem() 396 void i915_gem_object_put_pages_shmem(struct drm_i915_gem_object *obj, struct sg_table *pages) in i915_gem_object_put_pages_shmem() 412 shmem_put_pages(struct drm_i915_gem_object *obj, struct sg_table *pages) in shmem_put_pages() 421 shmem_pwrite(struct drm_i915_gem_object *obj, in shmem_pwrite() 514 shmem_pread(struct drm_i915_gem_object *obj, in shmem_pread() 523 static void shmem_release(struct drm_i915_gem_object *obj) in shmem_release() [all …]
|
D | i915_gem_internal.h | 11 struct drm_i915_gem_object; 15 struct drm_i915_gem_object * 18 struct drm_i915_gem_object *
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_fb_bo.h | 11 struct drm_i915_gem_object; 15 void intel_fb_bo_framebuffer_fini(struct drm_i915_gem_object *obj); 18 struct drm_i915_gem_object *obj, 21 struct drm_i915_gem_object *
|
D | intel_fb_bo.c | 14 void intel_fb_bo_framebuffer_fini(struct drm_i915_gem_object *obj) in intel_fb_bo_framebuffer_fini() 20 struct drm_i915_gem_object *obj, in intel_fb_bo_framebuffer_init() 77 struct drm_i915_gem_object * 82 struct drm_i915_gem_object *obj; in intel_fb_bo_lookup_valid_bo()
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | intel_gtt.h | 166 struct drm_i915_gem_object; 178 struct drm_i915_gem_object *base; 200 __px_choose_expr(px, struct drm_i915_gem_object *, __x, \ 205 struct page *__px_page(struct drm_i915_gem_object *p); 206 dma_addr_t __px_dma(struct drm_i915_gem_object *p); 209 void *__px_vaddr(struct drm_i915_gem_object *p); 253 struct drm_i915_gem_object *obj; 274 struct drm_i915_gem_object *scratch[4]; 307 struct drm_i915_gem_object * 309 struct drm_i915_gem_object * [all …]
|
D | intel_gtt.c | 41 struct drm_i915_gem_object *alloc_pt_lmem(struct i915_address_space *vm, int sz) in alloc_pt_lmem() 43 struct drm_i915_gem_object *obj; in alloc_pt_lmem() 75 struct drm_i915_gem_object *alloc_pt_dma(struct i915_address_space *vm, int sz) in alloc_pt_dma() 77 struct drm_i915_gem_object *obj; in alloc_pt_dma() 99 int map_pt_dma(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in map_pt_dma() 123 int map_pt_dma_locked(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in map_pt_dma_locked() 152 struct drm_i915_gem_object *obj = vma->obj; in clear_vm_list() 318 void *__px_vaddr(struct drm_i915_gem_object *p) in __px_vaddr() 326 dma_addr_t __px_dma(struct drm_i915_gem_object *p) in __px_dma() 332 struct page *__px_page(struct drm_i915_gem_object *p) in __px_page() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_drm_client.h | 70 struct drm_i915_gem_object *obj); 71 void i915_drm_client_remove_object(struct drm_i915_gem_object *obj); 76 struct drm_i915_gem_object *obj) in i915_drm_client_add_object() 81 i915_drm_client_remove_object(struct drm_i915_gem_object *obj) in i915_drm_client_remove_object()
|
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/pxp/ |
D | intel_pxp.h | 12 struct drm_i915_gem_object; 16 struct drm_i915_gem_object *obj, in intel_pxp_key_check() 23 i915_gem_object_is_protected(const struct drm_i915_gem_object *obj) in i915_gem_object_is_protected()
|