| /linux/drivers/staging/media/atomisp/pci/hmm/ |
| H A D | hmm_bo.c | 36 static int __bo_init(struct hmm_bo_device *bdev, struct hmm_buffer_object *bo, in __bo_init() 119 struct hmm_buffer_object *bo; in __bo_search_by_addr() local 144 struct hmm_buffer_object *bo; in __bo_search_by_addr_in_range() local 166 struct hmm_buffer_object *bo) in __bo_insert_to_free_rbtree() 199 struct hmm_buffer_object *bo) in __bo_insert_to_alloc_rbtree() 224 struct hmm_buffer_object *bo, in __bo_break_up() 255 static void __bo_take_off_handling(struct hmm_buffer_object *bo) in __bo_take_off_handling() 296 static struct hmm_buffer_object *__bo_merge(struct hmm_buffer_object *bo, in __bo_merge() 323 struct hmm_buffer_object *bo; in hmm_bo_device_init() local 384 struct hmm_buffer_object *bo, *new_bo; in hmm_bo_alloc() local [all …]
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_object.c | 34 struct qxl_bo *bo; in qxl_ttm_bo_destroy() local 49 bool qxl_ttm_bo_is_qxl_bo(struct ttm_buffer_object *bo) in qxl_ttm_bo_is_qxl_bo() 110 struct qxl_bo *bo; in qxl_bo_create() local 156 int qxl_bo_vmap_locked(struct qxl_bo *bo, struct iosys_map *map) in qxl_bo_vmap_locked() 185 int qxl_bo_pin_and_vmap(struct qxl_bo *bo, struct iosys_map *map) in qxl_bo_pin_and_vmap() 207 struct qxl_bo *bo, int page_offset) in qxl_bo_kmap_atomic_page() 239 void qxl_bo_vunmap_locked(struct qxl_bo *bo) in qxl_bo_vunmap_locked() 252 int qxl_bo_vunmap_and_unpin(struct qxl_bo *bo) in qxl_bo_vunmap_and_unpin() 267 struct qxl_bo *bo, void *pmap) in qxl_bo_kunmap_atomic_page() 279 void qxl_bo_unref(struct qxl_bo **bo) in qxl_bo_unref() [all …]
|
| H A D | qxl_release.c | 163 qxl_release_bo_alloc(struct qxl_device * qdev,struct qxl_bo ** bo,u32 priority) qxl_release_bo_alloc() argument 171 qxl_release_list_add(struct qxl_release * release,struct qxl_bo * bo) qxl_release_list_add() argument 190 qxl_release_validate_bo(struct qxl_bo * bo) qxl_release_validate_bo() argument 264 struct qxl_bo *bo; qxl_alloc_surface_release_reserved() local 292 struct qxl_bo *bo, *free_bo = NULL; qxl_alloc_release_reserved() local 391 struct qxl_bo *bo = release->release_bo; qxl_release_map() local 404 struct qxl_bo *bo = release->release_bo; qxl_release_unmap() local 416 struct qxl_bo *bo; qxl_release_fence_buffer_objects() local [all...] |
| /linux/drivers/gpu/drm/tegra/ |
| H A D | gem.c | 52 static void tegra_bo_put(struct host1x_bo *bo) in tegra_bo_put() 59 static struct host1x_bo_mapping *tegra_bo_pin(struct device *dev, struct host1x_bo *bo, in tegra_bo_pin() 177 static void *tegra_bo_mmap(struct host1x_bo *bo) in tegra_bo_mmap() 203 static void tegra_bo_munmap(struct host1x_bo *bo, void *addr) in tegra_bo_munmap() 217 static struct host1x_bo *tegra_bo_get(struct host1x_bo *bo) in tegra_bo_get() 235 static int tegra_bo_iommu_map(struct tegra_drm *tegra, struct tegra_bo *bo) in tegra_bo_iommu_map() 278 static int tegra_bo_iommu_unmap(struct tegra_drm *tegra, struct tegra_bo *bo) in tegra_bo_iommu_unmap() 302 struct tegra_bo *bo; in tegra_bo_alloc_object() local 331 static void tegra_bo_free(struct drm_device *drm, struct tegra_bo *bo) in tegra_bo_free() 343 static int tegra_bo_get_pages(struct drm_device *drm, struct tegra_bo *bo) in tegra_bo_get_pages() [all …]
|
| H A D | submit.c | 44 struct gather_bo *bo = container_of(host_bo, struct gather_bo, base); in gather_bo_get() local 53 struct gather_bo *bo = container_of(ref, struct gather_bo, ref); in gather_bo_release() local 62 struct gather_bo *bo = container_of(host_bo, struct gather_bo, base); in gather_bo_put() local 68 gather_bo_pin(struct device *dev, struct host1x_bo *bo, enum dma_data_direction direction) in gather_bo_pin() 127 struct gather_bo *bo = container_of(host_bo, struct gather_bo, base); in gather_bo_mmap() local 183 struct gather_bo *bo; in submit_copy_gather_data() local 228 static int submit_write_reloc(struct tegra_drm_context *context, struct gather_bo *bo, in submit_write_reloc() 257 static int submit_process_bufs(struct tegra_drm_context *context, struct gather_bo *bo, in submit_process_bufs() 352 struct gather_bo *bo, u32 *offset, in submit_job_add_gather() 393 submit_create_job(struct tegra_drm_context *context, struct gather_bo *bo, in submit_create_job() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_bo.c | 105 bool xe_bo_is_vram(struct xe_bo *bo) in xe_bo_is_vram() argument 111 bool xe_bo_is_stolen(struct xe_bo *bo) in xe_bo_is_stolen() argument 125 bool xe_bo_has_single_placement(struct xe_bo *bo) in xe_bo_has_single_placement() argument 139 xe_bo_is_stolen_devmem(struct xe_bo * bo) xe_bo_is_stolen_devmem() argument 154 xe_bo_is_vm_bound(struct xe_bo * bo) xe_bo_is_vm_bound() argument 161 xe_bo_is_user(struct xe_bo * bo) xe_bo_is_user() argument 189 try_add_system(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,u32 * c) try_add_system() argument 243 add_vram(struct xe_device * xe,struct xe_bo * bo,struct ttm_place * places,u32 bo_flags,u32 mem_type,u32 * c) add_vram() argument 274 try_add_vram(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,enum ttm_bo_type type,u32 * c) try_add_vram() argument 286 try_add_stolen(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,u32 * c) try_add_stolen() argument 301 __xe_bo_placement_for_flags(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,enum ttm_bo_type type) __xe_bo_placement_for_flags() argument 321 xe_bo_placement_for_flags(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,enum ttm_bo_type type) xe_bo_placement_for_flags() argument 333 struct xe_bo *bo; xe_evict_flags() local 427 xe_bo_sg(struct xe_bo * bo) xe_bo_sg() argument 475 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); xe_ttm_tt_create() local 621 xe_bo_is_visible_vram(struct xe_bo * bo) xe_bo_is_visible_vram() argument 666 xe_bo_trigger_rebind(struct xe_device * xe,struct xe_bo * bo,const struct ttm_operation_ctx * ctx) xe_bo_trigger_rebind() argument 797 xe_bo_move_notify(struct xe_bo * bo,const struct ttm_operation_ctx * ctx) xe_bo_move_notify() argument 844 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); xe_bo_move() local 1053 xe_bo_shrink_purge(struct ttm_operation_ctx * ctx,struct ttm_buffer_object * bo,unsigned long * scanned) xe_bo_shrink_purge() argument 1091 xe_bo_eviction_valuable(struct ttm_buffer_object * bo,const struct ttm_place * place) xe_bo_eviction_valuable() argument 1127 xe_bo_shrink(struct ttm_operation_ctx * ctx,struct ttm_buffer_object * bo,const struct xe_bo_shrink_flags flags,unsigned long * scanned) xe_bo_shrink() argument 1192 xe_bo_notifier_prepare_pinned(struct xe_bo * bo) xe_bo_notifier_prepare_pinned() argument 1248 xe_bo_notifier_unprepare_pinned(struct xe_bo * bo) xe_bo_notifier_unprepare_pinned() argument 1261 xe_bo_evict_pinned_copy(struct xe_bo * bo,struct xe_bo * backup) xe_bo_evict_pinned_copy() argument 1329 xe_bo_evict_pinned(struct xe_bo * bo) xe_bo_evict_pinned() argument 1395 xe_bo_restore_pinned(struct xe_bo * bo) xe_bo_restore_pinned() argument 1473 xe_bo_dma_unmap_pinned(struct xe_bo * bo) xe_bo_dma_unmap_pinned() argument 1502 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); xe_ttm_io_mem_pfn() local 1546 struct xe_bo *bo; xe_ttm_bo_release_notify() local 1583 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); xe_ttm_bo_delete_mem_notify() local 1638 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); xe_ttm_access_memory() local 1705 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); xe_ttm_bo_destroy() local 1761 struct xe_bo *bo = gem_to_xe_bo(obj); xe_gem_object_close() local 1772 should_migrate_to_smem(struct xe_bo * bo) should_migrate_to_smem() argument 1784 xe_bo_wait_usage_kernel(struct xe_bo * bo,struct ttm_operation_ctx * ctx) xe_bo_wait_usage_kernel() argument 1803 xe_bo_fault_migrate(struct xe_bo * bo,struct ttm_operation_ctx * ctx,struct drm_exec * exec) xe_bo_fault_migrate() argument 1822 __xe_bo_cpu_fault(struct vm_fault * vmf,struct xe_device * xe,struct xe_bo * bo) __xe_bo_cpu_fault() argument 1875 xe_bo_cpu_fault_fastpath(struct vm_fault * vmf,struct xe_device * xe,struct xe_bo * bo,bool needs_rpm) xe_bo_cpu_fault_fastpath() argument 1935 struct xe_bo *bo = ttm_to_xe_bo(tbo); xe_bo_cpu_fault() local 2031 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); xe_bo_vm_access() local 2049 xe_bo_read(struct xe_bo * bo,u64 offset,void * dst,int size) xe_bo_read() argument 2092 struct xe_bo *bo = kzalloc_obj(*bo); xe_bo_alloc() local 2106 xe_bo_free(struct xe_bo * bo) xe_bo_free() argument 2132 xe_bo_init_locked(struct xe_device * xe,struct xe_bo * bo,struct xe_tile * tile,struct dma_resv * resv,struct ttm_lru_bulk_move * bulk,size_t size,u16 cpu_caching,enum ttm_bo_type type,u32 flags,struct drm_exec * exec) xe_bo_init_locked() argument 2265 __xe_bo_fixed_placement(struct xe_device * xe,struct xe_bo * bo,enum ttm_bo_type type,u32 flags,u64 start,u64 end,u64 size) __xe_bo_fixed_placement() argument 2312 struct xe_bo *bo = NULL; __xe_bo_create_locked() local 2420 struct xe_bo *bo; xe_bo_create_novm() local 2458 struct xe_bo *bo; xe_bo_create_user() local 2500 struct xe_bo *bo; xe_bo_create_pin_range_novm() local 2533 struct xe_bo *bo; xe_bo_create_pin_map_at_aligned() local 2594 struct xe_bo *bo; xe_bo_create_pin_map_at_novm() local 2672 struct xe_bo *bo; xe_managed_bo_create_pin_map() local 2687 xe_managed_bo_unpin_map_no_vm(struct xe_bo * bo) xe_managed_bo_unpin_map_no_vm() argument 2695 struct xe_bo *bo = xe_managed_bo_create_pin_map(xe, tile, ALIGN(size, PAGE_SIZE), flags); xe_managed_bo_create_from_data() local 2720 struct xe_bo *bo; xe_managed_bo_reinit_in_vram() local 2772 xe_bo_pin_external(struct xe_bo * bo,bool in_place,struct drm_exec * exec) xe_bo_pin_external() argument 2815 xe_bo_pin(struct xe_bo * bo,struct drm_exec * exec) xe_bo_pin() argument 2873 xe_bo_unpin_external(struct xe_bo * bo) xe_bo_unpin_external() argument 2897 xe_bo_unpin(struct xe_bo * bo) xe_bo_unpin() argument 2940 xe_bo_validate(struct xe_bo * bo,struct xe_vm * vm,bool allow_res_evict,struct drm_exec * exec) xe_bo_validate() argument 2970 xe_bo_is_xe_bo(struct ttm_buffer_object * bo) xe_bo_is_xe_bo() argument 2984 __xe_bo_addr(struct xe_bo * bo,u64 offset,size_t page_size) __xe_bo_addr() argument 3009 xe_bo_addr(struct xe_bo * bo,u64 offset,size_t page_size) xe_bo_addr() argument 3016 xe_bo_vmap(struct xe_bo * bo) xe_bo_vmap() argument 3052 __xe_bo_vunmap(struct xe_bo * bo) __xe_bo_vunmap() argument 3060 xe_bo_vunmap(struct xe_bo * bo) xe_bo_vunmap() argument 3066 gem_create_set_pxp_type(struct xe_device * xe,struct xe_bo * bo,u64 value) gem_create_set_pxp_type() argument 3087 gem_create_user_ext_set_property(struct xe_device * xe,struct xe_bo * bo,u64 extension) gem_create_user_ext_set_property() argument 3121 gem_create_user_extensions(struct xe_device * xe,struct xe_bo * bo,u64 extensions,int ext_number) gem_create_user_extensions() argument 3162 struct xe_bo *bo; xe_gem_create_ioctl() local 3345 xe_bo_lock(struct xe_bo * bo,bool intr) xe_bo_lock() argument 3361 xe_bo_unlock(struct xe_bo * bo) xe_bo_unlock() argument 3381 xe_bo_can_migrate(struct xe_bo * bo,u32 mem_type) xe_bo_can_migrate() argument 3424 xe_bo_migrate(struct xe_bo * bo,u32 mem_type,struct ttm_operation_ctx * tctx,struct drm_exec * exec) xe_bo_migrate() argument 3479 xe_bo_evict(struct xe_bo * bo,struct drm_exec * exec) xe_bo_evict() argument 3507 xe_bo_needs_ccs_pages(struct xe_bo * bo) xe_bo_needs_ccs_pages() argument 3561 struct xe_bo *bo, *next; xe_bo_put_commit() local 3599 xe_bo_put(struct xe_bo * bo) xe_bo_put() argument 3632 struct xe_bo *bo; xe_bo_dumb_create() local 3658 xe_bo_runtime_pm_release_mmap_offset(struct xe_bo * bo) xe_bo_runtime_pm_release_mmap_offset() argument [all...] |
| H A D | xe_dma_buf.c | 53 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_pin() local 96 struct xe_bo *bo = gem_to_xe_bo(obj); xe_dma_buf_unpin() local 106 struct xe_bo *bo = gem_to_xe_bo(obj); xe_dma_buf_map() local 174 struct xe_bo *bo = gem_to_xe_bo(obj); xe_dma_buf_begin_cpu_access() local 216 struct xe_bo *bo = gem_to_xe_bo(obj); xe_gem_prime_export() local 250 struct xe_bo *bo; xe_dma_buf_init_obj() local 282 struct xe_bo *bo = gem_to_xe_bo(obj); xe_dma_buf_move_notify() local 315 struct xe_bo *bo; xe_gem_prime_import() local [all...] |
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo.c | 54 ttm_bo_mem_space_debug(struct ttm_buffer_object * bo,struct ttm_placement * placement) ttm_bo_mem_space_debug() argument 79 ttm_bo_move_to_lru_tail(struct ttm_buffer_object * bo) ttm_bo_move_to_lru_tail() argument 102 ttm_bo_set_bulk_move(struct ttm_buffer_object * bo,struct ttm_lru_bulk_move * bulk) ttm_bo_set_bulk_move() argument 120 ttm_bo_handle_move_mem(struct ttm_buffer_object * bo,struct ttm_resource * mem,bool evict,struct ttm_operation_ctx * ctx,struct ttm_place * hop) ttm_bo_handle_move_mem() argument 182 ttm_bo_cleanup_memtype_use(struct ttm_buffer_object * bo) ttm_bo_cleanup_memtype_use() argument 191 ttm_bo_individualize_resv(struct ttm_buffer_object * bo) ttm_bo_individualize_resv() argument 218 ttm_bo_flush_all_fences(struct ttm_buffer_object * bo) ttm_bo_flush_all_fences() argument 238 struct ttm_buffer_object *bo; ttm_bo_delayed_delete() local 252 struct ttm_buffer_object *bo = ttm_bo_release() local 324 ttm_bo_put(struct ttm_buffer_object * bo) ttm_bo_put() argument 329 ttm_bo_fini(struct ttm_buffer_object * bo) ttm_bo_fini() argument 335 ttm_bo_bounce_temp_buffer(struct ttm_buffer_object * bo,struct ttm_operation_ctx * ctx,struct ttm_place * hop) ttm_bo_bounce_temp_buffer() argument 359 ttm_bo_evict(struct ttm_buffer_object * bo,struct ttm_operation_ctx * ctx) ttm_bo_evict() argument 421 ttm_bo_eviction_valuable(struct ttm_buffer_object * bo,const struct ttm_place * place) ttm_bo_eviction_valuable() argument 450 struct ttm_buffer_object *bo; ttm_bo_evict_first() local 515 ttm_bo_evict_cb(struct ttm_lru_walk * walk,struct ttm_buffer_object * bo) ttm_bo_evict_cb() argument 625 ttm_bo_pin(struct ttm_buffer_object * bo) ttm_bo_pin() argument 644 ttm_bo_unpin(struct ttm_buffer_object * bo) ttm_bo_unpin() argument 664 ttm_bo_add_pipelined_eviction_fences(struct ttm_buffer_object * bo,struct ttm_resource_manager * man,bool no_wait_gpu) ttm_bo_add_pipelined_eviction_fences() argument 711 ttm_bo_alloc_resource(struct ttm_buffer_object * bo,struct ttm_placement * placement,struct ttm_operation_ctx * ctx,bool force_space,struct ttm_resource ** res) ttm_bo_alloc_resource() argument 786 ttm_bo_mem_space(struct ttm_buffer_object * bo,struct ttm_placement * placement,struct ttm_resource ** res,struct ttm_operation_ctx * ctx) ttm_bo_mem_space() argument 819 ttm_bo_validate(struct ttm_buffer_object * bo,struct ttm_placement * placement,struct ttm_operation_ctx * ctx) ttm_bo_validate() argument 930 ttm_bo_init_reserved(struct ttm_device * bdev,struct ttm_buffer_object * bo,enum ttm_bo_type type,struct ttm_placement * placement,uint32_t alignment,struct ttm_operation_ctx * ctx,struct sg_table * sg,struct dma_resv * resv,void (* destroy)(struct ttm_buffer_object *)) ttm_bo_init_reserved() argument 1023 ttm_bo_init_validate(struct ttm_device * bdev,struct ttm_buffer_object * bo,enum ttm_bo_type type,struct ttm_placement * placement,uint32_t alignment,bool interruptible,struct sg_table * sg,struct dma_resv * resv,void (* destroy)(struct ttm_buffer_object *)) ttm_bo_init_validate() argument 1053 ttm_bo_unmap_virtual(struct ttm_buffer_object * bo) ttm_bo_unmap_virtual() argument 1072 ttm_bo_wait_ctx(struct ttm_buffer_object * bo,struct ttm_operation_ctx * ctx) ttm_bo_wait_ctx() argument 1108 ttm_bo_swapout_cb(struct ttm_lru_walk * walk,struct ttm_buffer_object * bo) ttm_bo_swapout_cb() argument 1236 ttm_bo_tt_destroy(struct ttm_buffer_object * bo) ttm_bo_tt_destroy() argument 1261 ttm_bo_populate(struct ttm_buffer_object * bo,struct ttm_operation_ctx * ctx) ttm_bo_populate() argument 1291 ttm_bo_setup_export(struct ttm_buffer_object * bo,struct ttm_operation_ctx * ctx) ttm_bo_setup_export() argument [all...] |
| H A D | ttm_bo_util.c | 46 struct ttm_buffer_object *bo; member 146 int ttm_bo_move_memcpy(struct ttm_buffer_object *bo, in ttm_bo_move_memcpy() 205 static void ttm_transfered_destroy(struct ttm_buffer_object *bo) in ttm_transfered_destroy() 230 static int ttm_buffer_object_transfer(struct ttm_buffer_object *bo, in ttm_buffer_object_transfer() 295 pgprot_t ttm_io_prot(struct ttm_buffer_object *bo, struct ttm_resource *res, in ttm_io_prot() 314 static int ttm_bo_ioremap(struct ttm_buffer_object *bo, in ttm_bo_ioremap() 340 static int ttm_bo_kmap_ttm(struct ttm_buffer_object *bo, in ttm_bo_kmap_ttm() 396 void *ttm_bo_kmap_try_from_panic(struct ttm_buffer_object *bo, unsigned long page) in ttm_bo_kmap_try_from_panic() 424 int ttm_bo_kmap(struct ttm_buffer_object *bo, in ttm_bo_kmap() 498 int ttm_bo_vmap(struct ttm_buffer_object *bo, struct iosys_map *map) in ttm_bo_vmap() [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_object.c | 54 struct radeon_bo *bo; in radeon_ttm_bo_destroy() local 69 bool radeon_ttm_bo_is_radeon_bo(struct ttm_buffer_object *bo) in radeon_ttm_bo_is_radeon_bo() 134 struct radeon_bo *bo; in radeon_bo_create() local 218 int radeon_bo_kmap(struct radeon_bo *bo, void **ptr) in radeon_bo_kmap() 246 void radeon_bo_kunmap(struct radeon_bo *bo) in radeon_bo_kunmap() 255 struct radeon_bo *radeon_bo_ref(struct radeon_bo *bo) in radeon_bo_ref() 264 void radeon_bo_unref(struct radeon_bo **bo) in radeon_bo_unref() 272 int radeon_bo_pin_restricted(struct radeon_bo *bo, u32 domain, u64 max_offset, in radeon_bo_pin_restricted() 331 int radeon_bo_pin(struct radeon_bo *bo, u32 domain, u64 *gpu_addr) in radeon_bo_pin() 336 void radeon_bo_unpin(struct radeon_bo *bo) in radeon_bo_unpin() [all …]
|
| H A D | radeon_object.h | 64 static inline int radeon_bo_reserve(struct radeon_bo *bo, bool no_intr) in radeon_bo_reserve() 77 static inline void radeon_bo_unreserve(struct radeon_bo *bo) in radeon_bo_unreserve() 91 static inline u64 radeon_bo_gpu_offset(struct radeon_bo *bo) in radeon_bo_gpu_offset() 110 static inline unsigned long radeon_bo_size(struct radeon_bo *bo) in radeon_bo_size() 115 static inline unsigned radeon_bo_ngpu_pages(struct radeon_bo *bo) in radeon_bo_ngpu_pages() 120 static inline unsigned radeon_bo_gpu_page_alignment(struct radeon_bo *bo) in radeon_bo_gpu_page_alignment() 131 static inline u64 radeon_bo_mmap_offset(struct radeon_bo *bo) in radeon_bo_mmap_offset()
|
| H A D | radeon_prime.c | 39 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_get_sg_table() local 51 struct radeon_bo *bo; in radeon_gem_prime_import_sg_table() local 73 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_pin() local 86 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_unpin() local 97 struct radeon_bo *bo = gem_to_radeon_bo(gobj); in radeon_gem_prime_export() local
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_bo.c | 135 struct vc4_bo *bo = to_vc4_bo(gem_obj); in vc4_bo_set_label() local 167 static void vc4_bo_destroy(struct vc4_bo *bo) in vc4_bo_destroy() argument 187 vc4_bo_remove_from_cache(struct vc4_bo * bo) vc4_bo_remove_from_cache() argument 242 struct vc4_bo *bo = list_last_entry(&vc4->bo_cache.time_list, vc4_bo_cache_purge() local 250 vc4_bo_add_to_purgeable_pool(struct vc4_bo * bo) vc4_bo_add_to_purgeable_pool() argument 264 vc4_bo_remove_from_purgeable_pool_locked(struct vc4_bo * bo) vc4_bo_remove_from_purgeable_pool_locked() argument 288 vc4_bo_remove_from_purgeable_pool(struct vc4_bo * bo) vc4_bo_remove_from_purgeable_pool() argument 299 struct vc4_bo *bo = to_vc4_bo(obj); vc4_bo_purge() local 318 struct vc4_bo *bo = list_first_entry(&vc4->purgeable.list, vc4_bo_userspace_cache_purge() local 365 struct vc4_bo *bo = NULL; vc4_bo_get_from_cache() local 397 struct vc4_bo *bo; vc4_create_object() local 428 struct vc4_bo *bo; vc4_bo_create() local 496 struct vc4_bo *bo = NULL; vc4_bo_dumb_create() local 526 struct vc4_bo *bo = list_last_entry(&vc4->bo_cache.time_list, vc4_bo_cache_free_old() local 547 struct vc4_bo *bo = to_vc4_bo(gem_bo); vc4_free_object() local 620 vc4_bo_inc_usecnt(struct vc4_bo * bo) vc4_bo_inc_usecnt() argument 660 vc4_bo_dec_usecnt(struct vc4_bo * bo) vc4_bo_dec_usecnt() argument 689 struct vc4_bo *bo = to_vc4_bo(obj); vc4_prime_export() local 720 struct vc4_bo *bo = to_vc4_bo(obj); vc4_fault() local 734 struct vc4_bo *bo = to_vc4_bo(obj); vc4_gem_object_mmap() local 786 struct vc4_bo *bo = NULL; vc4_create_bo_ioctl() local 842 struct vc4_bo *bo = NULL; vc4_create_shader_bo_ioctl() local 921 struct vc4_bo *bo; vc4_set_tiling_ioctl() local 968 struct vc4_bo *bo; vc4_get_tiling_ioctl() local [all...] |
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_gem.c | 38 static void panthor_gem_debugfs_bo_init(struct panthor_gem_object *bo) in panthor_gem_debugfs_bo_init() argument 43 static void panthor_gem_debugfs_bo_add(struct panthor_gem_object *bo) in panthor_gem_debugfs_bo_add() argument 56 static void panthor_gem_debugfs_bo_rm(struct panthor_gem_object *bo) in panthor_gem_debugfs_bo_rm() argument 69 panthor_gem_debugfs_set_usage_flags(struct panthor_gem_object * bo,u32 usage_flags) panthor_gem_debugfs_set_usage_flags() argument 75 panthor_gem_debugfs_bo_rm(struct panthor_gem_object * bo) panthor_gem_debugfs_bo_rm() argument 76 panthor_gem_debugfs_set_usage_flags(struct panthor_gem_object * bo,u32 usage_flags) panthor_gem_debugfs_set_usage_flags() argument 77 panthor_gem_debugfs_bo_init(struct panthor_gem_object * bo) panthor_gem_debugfs_bo_init() argument 81 should_map_wc(struct panthor_gem_object * bo,struct panthor_vm * exclusive_vm) should_map_wc() argument 115 struct panthor_gem_object *bo = to_panthor_bo(obj); panthor_gem_free_object() local 138 panthor_kernel_bo_destroy(struct panthor_kernel_bo * bo) panthor_kernel_bo_destroy() argument 179 struct panthor_gem_object *bo; panthor_kernel_bo_create() local 367 struct panthor_gem_object *bo = to_panthor_bo(obj); panthor_gem_status() local 433 struct panthor_gem_object *bo; panthor_gem_create_with_handle() local 486 struct panthor_gem_object *bo = to_panthor_bo(obj); panthor_gem_bo_set_label() local 498 panthor_gem_kernel_bo_set_label(struct panthor_kernel_bo * bo,const char * label) panthor_gem_kernel_bo_set_label() argument 523 struct panthor_gem_object *bo = to_panthor_bo(obj); panthor_gem_sync() local 643 panthor_gem_debugfs_bo_print(struct panthor_gem_object * bo,struct seq_file * m,struct gem_size_totals * totals) panthor_gem_debugfs_bo_print() argument 690 struct panthor_gem_object *bo; panthor_gem_debugfs_print_bos() local [all...] |
| /linux/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_gem.c | 36 struct panfrost_gem_object *bo) in panfrost_gem_debugfs_bo_add() argument 46 static void panfrost_gem_debugfs_bo_rm(struct panfrost_gem_object *bo) in panfrost_gem_debugfs_bo_rm() argument 59 struct panfrost_gem_object *bo) in panfrost_gem_debugfs_bo_add() argument 61 static void panfrost_gem_debugfs_bo_rm(struct panfrost_gem_object *bo) {} in panfrost_gem_debugfs_bo_rm() argument 69 struct panfrost_gem_object *bo = to_panfrost_bo(obj); panfrost_gem_free_object() local 110 panfrost_gem_mapping_get(struct panfrost_gem_object * bo,struct panfrost_file_priv * priv) panfrost_gem_mapping_get() argument 160 panfrost_gem_teardown_mappings_locked(struct panfrost_gem_object * bo) panfrost_gem_teardown_mappings_locked() argument 173 struct panfrost_gem_object *bo = to_panfrost_bo(obj); panfrost_gem_open() local 226 struct panfrost_gem_object *bo = to_panfrost_bo(obj); panfrost_gem_close() local 244 struct panfrost_gem_object *bo = to_panfrost_bo(obj); panfrost_gem_pin() local 254 struct panfrost_gem_object *bo = to_panfrost_bo(obj); panfrost_gem_status() local 268 struct panfrost_gem_object *bo = to_panfrost_bo(obj); panfrost_gem_rss() local 448 should_map_wc(struct panfrost_gem_object * bo) should_map_wc() argument 475 struct panfrost_gem_object *bo; panfrost_gem_create() local 506 struct panfrost_gem_object *bo; panfrost_gem_prime_import_sg_table() local 531 struct panfrost_gem_object *bo = to_panfrost_bo(obj); panfrost_gem_set_label() local 545 struct panfrost_gem_object *bo = to_panfrost_bo(obj); panfrost_gem_sync() local 629 struct panfrost_gem_object *bo = to_panfrost_bo(obj); panfrost_gem_internal_set_label() local 680 panfrost_gem_debugfs_bo_print(struct panfrost_gem_object * bo,struct seq_file * m,struct gem_size_totals * totals) panfrost_gem_debugfs_bo_print() argument 731 struct panfrost_gem_object *bo; panfrost_gem_debugfs_print_bos() local [all...] |
| /linux/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_tt_test.c | 42 struct ttm_buffer_object *bo; in ttm_tt_init_basic() local 69 struct ttm_buffer_object *bo; in ttm_tt_init_misaligned() local 92 struct ttm_buffer_object *bo; in ttm_tt_fini_basic() local 112 struct ttm_buffer_object *bo; in ttm_tt_fini_sg() local 132 struct ttm_buffer_object *bo; in ttm_tt_fini_shmem() local 155 struct ttm_buffer_object *bo; in ttm_tt_create_basic() local 174 struct ttm_buffer_object *bo; in ttm_tt_create_invalid_bo_type() local 190 struct ttm_buffer_object *bo; in ttm_tt_create_ttm_exists() local 213 static struct ttm_tt *ttm_tt_null_create(struct ttm_buffer_object *bo, in ttm_tt_null_create() 226 struct ttm_buffer_object *bo; in ttm_tt_create_failed() local [all …]
|
| H A D | ttm_bo_test.c | 62 struct ttm_buffer_object *bo; in ttm_bo_reserve_optimistic_no_ticket() local 75 struct ttm_buffer_object *bo; in ttm_bo_reserve_locked_no_sleep() local 93 struct ttm_buffer_object *bo; in ttm_bo_reserve_no_wait_ticket() local 111 struct ttm_buffer_object *bo; in ttm_bo_reserve_double_resv() local 186 struct ttm_buffer_object *bo = arg; in threaded_ttm_bo_reserve() local 213 struct ttm_buffer_object *bo; in ttm_bo_reserve_interrupted() local 240 struct ttm_buffer_object *bo; in ttm_bo_unreserve_basic() local 283 struct ttm_buffer_object *bo; in ttm_bo_unreserve_pinned() local 385 struct ttm_buffer_object *bo; in ttm_bo_fini_basic() local 429 struct ttm_buffer_object *bo; in ttm_bo_fini_shared_resv() local [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_dma_buf.c | 62 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in dma_buf_attach_adev() local 83 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach() local 124 struct amdgpu_bo *bo in amdgpu_dma_buf_pin() local 164 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); amdgpu_dma_buf_unpin() local 187 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); amdgpu_dma_buf_map() local 267 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); amdgpu_dma_buf_unmap() local 299 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); amdgpu_dma_buf_begin_cpu_access() local 328 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); amdgpu_dma_buf_vmap() local 349 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); amdgpu_dma_buf_vunmap() local 381 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); amdgpu_gem_prime_export() local 425 struct amdgpu_bo *bo; amdgpu_dma_buf_create_obj() local 471 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); amdgpu_dma_buf_move_notify() local 594 amdgpu_dmabuf_is_xgmi_accessible(struct amdgpu_device * adev,struct amdgpu_bo * bo) amdgpu_dmabuf_is_xgmi_accessible() argument [all...] |
| /linux/drivers/gpu/drm/virtio/ |
| H A D | virtgpu_prime.c | 36 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtgpu_virtio_get_uuid() local 53 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtgpu_gem_map_dma_buf() local 66 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtgpu_gem_unmap_dma_buf() local 92 struct virtio_gpu_object *bo) in virtio_gpu_resource_assign_uuid() argument 111 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); virtgpu_gem_prime_export() local 148 virtgpu_dma_buf_import_sgt(struct virtio_gpu_mem_entry ** ents,unsigned int * nents,struct virtio_gpu_object * bo,struct dma_buf_attachment * attach) virtgpu_dma_buf_import_sgt() argument 184 virtgpu_dma_buf_unmap(struct virtio_gpu_object * bo) virtgpu_dma_buf_unmap() argument 203 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); virtgpu_dma_buf_free_obj() local 227 virtgpu_dma_buf_init_obj(struct drm_device * dev,struct virtio_gpu_object * bo,struct dma_buf_attachment * attach) virtgpu_dma_buf_init_obj() argument 282 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); virtgpu_dma_buf_move_notify() local 297 struct virtio_gpu_object *bo; virtgpu_gem_prime_import() local [all...] |
| H A D | virtgpu_object.c | 66 void virtio_gpu_cleanup_object(struct virtio_gpu_object *bo) in virtio_gpu_cleanup_object() 93 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtio_gpu_free_object() local 105 int virtio_gpu_detach_object_fenced(struct virtio_gpu_object *bo) in virtio_gpu_detach_object_fenced() 141 bool virtio_gpu_is_shmem(struct virtio_gpu_object *bo) in virtio_gpu_is_shmem() 162 struct virtio_gpu_object *bo, in virtio_gpu_object_shmem_init() 210 struct virtio_gpu_object *bo; in virtio_gpu_object_create() local
|
| H A D | virtgpu_plane.c | 138 struct virtio_gpu_object *bo = in virtio_gpu_panic_update_dumb_bo() local 161 struct virtio_gpu_object *bo = in virtio_gpu_update_dumb_bo() local 188 struct virtio_gpu_object *bo; in virtio_gpu_panic_resource_flush() local 206 struct virtio_gpu_object *bo; in virtio_gpu_resource_flush() local 240 struct virtio_gpu_object *bo; in virtio_gpu_primary_plane_update() local 313 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtio_gpu_prepare_imported_obj() local 353 struct virtio_gpu_object *bo; in virtio_gpu_plane_prepare_fb() local 435 struct virtio_gpu_object *bo = NULL; in virtio_gpu_cursor_plane_update() local 505 struct virtio_gpu_object *bo; in virtio_drm_get_scanout_buffer() local 535 struct virtio_gpu_object *bo; in virtio_panic_flush() local
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_gem.c | 21 int lima_heap_alloc(struct lima_bo *bo, struct lima_vm *vm) in lima_heap_alloc() 115 struct lima_bo *bo; in lima_gem_create_handle() local 155 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_free_object() local 165 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_object_open() local 174 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_object_close() local 183 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_pin() local 193 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_vmap() local 203 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_mmap() local 227 struct lima_bo *bo; in lima_gem_create_object() local 244 struct lima_bo *bo; in lima_gem_get_info() local [all …]
|
| /linux/drivers/gpu/drm/v3d/ |
| H A D | v3d_bo.c | 28 struct v3d_bo *bo = to_v3d_bo(obj); in v3d_gem_status() local 43 struct v3d_bo *bo = to_v3d_bo(obj); in v3d_free_object() local 83 struct v3d_bo *bo; in v3d_create_object() local 105 struct v3d_bo *bo = to_v3d_bo(obj); in v3d_bo_create_finish() local 153 struct v3d_bo *bo; in v3d_bo_create() local 194 void v3d_get_bo_vaddr(struct v3d_bo *bo) in v3d_get_bo_vaddr() 202 void v3d_put_bo_vaddr(struct v3d_bo *bo) in v3d_put_bo_vaddr() 212 struct v3d_bo *bo = NULL; in v3d_create_bo_ioctl() local 260 struct v3d_bo *bo; in v3d_get_bo_offset_ioctl() local
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_bo.c | 40 static void vmw_bo_free(struct ttm_buffer_object *bo) in vmw_bo_free() 93 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_pin_in_placement() local 129 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_pin_in_vram_or_gmr() local 198 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_pin_in_start_of_vram() local 255 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_unpin() local 277 void vmw_bo_get_guest_ptr(const struct ttm_buffer_object *bo, in vmw_bo_get_guest_ptr() 302 struct ttm_buffer_object *bo = &vbo->tbo; in vmw_bo_pin_reserved() local 352 struct ttm_buffer_object *bo = &vbo->tbo; in vmw_bo_map_and_cache_size() local 490 struct ttm_buffer_object *bo = &vmw_bo->tbo; in vmw_user_bo_synccpu_grab() local 671 void vmw_bo_fence_single(struct ttm_buffer_object *bo, in vmw_bo_fence_single() [all …]
|
| /linux/drivers/accel/qaic/ |
| H A D | qaic_data.c | 145 static inline bool bo_queued(struct qaic_bo *bo) in bo_queued() 391 static int qaic_map_one_slice(struct qaic_device *qdev, struct qaic_bo *bo, in qaic_map_one_slice() 596 struct qaic_bo *bo = to_qaic_bo(obj); in qaic_gem_print_info() local 608 struct qaic_bo *bo = to_qaic_bo(obj); in qaic_gem_object_mmap() local 632 struct qaic_bo *bo = to_qaic_bo(obj); in qaic_free_object() local 649 struct qaic_bo *bo = to_qaic_bo(obj); in qaic_get_sg_table() local 682 static void qaic_init_bo(struct qaic_bo *bo, bool reinit) in qaic_init_bo() 698 struct qaic_bo *bo; in qaic_alloc_init_bo() local 716 struct qaic_bo *bo; in qaic_create_bo_ioctl() local 822 struct qaic_bo *bo; in qaic_gem_prime_import() local [all …]
|