Lines Matching refs:xe
42 struct xe_device *xe = node_to_xe(m->private);
47 xe_pm_runtime_get(xe);
49 drm_printf(&p, "graphics_verx100 %d\n", xe->info.graphics_verx100);
50 drm_printf(&p, "media_verx100 %d\n", xe->info.media_verx100);
52 xe_step_name(xe->info.step.graphics),
53 xe_step_name(xe->info.step.media),
54 xe_step_name(xe->info.step.basedie));
55 drm_printf(&p, "is_dgfx %s\n", str_yes_no(xe->info.is_dgfx));
56 drm_printf(&p, "platform %d\n", xe->info.platform);
58 xe->info.subplatform > XE_SUBPLATFORM_NONE ? xe->info.subplatform : 0);
59 drm_printf(&p, "devid 0x%x\n", xe->info.devid);
60 drm_printf(&p, "revid %d\n", xe->info.revid);
61 drm_printf(&p, "tile_count %d\n", xe->info.tile_count);
62 drm_printf(&p, "vm_max_level %d\n", xe->info.vm_max_level);
63 drm_printf(&p, "force_execlist %s\n", str_yes_no(xe->info.force_execlist));
64 drm_printf(&p, "has_flat_ccs %s\n", str_yes_no(xe->info.has_flat_ccs));
65 drm_printf(&p, "has_usm %s\n", str_yes_no(xe->info.has_usm));
66 drm_printf(&p, "skip_guc_pc %s\n", str_yes_no(xe->info.skip_guc_pc));
67 for_each_gt(gt, xe, id) {
74 xe_pm_runtime_put(xe);
80 struct xe_device *xe = node_to_xe(m->private);
83 xe_sriov_print_info(xe, &p);
87 static int workarounds(struct xe_device *xe, struct drm_printer *p)
89 xe_pm_runtime_get(xe);
90 xe_wa_device_dump(xe, p);
91 xe_pm_runtime_put(xe);
98 struct xe_device *xe = node_to_xe(m->private);
101 workarounds(xe, &p);
113 struct xe_device *xe = inode->i_private;
118 xe_pm_runtime_get(xe);
119 for_each_gt(gt, xe, id) {
130 for_each_gt(gt, xe, id) {
139 xe_pm_runtime_put(xe);
145 struct xe_device *xe = inode->i_private;
149 for_each_gt(gt, xe, id)
151 xe_pm_runtime_put(xe);
165 struct xe_device *xe = file_inode(f)->i_private;
169 len = scnprintf(buf, sizeof(buf), "%d\n", xe->wedged.mode);
177 struct xe_device *xe = file_inode(f)->i_private;
190 if (xe->wedged.mode == wedged_mode)
193 xe->wedged.mode = wedged_mode;
195 xe_pm_runtime_get(xe);
196 for_each_gt(gt, xe, id) {
200 xe_pm_runtime_put(xe);
204 xe_pm_runtime_put(xe);
218 struct xe_device *xe = file_inode(f)->i_private;
222 len = scnprintf(buf, sizeof(buf), "%d\n", xe->atomic_svm_timeslice_ms);
231 struct xe_device *xe = file_inode(f)->i_private;
239 xe->atomic_svm_timeslice_ms = atomic_svm_timeslice_ms;
250 void xe_debugfs_register(struct xe_device *xe)
252 struct ttm_device *bdev = &xe->ttm;
253 struct drm_minor *minor = xe->drm.primary;
264 debugfs_create_file("forcewake_all", 0400, root, xe,
267 debugfs_create_file("wedged_mode", 0600, root, xe,
270 debugfs_create_file("atomic_svm_timeslice_ms", 0600, root, xe,
291 for_each_gt(gt, xe, id)
294 xe_pxp_debugfs_register(xe->pxp);
298 if (IS_SRIOV_PF(xe))
299 xe_sriov_pf_debugfs_register(xe, root);