drivers/gpu/drm/xe/xe_bb.c
105
xe_gt_assert(q->gt, bb->len * 4 + bb_prefetch(q->gt) <= size);
drivers/gpu/drm/xe/xe_bb.c
123
xe_gt_assert(q->gt, second_idx <= bb->len);
drivers/gpu/drm/xe/xe_bb.c
124
xe_gt_assert(q->gt, xe_sched_job_is_migration(q));
drivers/gpu/drm/xe/xe_bb.c
125
xe_gt_assert(q->gt, q->width == 1);
drivers/gpu/drm/xe/xe_bb.c
135
xe_gt_assert(q->gt, !xe_sched_job_is_migration(q));
drivers/gpu/drm/xe/xe_bb.c
136
xe_gt_assert(q->gt, q->width == 1);
drivers/gpu/drm/xe/xe_execlist.c
55
xe_gt_assert(hwe->gt, FIELD_FIT(XEHP_SW_CTX_ID, ctx_id));
drivers/gpu/drm/xe/xe_execlist.c
58
xe_gt_assert(hwe->gt, FIELD_FIT(SW_CTX_ID, ctx_id));
drivers/gpu/drm/xe/xe_force_wake.c
188
xe_gt_assert(gt, is_power_of_2(domains));
drivers/gpu/drm/xe/xe_force_wake.c
189
xe_gt_assert(gt, domains <= XE_FORCEWAKE_ALL);
drivers/gpu/drm/xe/xe_force_wake.c
190
xe_gt_assert(gt, domains == XE_FORCEWAKE_ALL || fw->initialized_domains & domains);
drivers/gpu/drm/xe/xe_force_wake.c
251
xe_gt_assert(gt, domain->ref);
drivers/gpu/drm/xe/xe_force_wake.h
26
xe_gt_assert(fw->gt, domain != XE_FORCEWAKE_ALL);
drivers/gpu/drm/xe/xe_force_wake.h
44
xe_gt_assert(fw->gt, domain != XE_FORCEWAKE_ALL);
drivers/gpu/drm/xe/xe_force_wake.h
45
xe_gt_assert(fw->gt, fw->awake_domains & domain);
drivers/gpu/drm/xe/xe_gt.c
1138
xe_gt_assert(gt, gt_to_xe(gt)->wedged.mode);
drivers/gpu/drm/xe/xe_gt.c
764
xe_gt_assert(gt, (gt->user_engines.mask | gt->info.engine_mask)
drivers/gpu/drm/xe/xe_gt_debugfs.c
320
xe_gt_assert(gt, minor->debugfs_root);
drivers/gpu/drm/xe/xe_gt_mcr.c
414
xe_gt_assert(gt, dss < XE_MAX_DSS_FUSE_BITS);
drivers/gpu/drm/xe/xe_gt_mcr.c
785
xe_gt_assert(gt, !IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_mcr.c
818
xe_gt_assert(gt, !IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_mcr.c
841
xe_gt_assert(gt, !IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_mcr.c
861
xe_gt_assert(gt, !IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
107
xe_gt_assert(gt, IS_SRIOV_PF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
189
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
196
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
220
xe_gt_assert(gt, !xe_pm_runtime_suspended(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
242
xe_gt_assert(gt, IS_SRIOV_PF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
266
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
299
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
52
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
58
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1038
xe_gt_assert(gt, count <= ARRAY_SIZE(actual));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1083
xe_gt_assert(gt, num_vfs);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1084
xe_gt_assert(gt, first <= last);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1124
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1187
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1188
xe_gt_assert(gt, num_vfs);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1215
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1226
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1270
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
129
xe_gt_assert(gt, num_klvs == xe_guc_klv_count(klvs, num_dwords));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1329
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1330
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1356
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1357
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1388
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1452
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1453
xe_gt_assert(gt, num_vfs);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1486
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1497
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1630
xe_gt_assert(gt, IS_DGFX(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1631
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1650
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1651
xe_gt_assert(gt, IS_DGFX(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1652
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1665
xe_gt_assert(gt, !config->lmem_obj);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1670
xe_gt_assert(gt, pf_get_lmem_alignment(gt) == SZ_2M);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1773
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1774
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1811
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1874
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1875
xe_gt_assert(gt, num_vfs);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1876
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1907
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1908
xe_gt_assert(gt, num_vfs);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
202
xe_gt_assert(gt, count && count <= GUC_MAX_SCHED_GROUPS);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2134
xe_gt_assert(gt, count <= GUC_MAX_SCHED_GROUPS);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2349
xe_gt_assert(gt, count <= GUC_MAX_SCHED_GROUPS);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
246
xe_gt_assert(gt, key);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
252
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
253
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2560
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2646
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2672
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2729
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2730
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2756
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2757
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2758
xe_gt_assert(gt, !(!buf ^ !size));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2892
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2893
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2973
xe_gt_assert(gt, IS_SRIOV_PF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
3069
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
3104
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
3140
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
3174
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
379
xe_gt_assert(gt, num_dwords <= max_cfg_dwords);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
386
xe_gt_assert(gt, !encode_config_ggtt(cfg + num_dwords, config, true));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
391
xe_gt_assert(gt, num_dwords <= max_cfg_dwords);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
398
xe_gt_assert(gt, !encode_config_ggtt(cfg + num_dwords, config, true));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
414
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
448
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
449
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
460
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
461
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
514
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
515
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
516
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
531
xe_gt_assert(gt, !xe_ggtt_node_allocated(config->ggtt_region));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
564
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
632
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
652
xe_gt_assert(gt, first);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
653
xe_gt_assert(gt, num_vfs);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
654
xe_gt_assert(gt, first <= last);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
693
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
694
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
780
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
781
xe_gt_assert(gt, num_vfs);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
782
xe_gt_assert(gt, xe_gt_is_main_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
816
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
817
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
818
xe_gt_assert(gt, !(!buf ^ !size));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
846
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
847
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
867
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
878
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
923
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
1964
xe_gt_assert(gt, len);
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
1965
xe_gt_assert(gt, FIELD_GET(GUC_HXG_MSG_0_ORIGIN, msg[0]) == GUC_HXG_ORIGIN_GUC);
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
1966
xe_gt_assert(gt, FIELD_GET(GUC_HXG_MSG_0_TYPE, msg[0]) == GUC_HXG_TYPE_EVENT);
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
1967
xe_gt_assert(gt, FIELD_GET(GUC_HXG_EVENT_MSG_0_ACTION, msg[0]) ==
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
2076
xe_gt_assert(gt, vfid <= xe_gt_sriov_pf_get_totalvfs(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
2089
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
2095
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
2119
xe_gt_assert(gt, IS_SRIOV_PF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
2150
xe_gt_assert(gt, IS_SRIOV_PF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
234
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
235
xe_gt_assert(gt, vfid <= xe_gt_sriov_pf_get_totalvfs(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
360
xe_gt_assert(gt, IS_SRIOV_PF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
369
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c
65
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
150
xe_gt_assert(gt, gt == extract_gt(parent));
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
151
xe_gt_assert(gt, PFID == extract_vfid(parent));
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
410
xe_gt_assert(gt, gt == extract_gt(parent));
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
411
xe_gt_assert(gt, vfid == extract_vfid(parent));
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
582
xe_gt_assert(gt, gt == extract_gt(parent));
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
583
xe_gt_assert(gt, vfid == extract_vfid(parent));
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
635
xe_gt_assert(gt, vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
650
xe_gt_assert(gt, sizeof(cmd) > strlen(control_cmds[n].cmd));
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
852
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
853
xe_gt_assert(gt, extract_priv(parent) == gt->tile);
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
854
xe_gt_assert(gt, extract_priv(parent->d_parent) == gt_to_xe(gt) ||
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
877
xe_gt_assert(gt, extract_gt(dent) == gt);
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
878
xe_gt_assert(gt, extract_vfid(dent) == vfid);
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
911
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
912
xe_gt_assert(gt, dent->d_inode->i_private == gt);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
1047
xe_gt_assert(gt, IS_SRIOV_PF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
126
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
127
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
128
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
146
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
147
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
148
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
189
xe_gt_assert(gt, size % sizeof(u32) == 0);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
190
xe_gt_assert(gt, size == ndwords * sizeof(u32));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
219
xe_gt_assert(gt, size % sizeof(u32) == 0);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
220
xe_gt_assert(gt, size == ndwords * sizeof(u32));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
267
xe_gt_assert(gt, size);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
268
xe_gt_assert(gt, size <= data->hdr.size);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
313
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
314
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
315
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
328
xe_gt_assert(gt, data->hdr.size);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
34
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
35
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
357
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
358
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
359
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
36
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
425
xe_gt_assert(gt, size);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
483
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
484
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
485
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
503
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
504
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
505
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
615
xe_gt_assert(gt, *offset < vram_size);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
69
xe_gt_assert(gt, size);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
694
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
695
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
696
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
714
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
715
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
716
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
735
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
736
xe_gt_assert(gt, vfid != PFID);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
737
xe_gt_assert(gt, vfid <= xe_sriov_pf_get_totalvfs(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
831
xe_gt_assert(gt, pf_migration_guc_size(gt, vfid) > 0);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
837
xe_gt_assert(gt, pf_migration_mmio_size(gt, vfid) > 0);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
952
xe_gt_assert(gt, data->hdr.tile_id == gt->tile->id);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
953
xe_gt_assert(gt, data->hdr.gt_id == gt->info.id);
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c
124
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c
28
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c
38
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c
39
xe_gt_assert(gt, e < XE_GUC_KLV_NUM_THRESHOLDS);
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c
84
xe_gt_assert(gt, len >= GUC_HXG_MSG_MIN_LEN);
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c
85
xe_gt_assert(gt, FIELD_GET(GUC_HXG_MSG_0_ORIGIN, msg[0]) == GUC_HXG_ORIGIN_GUC);
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c
86
xe_gt_assert(gt, FIELD_GET(GUC_HXG_MSG_0_TYPE, msg[0]) == GUC_HXG_TYPE_EVENT);
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c
87
xe_gt_assert(gt, FIELD_GET(GUC_HXG_EVENT_MSG_0_ACTION, msg[0]) ==
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
161
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
172
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
187
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
195
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
233
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
244
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
253
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
261
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
299
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
310
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
319
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
327
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
365
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
387
xe_gt_assert(gt, xe_gt_is_media_type(gt));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
409
xe_gt_assert(gt, !vcs_mask);
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
410
xe_gt_assert(gt, !vecs_mask);
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
411
xe_gt_assert(gt, !gsc_mask);
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
472
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
519
xe_gt_assert(gt, false);
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
523
xe_gt_assert(gt, *num_groups < GUC_MAX_SCHED_GROUPS);
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
576
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
617
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
629
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
756
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
82
xe_gt_assert(gt, num_klvs == xe_guc_klv_count(klvs, num_dwords));
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
157
xe_gt_assert(gt, IS_SRIOV_PF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
158
xe_gt_assert(gt, !gt->sriov.pf.service.runtime.size);
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
159
xe_gt_assert(gt, !gt->sriov.pf.service.runtime.regs);
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
160
xe_gt_assert(gt, !gt->sriov.pf.service.runtime.values);
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
270
xe_gt_assert(gt, major || minor);
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
271
xe_gt_assert(gt, size >= VF2PF_HANDSHAKE_RESPONSE_MSG_LEN);
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
296
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
376
xe_gt_assert(gt, msg_len >= GUC_HXG_MSG_MIN_LEN);
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
377
xe_gt_assert(gt, FIELD_GET(GUC_HXG_MSG_0_TYPE, msg[0]) == GUC_HXG_TYPE_REQUEST);
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
412
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1015
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1062
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1084
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1085
xe_gt_assert(gt, !reg.vf);
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1118
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1119
xe_gt_assert(gt, !reg.vf);
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1145
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1179
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1200
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1335
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1485
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1501
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
206
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
214
xe_gt_assert(gt, wanted.major != GUC_VERSION_MAJOR_ANY);
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
255
xe_gt_assert(gt, wanted.major != GUC_VERSION_MAJOR_ANY);
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
323
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
324
xe_gt_assert(gt, gt->sriov.vf.guc_version.major);
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
352
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
380
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
473
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
474
xe_gt_assert(gt, !GRAPHICS_VERx100(gt_to_xe(gt)) || has_gmdid(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
475
xe_gt_assert(gt, gt->sriov.vf.guc_version.major > 1 || gt->sriov.vf.guc_version.minor >= 2);
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
497
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
549
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
577
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
608
xe_gt_assert(gt, has_gmdid(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
609
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
649
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
710
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
711
xe_gt_assert(gt, gt->sriov.vf.guc_version.major);
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
726
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
727
xe_gt_assert(gt, gt->sriov.vf.guc_version.major);
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
728
xe_gt_assert(gt, gt->sriov.vf.self_config.num_ctxs);
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
745
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
846
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
878
xe_gt_assert(gt, IS_SRIOV_VF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
879
xe_gt_assert(gt, xe_gt_sriov_vf_recovery_pending(gt));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
894
xe_gt_assert(gt, IS_SRIOV_VF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
906
xe_gt_assert(gt, IS_SRIOV_VF(xe));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
940
xe_gt_assert(gt, IS_SRIOV_VF(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
941
xe_gt_assert(gt, limit);
drivers/gpu/drm/xe/xe_gt_topology.c
249
xe_gt_assert(gt, num_geometry_regs <= ARRAY_SIZE(geometry_regs));
drivers/gpu/drm/xe/xe_gt_topology.c
250
xe_gt_assert(gt, num_compute_regs <= ARRAY_SIZE(compute_regs));
drivers/gpu/drm/xe/xe_gt_topology.c
26
xe_gt_assert(gt, numregs <= ARRAY_SIZE(fuse_val));
drivers/gpu/drm/xe/xe_guc.c
1736
xe_gt_assert(guc_to_gt(guc), guc_to_xe(guc)->wedged.mode);
drivers/gpu/drm/xe/xe_guc.c
534
xe_gt_assert(gt, (gt->info.type == XE_GT_TYPE_MAIN) || (gt->info.type == XE_GT_TYPE_MEDIA));
drivers/gpu/drm/xe/xe_guc_ads.c
428
xe_gt_assert(gt, ads->bo);
drivers/gpu/drm/xe/xe_guc_ads.c
435
xe_gt_assert(gt, ads->golden_lrc_size +
drivers/gpu/drm/xe/xe_guc_ads.c
815
xe_gt_assert(gt, regset_used <= ads->regset_size);
drivers/gpu/drm/xe/xe_guc_ads.c
874
xe_gt_assert(gt, ads->bo);
drivers/gpu/drm/xe/xe_guc_ads.c
898
xe_gt_assert(gt, ads->bo);
drivers/gpu/drm/xe/xe_guc_ads.c
950
xe_gt_assert(gt, gt->default_lrc[class]);
drivers/gpu/drm/xe/xe_guc_ads.c
962
xe_gt_assert(gt, total_size == ads->golden_lrc_size);
drivers/gpu/drm/xe/xe_guc_capture.c
1827
xe_gt_assert(gt, snapshot->hwe);
drivers/gpu/drm/xe/xe_guc_capture.c
587
xe_gt_assert(gt, type < GUC_STATE_CAPTURE_TYPE_MAX);
drivers/gpu/drm/xe/xe_guc_capture.c
588
xe_gt_assert(gt, capture_class < GUC_CAPTURE_LIST_CLASS_MAX);
drivers/gpu/drm/xe/xe_guc_ct.c
1027
xe_gt_assert(gt, xe_guc_ct_initialized(ct));
drivers/gpu/drm/xe/xe_guc_ct.c
1028
xe_gt_assert(gt, !g2h_len || !g2h_fence);
drivers/gpu/drm/xe/xe_guc_ct.c
1029
xe_gt_assert(gt, !num_g2h || !g2h_fence);
drivers/gpu/drm/xe/xe_guc_ct.c
1030
xe_gt_assert(gt, !g2h_len || num_g2h);
drivers/gpu/drm/xe/xe_guc_ct.c
1031
xe_gt_assert(gt, g2h_len || !num_g2h);
drivers/gpu/drm/xe/xe_guc_ct.c
1049
xe_gt_assert(gt, xe_guc_ct_enabled(ct));
drivers/gpu/drm/xe/xe_guc_ct.c
1167
xe_gt_assert(gt, !g2h_len || !g2h_fence);
drivers/gpu/drm/xe/xe_guc_ct.c
1196
xe_gt_assert(ct_to_gt(ct), !g2h_len || !g2h_fence);
drivers/gpu/drm/xe/xe_guc_ct.c
1494
xe_gt_assert(gt, fence == g2h_fence->seqno);
drivers/gpu/drm/xe/xe_guc_ct.c
1670
xe_gt_assert(gt, xe_guc_ct_initialized(ct));
drivers/gpu/drm/xe/xe_guc_ct.c
1682
xe_gt_assert(gt, xe_guc_ct_enabled(ct));
drivers/gpu/drm/xe/xe_guc_ct.c
313
xe_gt_assert(gt, !(guc_ct_size() % PAGE_SIZE));
drivers/gpu/drm/xe/xe_guc_ct.c
338
xe_gt_assert(gt, ct->state == XE_GUC_CT_STATE_NOT_INITIALIZED);
drivers/gpu/drm/xe/xe_guc_ct.c
527
xe_gt_assert(ct_to_gt(ct), ct->g2h_outstanding == 0 ||
drivers/gpu/drm/xe/xe_guc_ct.c
605
xe_gt_assert(gt, !xe_guc_ct_enabled(ct));
drivers/gpu/drm/xe/xe_guc_ct.c
743
xe_gt_assert(ct_to_gt(ct), g2h->info.space == credits);
drivers/gpu/drm/xe/xe_guc_ct.c
823
xe_gt_assert(ct_to_gt(ct), g2h_len <= ct->ctbs.g2h.info.space);
drivers/gpu/drm/xe/xe_guc_ct.c
824
xe_gt_assert(ct_to_gt(ct), (!g2h_len && !num_g2h) ||
drivers/gpu/drm/xe/xe_guc_ct.c
930
xe_gt_assert(gt, full_len <= GUC_CTB_MSG_MAX_LEN);
drivers/gpu/drm/xe/xe_guc_db_mgr.c
46
#define dbm_assert(_dbm, _cond) xe_gt_assert(dbm_to_gt(_dbm), _cond)
drivers/gpu/drm/xe/xe_guc_engine_activity.c
308
xe_gt_assert(guc_to_gt(guc), index < engine_activity->num_activity_group);
drivers/gpu/drm/xe/xe_guc_id_mgr.c
32
#define idm_assert(idm, cond) xe_gt_assert(idm_to_gt(idm), cond)
drivers/gpu/drm/xe/xe_guc_pc.c
1243
xe_gt_assert(gt, xe_device_uc_enabled(xe));
drivers/gpu/drm/xe/xe_guc_relay.c
68
#define relay_assert(relay, condition) xe_gt_assert(relay_to_gt(relay), condition)
drivers/gpu/drm/xe/xe_guc_submit.c
1042
xe_gt_assert(guc_to_gt(guc), FIELD_FIT(WQ_LEN_MASK, len_dw));
drivers/gpu/drm/xe/xe_guc_submit.c
1082
xe_gt_assert(guc_to_gt(guc), i == wqi_size / sizeof(u32));
drivers/gpu/drm/xe/xe_guc_submit.c
1088
xe_gt_assert(guc_to_gt(guc), q->guc->wqi_tail <= WQ_SIZE);
drivers/gpu/drm/xe/xe_guc_submit.c
1107
xe_gt_assert(guc_to_gt(guc), exec_queue_registered(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1166
xe_gt_assert(guc_to_gt(guc), !(exec_queue_destroyed(q) || exec_queue_pending_disable(q)) ||
drivers/gpu/drm/xe/xe_guc_submit.c
1280
xe_gt_assert(guc_to_gt(guc), guc_to_xe(guc)->wedged.mode);
drivers/gpu/drm/xe/xe_guc_submit.c
1367
xe_gt_assert(gt, timeout_ms < 100 * MSEC_PER_SEC);
drivers/gpu/drm/xe/xe_guc_submit.c
1391
xe_gt_assert(guc_to_gt(guc), !exec_queue_destroyed(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1392
xe_gt_assert(guc_to_gt(guc), exec_queue_registered(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1393
xe_gt_assert(guc_to_gt(guc), !exec_queue_pending_disable(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1394
xe_gt_assert(guc_to_gt(guc), !exec_queue_pending_enable(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1423
xe_gt_assert(guc_to_gt(guc), !exec_queue_destroyed(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1424
xe_gt_assert(guc_to_gt(guc), exec_queue_registered(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1425
xe_gt_assert(guc_to_gt(guc), !exec_queue_pending_disable(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1454
xe_gt_assert(guc_to_gt(guc), !exec_queue_destroyed(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1480
xe_gt_assert(guc_to_gt(guc), skip_timeout_check);
drivers/gpu/drm/xe/xe_guc_submit.c
1706
xe_gt_assert(guc_to_gt(guc), !(q->flags & EXEC_QUEUE_FLAG_PERMANENT));
drivers/gpu/drm/xe/xe_guc_submit.c
1766
xe_gt_assert(guc_to_gt(guc), exec_queue_suspended(q) || exec_queue_killed(q) ||
drivers/gpu/drm/xe/xe_guc_submit.c
1768
xe_gt_assert(guc_to_gt(guc), q->guc->suspend_pending);
drivers/gpu/drm/xe/xe_guc_submit.c
1815
xe_gt_assert(guc_to_gt(guc), !xe_exec_queue_is_parallel(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1816
xe_gt_assert(guc_to_gt(guc), !exec_queue_destroyed(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1817
xe_gt_assert(guc_to_gt(guc), exec_queue_registered(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1818
xe_gt_assert(guc_to_gt(guc), !exec_queue_pending_disable(q));
drivers/gpu/drm/xe/xe_guc_submit.c
1866
xe_gt_assert(guc_to_gt(guc), len <= MAX_MULTI_QUEUE_CGP_SYNC_SIZE);
drivers/gpu/drm/xe/xe_guc_submit.c
1932
xe_gt_assert(guc_to_gt(guc), xe_device_uc_enabled(guc_to_xe(guc)));
drivers/gpu/drm/xe/xe_guc_submit.c
2140
xe_gt_assert(guc_to_gt(exec_queue_to_guc(q)), xe_exec_queue_is_multi_queue(q));
drivers/gpu/drm/xe/xe_guc_submit.c
2221
xe_gt_assert(guc_to_gt(guc), !q->guc->suspend_pending);
drivers/gpu/drm/xe/xe_guc_submit.c
2350
xe_gt_assert(guc_to_gt(guc), xe_guc_read_stopped(guc) == 1);
drivers/gpu/drm/xe/xe_guc_submit.c
2508
xe_gt_assert(guc_to_gt(guc), IS_SRIOV_VF(guc_to_xe(guc)));
drivers/gpu/drm/xe/xe_guc_submit.c
2509
xe_gt_assert(guc_to_gt(guc), vf_recovery(guc));
drivers/gpu/drm/xe/xe_guc_submit.c
2558
xe_gt_assert(guc_to_gt(guc), xe_guc_read_stopped(guc) == 1);
drivers/gpu/drm/xe/xe_guc_submit.c
257
xe_gt_assert(gt, ret);
drivers/gpu/drm/xe/xe_guc_submit.c
2609
xe_gt_assert(guc_to_gt(guc), IS_SRIOV_VF(guc_to_xe(guc)));
drivers/gpu/drm/xe/xe_guc_submit.c
2610
xe_gt_assert(guc_to_gt(guc), vf_recovery(guc));
drivers/gpu/drm/xe/xe_guc_submit.c
2700
xe_gt_assert(guc_to_gt(guc), IS_SRIOV_VF(guc_to_xe(guc)));
drivers/gpu/drm/xe/xe_guc_submit.c
2757
xe_gt_assert(guc_to_gt(guc), guc_id >= q->guc->id);
drivers/gpu/drm/xe/xe_guc_submit.c
2758
xe_gt_assert(guc_to_gt(guc), guc_id < (q->guc->id + q->width));
drivers/gpu/drm/xe/xe_guc_submit.c
2770
xe_gt_assert(guc_to_gt(guc), exec_queue_destroyed(q));
drivers/gpu/drm/xe/xe_guc_submit.c
2771
xe_gt_assert(guc_to_gt(guc), exec_queue_registered(q));
drivers/gpu/drm/xe/xe_guc_submit.c
2772
xe_gt_assert(guc_to_gt(guc), !exec_queue_pending_disable(q));
drivers/gpu/drm/xe/xe_guc_submit.c
2773
xe_gt_assert(guc_to_gt(guc), !exec_queue_pending_enable(q));
drivers/gpu/drm/xe/xe_guc_submit.c
2790
xe_gt_assert(guc_to_gt(guc), exec_queue_pending_enable(q));
drivers/gpu/drm/xe/xe_guc_submit.c
2798
xe_gt_assert(guc_to_gt(guc), runnable_state == 0);
drivers/gpu/drm/xe/xe_guc_submit.c
2799
xe_gt_assert(guc_to_gt(guc), exec_queue_pending_disable(q));
drivers/gpu/drm/xe/xe_guc_submit.c
3321
xe_gt_assert(gt, IS_SRIOV_VF(xe));
drivers/gpu/drm/xe/xe_guc_submit.c
3322
xe_gt_assert(gt, !IS_DGFX(xe));
drivers/gpu/drm/xe/xe_guc_submit.c
3323
xe_gt_assert(gt, ctx_type == GUC_CONTEXT_COMPRESSION_SAVE ||
drivers/gpu/drm/xe/xe_guc_submit.c
3325
xe_gt_assert(gt, GUC_SUBMIT_VER(guc) >= MAKE_GUC_VER(1, 23, 0));
drivers/gpu/drm/xe/xe_guc_submit.c
532
xe_gt_assert(guc_to_gt(guc), exec_queue_registered(q) &&
drivers/gpu/drm/xe/xe_guc_submit.c
584
xe_gt_assert(guc_to_gt(exec_queue_to_guc(q)),
drivers/gpu/drm/xe/xe_guc_submit.c
632
xe_gt_assert(guc_to_gt(exec_queue_to_guc(q)),
drivers/gpu/drm/xe/xe_guc_submit.c
807
xe_gt_assert(guc_to_gt(guc), len <= MAX_MULTI_QUEUE_REG_SIZE);
drivers/gpu/drm/xe/xe_guc_submit.c
825
xe_gt_assert(guc_to_gt(guc), xe_exec_queue_is_multi_queue_secondary(q));
drivers/gpu/drm/xe/xe_guc_submit.c
830
xe_gt_assert(guc_to_gt(guc), len <= MAX_MULTI_QUEUE_CGP_SYNC_SIZE);
drivers/gpu/drm/xe/xe_guc_submit.c
850
xe_gt_assert(guc_to_gt(guc), xe_exec_queue_is_parallel(q));
drivers/gpu/drm/xe/xe_guc_submit.c
874
xe_gt_assert(guc_to_gt(guc), info->wq_desc_lo ==
drivers/gpu/drm/xe/xe_guc_submit.c
876
xe_gt_assert(guc_to_gt(guc), info->wq_base_lo ==
drivers/gpu/drm/xe/xe_guc_submit.c
878
xe_gt_assert(guc_to_gt(guc), q->width ==
drivers/gpu/drm/xe/xe_guc_submit.c
880
xe_gt_assert(guc_to_gt(guc), info->hwlrca_lo ==
drivers/gpu/drm/xe/xe_guc_submit.c
882
xe_gt_assert(guc_to_gt(guc), len <= MAX_MLRC_REG_SIZE);
drivers/gpu/drm/xe/xe_guc_submit.c
907
xe_gt_assert(guc_to_gt(guc), info->wq_desc_lo ==
drivers/gpu/drm/xe/xe_guc_submit.c
909
xe_gt_assert(guc_to_gt(guc), info->wq_base_lo ==
drivers/gpu/drm/xe/xe_guc_submit.c
911
xe_gt_assert(guc_to_gt(guc), info->hwlrca_lo ==
drivers/gpu/drm/xe/xe_guc_submit.c
924
xe_gt_assert(guc_to_gt(guc), !exec_queue_registered(q));
drivers/gpu/drm/xe/xe_guc_submit.c
925
xe_gt_assert(guc_to_gt(guc), ctx_type < GUC_CONTEXT_COUNT);
drivers/gpu/drm/xe/xe_guc_tlb_inval.c
171
xe_gt_assert(gt, length >= SZ_4K);
drivers/gpu/drm/xe/xe_guc_tlb_inval.c
172
xe_gt_assert(gt, is_power_of_2(length));
drivers/gpu/drm/xe/xe_guc_tlb_inval.c
173
xe_gt_assert(gt, !(length & GENMASK(ilog2(SZ_16M) - 1,
drivers/gpu/drm/xe/xe_guc_tlb_inval.c
175
xe_gt_assert(gt, IS_ALIGNED(start, length));
drivers/gpu/drm/xe/xe_guc_tlb_inval.c
185
xe_gt_assert(gt, len <= MAX_TLB_INVALIDATION_LEN);
drivers/gpu/drm/xe/xe_guc_tlb_inval.c
31
xe_gt_assert(gt, action[1]); /* Seqno */
drivers/gpu/drm/xe/xe_hw_engine.c
298
xe_gt_assert(hwe->gt, !(reg.addr & hwe->mmio_base));
drivers/gpu/drm/xe/xe_hw_engine.c
318
xe_gt_assert(hwe->gt, !(reg.addr & hwe->mmio_base));
drivers/gpu/drm/xe/xe_hw_engine.c
497
xe_gt_assert(gt, info);
drivers/gpu/drm/xe/xe_hw_engine.c
515
xe_gt_assert(gt, !hwe->gt);
drivers/gpu/drm/xe/xe_hw_engine.c
613
xe_gt_assert(gt, id < ARRAY_SIZE(engine_infos) && engine_infos[id].name);
drivers/gpu/drm/xe/xe_hw_engine.c
614
xe_gt_assert(gt, gt->info.engine_mask & BIT(id));
drivers/gpu/drm/xe/xe_hw_engine_group.c
110
xe_gt_assert(gt, false);
drivers/gpu/drm/xe/xe_lrc.c
1238
xe_gt_assert(state->hwe->gt, state->buffer);
drivers/gpu/drm/xe/xe_lrc.c
208
xe_gt_assert(hwe->gt, count);
drivers/gpu/drm/xe/xe_lrc.c
2245
xe_gt_assert(gt, (instr & XE_INSTR_CMD_TYPE) == XE_INSTR_GFXPIPE);
drivers/gpu/drm/xe/xe_lrc.c
2246
xe_gt_assert(gt, num_dw != 0);
drivers/gpu/drm/xe/xe_lrc.c
2247
xe_gt_assert(gt, is_single_dw ^ (num_dw > 1));
drivers/gpu/drm/xe/xe_migrate.c
1407
xe_gt_assert(gt, cs - bb->cs == len + bb->len);
drivers/gpu/drm/xe/xe_migrate.c
1448
xe_gt_assert(gt, cs - bb->cs == len + bb->len);
drivers/gpu/drm/xe/xe_migrate.c
2532
xe_gt_assert(q->gt, q == m->q);
drivers/gpu/drm/xe/xe_migrate.c
679
xe_gt_assert(gt, FIELD_FIT(XE2_CCS_SIZE_MASK, num_pages - 1));
drivers/gpu/drm/xe/xe_migrate.c
687
xe_gt_assert(gt, FIELD_FIT(CCS_SIZE_MASK, num_ccs_blks - 1));
drivers/gpu/drm/xe/xe_migrate.c
714
xe_gt_assert(gt, !(pitch & 3));
drivers/gpu/drm/xe/xe_migrate.c
715
xe_gt_assert(gt, size / pitch <= S16_MAX);
drivers/gpu/drm/xe/xe_migrate.c
716
xe_gt_assert(gt, pitch / 4 <= S16_MAX);
drivers/gpu/drm/xe/xe_migrate.c
717
xe_gt_assert(gt, pitch <= U16_MAX);
drivers/gpu/drm/xe/xe_migrate.c
743
xe_gt_assert(gt, IS_ALIGNED(size, pitch));
drivers/gpu/drm/xe/xe_migrate.c
744
xe_gt_assert(gt, pitch <= U16_MAX);
drivers/gpu/drm/xe/xe_migrate.c
745
xe_gt_assert(gt, pitch);
drivers/gpu/drm/xe/xe_migrate.c
746
xe_gt_assert(gt, size);
drivers/gpu/drm/xe/xe_migrate.c
755
xe_gt_assert(gt, size / pitch <= U16_MAX);
drivers/gpu/drm/xe/xe_migrate.c
765
xe_gt_assert(gt, width <= U16_MAX);
drivers/gpu/drm/xe/xe_migrate.c
828
xe_gt_assert(gt, src_is_indirect || dst_is_indirect);
drivers/gpu/drm/xe/xe_oa.c
1037
xe_gt_assert(stream->gt, !err || err == -ENOENT);
drivers/gpu/drm/xe/xe_oa.c
2650
xe_gt_assert(gt, xe_device_has_mert(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_oa.c
2651
xe_gt_assert(gt, gt == xe_root_mmio_gt(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_oa.c
2656
xe_gt_assert(gt, GRAPHICS_VERx100(gt_to_xe(gt)) >= 1270);
drivers/gpu/drm/xe/xe_ring_ops.c
297
xe_gt_assert(gt, i <= MAX_JOB_SIZE_DW);
drivers/gpu/drm/xe/xe_ring_ops.c
365
xe_gt_assert(gt, i <= MAX_JOB_SIZE_DW);
drivers/gpu/drm/xe/xe_ring_ops.c
420
xe_gt_assert(gt, i <= MAX_JOB_SIZE_DW);
drivers/gpu/drm/xe/xe_ring_ops.c
456
xe_gt_assert(job->q->gt, i <= MAX_JOB_SIZE_DW);
drivers/gpu/drm/xe/xe_ring_ops.c
465
xe_gt_assert(gt, job->q->width <= 1); /* no parallel submission for GSCCS */
drivers/gpu/drm/xe/xe_uc.c
342
xe_gt_assert(uc_to_gt(uc), uc_to_xe(uc)->wedged.mode);
drivers/gpu/drm/xe/xe_uc_fw.c
244
xe_gt_assert(gt, uc_fw->type < ARRAY_SIZE(blobs_all));
drivers/gpu/drm/xe/xe_uc_fw.c
245
xe_gt_assert(gt, gt->info.type != XE_GT_TYPE_UNINITIALIZED);
drivers/gpu/drm/xe/xe_uc_fw.c
339
xe_gt_assert(gt, uc_fw->type == XE_UC_FW_TYPE_GUC);
drivers/gpu/drm/xe/xe_uc_fw.c
712
xe_gt_assert(gt, !uc_fw->status);
drivers/gpu/drm/xe/xe_uc_fw.c
713
xe_gt_assert(gt, !uc_fw->path);
drivers/gpu/drm/xe/xe_wa.h
33
xe_gt_assert(gt__, (gt__)->wa_active.oob_initialized); \