| /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() 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_drm_client.h | 18 struct xe_bo; 58 struct xe_bo *bo); 59 void xe_drm_client_remove_bo(struct xe_bo *bo); 62 struct xe_bo *bo) in xe_drm_client_add_bo() 66 static inline void xe_drm_client_remove_bo(struct xe_bo *bo) in xe_drm_client_remove_bo()
|
| H A D | xe_trace_bo.h | 23 DECLARE_EVENT_CLASS(xe_bo, 24 TP_PROTO(struct xe_bo *bo), 46 DEFINE_EVENT(xe_bo, xe_bo_cpu_fault, 47 TP_PROTO(struct xe_bo *bo), 51 DEFINE_EVENT(xe_bo, xe_bo_validate, 52 TP_PROTO(struct xe_bo *bo), 56 DEFINE_EVENT(xe_bo, xe_bo_create, 57 TP_PROTO(struct xe_bo *bo), 62 TP_PROTO(struct xe_bo *bo, uint32_t new_placement, uint32_t old_placement, 66 __field(struct xe_bo *, bo)
|
| H A D | xe_dma_buf.c | 53 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_pin() 92 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_unpin() 102 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_map() 170 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_begin_cpu_access() 212 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_gem_prime_export() 269 xe_dma_buf_init_obj(struct drm_device *dev, struct xe_bo *storage, in xe_dma_buf_init_obj() 277 struct xe_bo *bo; in xe_dma_buf_init_obj() 312 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_move_notify() 345 struct xe_bo *bo; in xe_gem_prime_import()
|
| H A D | xe_gsc_types.h | 18 struct xe_bo; 33 struct xe_bo *private; 64 struct xe_bo *bo;
|
| H A D | xe_bo_types.h | 32 struct xe_bo { struct 36 struct xe_bo *backup_obj; argument 38 struct xe_bo *parent_obj; argument
|
| H A D | xe_huc_types.h | 11 struct xe_bo; 21 struct xe_bo *gsc_pkt;
|
| H A D | xe_drm_client.c | 133 struct xe_bo *bo) in xe_drm_client_add_bo() 153 void xe_drm_client_remove_bo(struct xe_bo *bo) in xe_drm_client_remove_bo() 167 static void bo_meminfo(struct xe_bo *bo, in bo_meminfo() 199 struct xe_bo *bo; in show_meminfo() 209 struct xe_bo *bo = gem_to_xe_bo(obj); in show_meminfo()
|
| H A D | xe_lmtt_types.h | 11 struct xe_bo; 39 struct xe_bo *bo;
|
| H A D | xe_ggtt.c | 95 u64 (*pte_encode_flags)(struct xe_bo *bo, u16 pat_index); 128 struct xe_bo *scratch; 146 static u64 xelp_ggtt_pte_flags(struct xe_bo *bo, u16 pat_index) in xelp_ggtt_pte_flags() 156 static u64 xelpg_ggtt_pte_flags(struct xe_bo *bo, u16 pat_index) in xelpg_ggtt_pte_flags() 688 struct xe_bo *bo, u64 pte) in xe_ggtt_map_bo() 724 void xe_ggtt_map_bo_unlocked(struct xe_ggtt *ggtt, struct xe_bo *bo) in xe_ggtt_map_bo_unlocked() 752 struct xe_bo *bo, u64 pte_flags, in xe_ggtt_insert_node_transform() 787 static int __xe_ggtt_insert_bo_at(struct xe_ggtt *ggtt, struct xe_bo *bo, in __xe_ggtt_insert_bo_at() 870 int xe_ggtt_insert_bo_at(struct xe_ggtt *ggtt, struct xe_bo *bo, in xe_ggtt_insert_bo_at() 884 int xe_ggtt_insert_bo(struct xe_ggtt *ggtt, struct xe_bo *bo, in xe_ggtt_insert_bo() [all …]
|
| H A D | xe_mem_pool.c | 39 struct xe_bo *bo; 41 struct xe_bo *shadow; 74 struct xe_bo *shadow; in pool_shadow_init() 122 struct xe_bo *bo; in xe_mem_pool_init()
|
| H A D | xe_vm_madvise.c | 132 struct xe_bo *bo; in madvise_atomic() 200 static bool xe_bo_is_dmabuf_shared(struct xe_bo *bo) in xe_bo_is_dmabuf_shared() 255 static enum xe_bo_vmas_purge_state xe_bo_all_vmas_dontneed(struct xe_bo *bo) in xe_bo_all_vmas_dontneed() 306 void xe_bo_recompute_purgeable_state(struct xe_bo *bo) in xe_bo_recompute_purgeable_state() 351 struct xe_bo *bo = xe_vma_bo(vmas[i]); in madvise_purgeable() 645 struct xe_bo *bo = xe_vma_bo(vma); in check_pat_args_are_sane() 667 struct xe_bo *bo; in check_bo_args_are_sane() 813 struct xe_bo *bo = xe_vma_bo(madvise_range.vmas[i]); in xe_vm_madvise_ioctl()
|
| H A D | xe_svm.h | 21 struct xe_bo; 94 int xe_svm_bo_evict(struct xe_bo *bo); 200 struct xe_bo; 272 int xe_svm_bo_evict(struct xe_bo *bo) in xe_svm_bo_evict()
|
| H A D | xe_hw_engine_types.h | 64 struct xe_bo; 138 struct xe_bo *hwsp;
|
| H A D | xe_bo_evict.c | 13 typedef int (*xe_pinned_fn)(struct xe_bo *bo); 21 struct xe_bo *bo; in xe_bo_apply_to_pinned() 192 static int xe_bo_restore_and_map_ggtt(struct xe_bo *bo) in xe_bo_restore_and_map_ggtt()
|
| H A D | xe_migrate.c | 58 struct xe_bo *pt_bo; 143 static void xe_migrate_program_identity(struct xe_device *xe, struct xe_vm *vm, struct xe_bo *bo, in xe_migrate_program_identity() 191 struct xe_bo *bo, *batch = tile->mem.kernel_bb_pool->bo; in xe_migrate_pt_bo_alloc() 227 struct xe_bo *bo = m->pt_bo, *batch = tile->mem.kernel_bb_pool->bo; in xe_migrate_prepare_vm() 865 struct xe_bo *src_bo, in __xe_migrate_copy() 866 struct xe_bo *dst_bo, in __xe_migrate_copy() 1078 struct xe_bo *src_bo, in xe_migrate_copy() 1079 struct xe_bo *dst_bo, in xe_migrate_copy() 1099 struct xe_bo *bo, in xe_migrate_resolve() 1158 struct xe_bo *src_bo, in xe_migrate_ccs_rw_copy() [all …]
|
| H A D | xe_gt_sriov_pf_migration.c | 519 struct xe_bo *vram, u64 vram_offset, in __pf_save_restore_vram() 520 struct xe_bo *sysmem, u64 sysmem_offset, in __pf_save_restore_vram() 555 struct xe_bo *src_vram, u64 src_vram_offset, in pf_save_vram_chunk() 605 struct xe_bo *vram; in pf_save_vf_vram_mig_data() 643 struct xe_bo *vram; in pf_restore_vf_vram_mig_data()
|
| H A D | xe_sriov_vf_ccs.c | 414 int xe_sriov_vf_ccs_attach_bo(struct xe_bo *bo) in xe_sriov_vf_ccs_attach_bo() 448 int xe_sriov_vf_ccs_detach_bo(struct xe_bo *bo) in xe_sriov_vf_ccs_detach_bo()
|
| H A D | xe_vm.c | 176 static int add_preempt_fences(struct xe_vm *vm, struct xe_bo *bo) in add_preempt_fences() 331 struct xe_bo *bo = gem_to_xe_bo(vm_bo->obj); in xe_gpuvm_validate() 1068 struct xe_bo *bo, in xe_vma_create() 1158 struct xe_bo *bo = xe_vma_bo(vma); in xe_vma_destroy_late() 1199 struct xe_bo *bo = xe_vma_bo(vma); in xe_vma_destroy() 1241 struct xe_bo *bo = xe_vma_bo(vma); in xe_vm_lock_vma() 1385 static u16 pde_pat_index(struct xe_bo *bo) in pde_pat_index() 1411 static u64 xelp_pde_encode_bo(struct xe_bo *bo, u64 bo_offset) in xelp_pde_encode_bo() 1422 static u64 xelp_pte_encode_bo(struct xe_bo *bo, u64 bo_offset, in xelp_pte_encode_bo() 1441 struct xe_bo *bo = xe_vma_bo(vma); in xelp_pte_encode_vma() [all …]
|
| H A D | xe_pxp.c | 762 int xe_pxp_key_assign(struct xe_pxp *pxp, struct xe_bo *bo) in xe_pxp_key_assign() 793 int xe_pxp_bo_key_check(struct xe_pxp *pxp, struct xe_bo *bo) in xe_pxp_bo_key_check() 834 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_pxp_obj_key_check()
|
| H A D | xe_lrc.h | 24 struct xe_bo *lrc_bo;
|
| /linux/drivers/gpu/drm/xe/tests/ |
| H A D | xe_bo.c | 25 static int ccs_test_migrate(struct xe_tile *tile, struct xe_bo *bo, in ccs_test_migrate() 130 struct xe_bo *bo; in ccs_test_run_tile() 209 struct xe_bo *bo, *external; in evict_test_run_tile() 373 struct xe_bo *bo; 379 static int shrink_test_fill_random(struct xe_bo *bo, struct rnd_state *state, in shrink_test_fill_random() 401 static bool shrink_test_verify(struct kunit *test, struct xe_bo *bo, in shrink_test_verify() 481 struct xe_bo *bo; in shrink_test_run_device() 557 struct xe_bo *bo = link->bo; in shrink_test_run_device()
|
| /linux/drivers/gpu/drm/xe/display/ |
| H A D | xe_stolen.c | 13 struct xe_bo *bo; 21 struct xe_bo *bo; in xe_stolen_insert_node_in_range()
|
| H A D | xe_panic.c | 41 struct xe_bo *bo = gem_to_xe_bo(intel_fb_bo(&fb->base)); in xe_panic_page_set_pixel() 90 struct xe_bo *bo = gem_to_xe_bo(intel_fb_bo(&fb->base)); in xe_panic_setup()
|
| H A D | xe_hdcp_gsc.c | 28 struct xe_bo *hdcp_bo; 71 struct xe_bo *bo = NULL; in intel_hdcp_gsc_initialize_message()
|