| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_sriov_pf_helpers.h | 26 xe_assert((xe), (vfid) <= xe_sriov_pf_get_totalvfs(xe)) 36 xe_assert(xe, IS_SRIOV_PF(xe)); in xe_sriov_pf_get_totalvfs() 42 xe_assert(xe, IS_SRIOV_PF(xe)); in xe_sriov_pf_master_mutex()
|
| H A D | xe_pci_sriov.c | 69 xe_assert(xe, IS_SRIOV_PF(xe)); in xe_pci_pf_get_vf_dev() 120 xe_assert(xe, IS_SRIOV_PF(xe)); in pf_enable_vfs() 121 xe_assert(xe, num_vfs > 0); in pf_enable_vfs() 122 xe_assert(xe, num_vfs <= total_vfs); in pf_enable_vfs() 165 xe_assert(xe, IS_SRIOV_PF(xe)); in pf_disable_vfs()
|
| H A D | xe_hmm.c | 44 xe_assert(xe, hmm_pfn & HMM_PFN_VALID); in xe_alloc_sg() 111 xe_assert(xe, !is_device_private_page(page)); in xe_build_sg() 118 xe_assert(xe, i >= npages); in xe_build_sg() 124 xe_assert(xe, i < npages); in xe_build_sg() 143 xe_assert(vm->xe, !userptr->mapped); in xe_hmm_userptr_set_mapped() 185 xe_assert(xe_vma_vm(&uvma->vma)->xe, userptr->sg); in xe_hmm_userptr_free_sg()
|
| H A D | xe_sriov_pf.c | 56 xe_assert(xe, totalvfs <= U16_MAX); in xe_sriov_pf_readiness() 83 xe_assert(xe, IS_SRIOV_PF(xe)); in xe_sriov_pf_init_early() 99 xe_assert(xe, IS_SRIOV_PF(xe)); in xe_sriov_pf_print_vfs_summary()
|
| H A D | xe_guc.c | 60 xe_assert(xe, addr >= xe_wopcm_size(guc_to_xe(guc))); in guc_bo_ggtt_addr() 61 xe_assert(xe, addr < GUC_GGTT_TOP); in guc_bo_ggtt_addr() 62 xe_assert(xe, bo->size <= GUC_GGTT_TOP - addr); in guc_bo_ggtt_addr() 301 xe_assert(xe, !(size % SZ_4K)); in guc_action_register_g2g_buffer() 410 xe_assert(xe, xe == gt_to_xe(far_gt)); in guc_g2g_register() 413 xe_assert(xe, g2g_bo); in guc_g2g_register() 416 xe_assert(xe, slot >= 0); in guc_g2g_register() 1292 xe_assert(xe, len); in xe_guc_mmio_send_recv() 1293 xe_assert(xe, len <= VF_SW_FLAG_COUNT); in xe_guc_mmio_send_recv() 1294 xe_assert(xe, len <= MED_VF_SW_FLAG_COUNT); in xe_guc_mmio_send_recv() [all …]
|
| H A D | xe_bo.c | 170 xe_assert(xe, resource_is_vram(res)); in res_to_mem_region() 662 xe_assert(xe, attach); in xe_bo_move_dmabuf() 663 xe_assert(xe, ttm_bo->ttm); in xe_bo_move_dmabuf() 888 xe_assert(xe, migrate); in xe_bo_move() 927 xe_assert(xe, new_mem->start == in xe_bo_move() 1264 xe_assert(xe, locked); in xe_ttm_bo_lock_in_destructor() 1852 xe_assert(xe, tile); in __xe_bo_create_locked() 2054 xe_assert(xe, IS_DGFX(xe)); in xe_managed_bo_reinit_in_vram() 2097 xe_assert(xe, !bo->vm); in xe_bo_pin_external() 2201 xe_assert(xe, !bo->vm); in xe_bo_unpin_external() [all …]
|
| H A D | xe_sriov.c | 80 xe_assert(xe, !xe->sriov.__mode); in xe_sriov_probe_early() 82 xe_assert(xe, xe->sriov.__mode); in xe_sriov_probe_early() 121 xe_assert(xe, !xe->sriov.wq); in xe_sriov_init()
|
| H A D | xe_hw_engine_group.c | 152 xe_assert(xe, group); in xe_hw_engine_group_add_exec_queue() 153 xe_assert(xe, !(q->flags & EXEC_QUEUE_FLAG_VM)); in xe_hw_engine_group_add_exec_queue() 154 xe_assert(xe, q->vm); in xe_hw_engine_group_add_exec_queue() 192 xe_assert(xe, group); in xe_hw_engine_group_del_exec_queue() 193 xe_assert(xe, q->vm); in xe_hw_engine_group_del_exec_queue()
|
| H A D | xe_gt_sriov_vf_debugfs.c | 58 xe_assert(xe, IS_SRIOV_VF(xe)); in xe_gt_sriov_vf_debugfs_register() 59 xe_assert(xe, root->d_inode->i_private == gt); in xe_gt_sriov_vf_debugfs_register()
|
| H A D | xe_gt_ccs_mode.c | 25 xe_assert(xe, xe_gt_ccs_mode_enabled(gt)); in __xe_gt_apply_ccs_mode() 27 xe_assert(xe, num_engines && num_engines <= num_slices); in __xe_gt_apply_ccs_mode() 28 xe_assert(xe, !(num_slices % num_engines)); in __xe_gt_apply_ccs_mode()
|
| H A D | xe_vm.c | 76 xe_assert(xe, xe_vma_is_userptr(vma)); in xe_vma_userptr_pin_pages() 172 xe_assert(vm->xe, link != list); in arm_preempt_fences() 875 xe_assert(vm->xe, vma->tile_present); in xe_vm_rebind() 1154 xe_assert(vm->xe, start < end); in xe_vma_create() 1155 xe_assert(vm->xe, end < vm->size); in xe_vma_create() 1539 xe_assert(xe, !(flags & ~XE_PTE_PS64)); in xelp_pte_encode_addr() 1925 xe_assert(xe, xe->info.has_asid); in xe_vm_close_and_put() 1929 xe_assert(xe, lookup == vm); in xe_vm_close_and_put() 1948 xe_assert(xe, !vm->size); in vm_destroy_work_func() 2240 xe_assert(vm->xe, bo); in vm_bind_ioctl_ops_create() [all …]
|
| H A D | xe_uc_fw.c | 230 xe_assert(xe, uc_fw->type < ARRAY_SIZE(blobs_all)); in uc_fw_auto_select() 293 xe_assert(xe, !(size % 4)); in xe_uc_fw_copy_rsa() 294 xe_assert(xe, xe_uc_fw_is_available(uc_fw)); in xe_uc_fw_copy_rsa() 471 xe_assert(xe, manifest_entry); in parse_cpd_header() 523 xe_assert(xe, xe->info.platform != XE_DG2); in parse_cpd_header() 662 xe_assert(xe, !uc_fw->status); in uc_fw_request() 663 xe_assert(xe, !uc_fw->path); in uc_fw_request() 858 xe_assert(xe, !xe_uc_fw_is_loaded(uc_fw)); in xe_uc_fw_upload()
|
| H A D | xe_pxp.c | 500 xe_assert(pxp->xe, type == DRM_XE_PXP_TYPE_HWDRM); in xe_pxp_exec_queue_set_type() 536 xe_assert(pxp->xe, q->pxp.type == DRM_XE_PXP_TYPE_HWDRM); in xe_pxp_exec_queue_add() 742 xe_assert(pxp->xe, !bo->pxp_key_instance); in xe_pxp_key_assign() 776 xe_assert(pxp->xe, bo->pxp_key_instance); in xe_pxp_bo_key_check() 911 xe_assert(pxp->xe, pxp->status == XE_PXP_SUSPENDED); in xe_pxp_pm_resume()
|
| H A D | xe_shrinker.c | 253 xe_assert(shrinker->xe, !shrinker->shrinkable_pages); in xe_shrinker_destroy() 254 xe_assert(shrinker->xe, !shrinker->purgeable_pages); in xe_shrinker_destroy()
|
| H A D | xe_sriov.h | 24 xe_assert(xe, xe->sriov.__mode); in xe_device_sriov_mode()
|
| H A D | xe_vm.h | 180 xe_assert(xe_vma_vm(vma)->xe, xe_vma_is_userptr(vma)); in to_userptr_vma() 235 xe_assert(vm->xe, xe_vm_in_preempt_fence_mode(vm)); in xe_vm_queue_rebind_worker()
|
| H A D | xe_drm_client.c | 158 xe_assert(xe, !kref_read(&bo->ttm.base.refcount)); in xe_drm_client_remove_bo() 246 xe_assert(xef->xe, !list_empty(&bo->client_link)); in show_meminfo()
|
| H A D | xe_gt_topology.c | 116 xe_assert(xe, find_last_bit(pattern, XE_MAX_L3_BANK_MASK_BITS) < patternbits || in gen_l3_mask_from_pattern() 118 xe_assert(xe, !mask || patternbits * (__fls(mask) + 1) <= XE_MAX_L3_BANK_MASK_BITS); in gen_l3_mask_from_pattern()
|
| H A D | xe_pat.c | 449 xe_assert(xe, !xe->pat.ops || xe->pat.ops->dump); in xe_pat_init_early() 450 xe_assert(xe, !xe->pat.ops || xe->pat.ops->program_graphics); in xe_pat_init_early() 451 xe_assert(xe, !xe->pat.ops || MEDIA_VER(xe) < 13 || xe->pat.ops->program_media); in xe_pat_init_early()
|
| H A D | xe_assert.h | 108 #define xe_assert(xe, condition) xe_assert_msg((xe), condition, "") macro
|
| H A D | xe_sriov_vf.c | 251 xe_assert(xe, IS_SRIOV_VF(xe)); in xe_sriov_vf_start_migration_recovery()
|
| H A D | xe_mocs.c | 652 xe_assert(xe, info->unused_entries_index != 0); in get_mocs_settings() 654 xe_assert(xe, info->ops && info->ops->dump); in get_mocs_settings() 655 xe_assert(xe, info->table_size <= info->num_mocs_regs); in get_mocs_settings()
|
| H A D | xe_execlist.c | 352 xe_assert(xe, !xe_device_uc_enabled(xe)); in execlist_exec_queue_init() 397 xe_assert(xe, !xe_device_uc_enabled(xe)); in execlist_exec_queue_fini_async()
|
| H A D | xe_gsc_submit.c | 73 xe_assert(xe, !(host_session_id & HOST_SESSION_CLIENT_MASK)); in xe_gsc_emit_header()
|
| /linux-6.15/Documentation/gpu/xe/ |
| H A D | xe_debugging.rst | 7 .. kernel-doc:: drivers/gpu/drm/xe/xe_assert.h
|