| /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/xe/ |
| H A D | xe_bo.h | 152 static inline struct xe_bo *ttm_to_xe_bo(const struct ttm_buffer_object *bo) in ttm_to_xe_bo() 162 #define xe_bo_device(bo) ttm_to_xe_device((bo)->ttm.bdev) argument 164 static inline struct xe_bo *xe_bo_get(struct xe_bo *bo) in xe_bo_get() 188 static inline __must_check struct xe_bo *xe_bo_get_unless_zero(struct xe_bo *bo) in xe_bo_get_unless_zero() 196 static inline void __xe_bo_unset_bulk_move(struct xe_bo *bo) in __xe_bo_unset_bulk_move() 202 static inline void xe_bo_assert_held(struct xe_bo *bo) in xe_bo_assert_held() 212 static inline void xe_bo_unlock_vm_held(struct xe_bo *bo) in xe_bo_unlock_vm_held() 230 static inline bool xe_bo_is_pinned(struct xe_bo *bo) in xe_bo_is_pinned() 235 static inline bool xe_bo_is_protected(const struct xe_bo *bo) in xe_bo_is_protected() 251 static inline bool xe_bo_is_purged(struct xe_bo *bo) in xe_bo_is_purged() [all …]
|
| H A D | xe_bo.c | 105 bool xe_bo_is_vram(struct xe_bo *bo) in xe_bo_is_vram() 111 bool xe_bo_is_stolen(struct xe_bo *bo) in xe_bo_is_stolen() 125 bool xe_bo_has_single_placement(struct xe_bo *bo) in xe_bo_has_single_placement() 139 bool xe_bo_is_stolen_devmem(struct xe_bo *bo) in xe_bo_is_stolen_devmem() 154 bool xe_bo_is_vm_bound(struct xe_bo *bo) in xe_bo_is_vm_bound() 161 static bool xe_bo_is_user(struct xe_bo *bo) in xe_bo_is_user() 189 static void try_add_system(struct xe_device *xe, struct xe_bo *bo, in try_add_system() 243 static void add_vram(struct xe_device *xe, struct xe_bo *bo, in add_vram() 274 static void try_add_vram(struct xe_device *xe, struct xe_bo *bo, in try_add_vram() 286 static void try_add_stolen(struct xe_device *xe, struct xe_bo *bo, in try_add_stolen() [all …]
|
| H A D | xe_dma_buf.c | 53 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_pin() local 92 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_unpin() local 102 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_map() local 170 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_begin_cpu_access() local 199 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_release() local 224 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_gem_prime_export() local 289 struct xe_bo *bo; in xe_dma_buf_create_obj() local 321 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_move_notify() local
|
| /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 …]
|
| /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/ttm/ |
| H A D | ttm_bo.c | 55 static void ttm_bo_mem_space_debug(struct ttm_buffer_object *bo, in ttm_bo_mem_space_debug() 80 void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo) in ttm_bo_move_to_lru_tail() 103 void ttm_bo_set_bulk_move(struct ttm_buffer_object *bo, in ttm_bo_set_bulk_move() 121 static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo, in ttm_bo_handle_move_mem() 183 static void ttm_bo_cleanup_memtype_use(struct ttm_buffer_object *bo) in ttm_bo_cleanup_memtype_use() 192 static int ttm_bo_individualize_resv(struct ttm_buffer_object *bo) in ttm_bo_individualize_resv() 219 static void ttm_bo_flush_all_fences(struct ttm_buffer_object *bo) in ttm_bo_flush_all_fences() 237 struct ttm_buffer_object *bo; in ttm_bo_delayed_delete() local 251 struct ttm_buffer_object *bo = in ttm_bo_release() local 323 void ttm_bo_put(struct ttm_buffer_object *bo) in ttm_bo_put() [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() 187 static void vc4_bo_remove_from_cache(struct vc4_bo *bo) in vc4_bo_remove_from_cache() 242 struct vc4_bo *bo = list_last_entry(&vc4->bo_cache.time_list, in vc4_bo_cache_purge() local 250 void vc4_bo_add_to_purgeable_pool(struct vc4_bo *bo) in vc4_bo_add_to_purgeable_pool() 264 static void vc4_bo_remove_from_purgeable_pool_locked(struct vc4_bo *bo) in vc4_bo_remove_from_purgeable_pool_locked() 288 void vc4_bo_remove_from_purgeable_pool(struct vc4_bo *bo) in vc4_bo_remove_from_purgeable_pool() 299 struct vc4_bo *bo = to_vc4_bo(obj); in vc4_bo_purge() local 318 struct vc4_bo *bo = list_first_entry(&vc4->purgeable.list, in vc4_bo_userspace_cache_purge() local 365 struct vc4_bo *bo = NULL; in vc4_bo_get_from_cache() 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() 43 static void panthor_gem_debugfs_bo_add(struct panthor_gem_object *bo) in panthor_gem_debugfs_bo_add() 56 static void panthor_gem_debugfs_bo_rm(struct panthor_gem_object *bo) in panthor_gem_debugfs_bo_rm() 69 static void panthor_gem_debugfs_set_usage_flags(struct panthor_gem_object *bo, u32 usage_flags) in panthor_gem_debugfs_set_usage_flags() 75 static void panthor_gem_debugfs_bo_rm(struct panthor_gem_object *bo) {} in panthor_gem_debugfs_bo_rm() 76 static void panthor_gem_debugfs_set_usage_flags(struct panthor_gem_object *bo, u32 usage_flags) {} in panthor_gem_debugfs_set_usage_flags() 77 static void panthor_gem_debugfs_bo_init(struct panthor_gem_object *bo) {} in panthor_gem_debugfs_bo_init() 81 should_map_wc(struct panthor_gem_object *bo, struct panthor_vm *exclusive_vm) in should_map_wc() 115 struct panthor_gem_object *bo = to_panthor_bo(obj); in panthor_gem_free_object() local 138 void panthor_kernel_bo_destroy(struct panthor_kernel_bo *bo) in panthor_kernel_bo_destroy() [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/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 651 struct qaic_bo *bo = to_qaic_bo(obj); in qaic_free_object() local 668 struct qaic_bo *bo = to_qaic_bo(obj); in qaic_get_sg_table() local 701 static void qaic_init_bo(struct qaic_bo *bo, bool reinit) in qaic_init_bo() 717 struct qaic_bo *bo; in qaic_alloc_init_bo() local 735 struct qaic_bo *bo; in qaic_create_bo_ioctl() local 841 struct qaic_bo *bo; in qaic_gem_prime_import() local [all …]
|
| /linux/drivers/gpu/drm/virtio/ |
| 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 243 struct virtio_gpu_object *bo; in virtio_gpu_primary_plane_update() local 316 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtio_gpu_prepare_imported_obj() local 356 struct virtio_gpu_object *bo; in virtio_gpu_plane_prepare_fb() local 438 struct virtio_gpu_object *bo = NULL; in virtio_gpu_cursor_plane_update() local 511 struct virtio_gpu_object *bo; in virtio_drm_get_scanout_buffer() local 541 struct virtio_gpu_object *bo; in virtio_panic_flush() local
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd_gpuvm.c | 309 void amdgpu_amdkfd_release_notify(struct amdgpu_bo *bo) in amdgpu_amdkfd_release_notify() 371 static int amdgpu_amdkfd_remove_eviction_fence(struct amdgpu_bo *bo, in amdgpu_amdkfd_remove_eviction_fence() 398 void amdgpu_amdkfd_remove_all_eviction_fences(struct amdgpu_bo *bo) in amdgpu_amdkfd_remove_all_eviction_fences() 417 static int amdgpu_amdkfd_bo_validate(struct amdgpu_bo *bo, uint32_t domain, in amdgpu_amdkfd_bo_validate() 443 int amdgpu_amdkfd_bo_validate_and_fence(struct amdgpu_bo *bo, in amdgpu_amdkfd_bo_validate_and_fence() 469 static int amdgpu_amdkfd_validate_vm_bo(void *_unused, struct amdgpu_bo *bo) in amdgpu_amdkfd_validate_vm_bo() 567 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_userptr() local 614 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_dmabuf() local 651 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_sg_bo() local 728 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmaunmap_userptr() local [all …]
|
| H A D | amdgpu_object.h | 131 struct amdgpu_bo bo; member 140 struct amdgpu_bo bo; member 187 static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr) in amdgpu_bo_reserve() 201 static inline void amdgpu_bo_unreserve(struct amdgpu_bo *bo) in amdgpu_bo_unreserve() 206 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size() 211 static inline unsigned amdgpu_bo_ngpu_pages(struct amdgpu_bo *bo) in amdgpu_bo_ngpu_pages() 216 static inline unsigned amdgpu_bo_gpu_page_alignment(struct amdgpu_bo *bo) in amdgpu_bo_gpu_page_alignment() 227 static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo) in amdgpu_bo_mmap_offset() 235 static inline bool amdgpu_bo_explicit_sync(struct amdgpu_bo *bo) in amdgpu_bo_explicit_sync() 246 static inline bool amdgpu_bo_encrypted(struct amdgpu_bo *bo) in amdgpu_bo_encrypted()
|
| H A D | amdgpu_hmm.c | 70 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); amdgpu_hmm_invalidate_gfx() local 107 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); amdgpu_hmm_invalidate_hsa() local 130 amdgpu_hmm_register(struct amdgpu_bo * bo,unsigned long addr) amdgpu_hmm_register() argument 160 amdgpu_hmm_unregister(struct amdgpu_bo * bo) amdgpu_hmm_unregister() argument 264 amdgpu_hmm_range_alloc(struct amdgpu_bo * bo) amdgpu_hmm_range_alloc() argument [all...] |