Lines Matching +full:0 +full:xe
39 struct xe_device *xe = node_to_xe(m->private); in info() local
44 xe_pm_runtime_get(xe); in info()
46 drm_printf(&p, "graphics_verx100 %d\n", xe->info.graphics_verx100); in info()
47 drm_printf(&p, "media_verx100 %d\n", xe->info.media_verx100); in info()
49 xe_step_name(xe->info.step.graphics), in info()
50 xe_step_name(xe->info.step.media), in info()
51 xe_step_name(xe->info.step.basedie)); in info()
52 drm_printf(&p, "is_dgfx %s\n", str_yes_no(xe->info.is_dgfx)); in info()
53 drm_printf(&p, "platform %d\n", xe->info.platform); in info()
55 xe->info.subplatform > XE_SUBPLATFORM_NONE ? xe->info.subplatform : 0); in info()
56 drm_printf(&p, "devid 0x%x\n", xe->info.devid); in info()
57 drm_printf(&p, "revid %d\n", xe->info.revid); in info()
58 drm_printf(&p, "tile_count %d\n", xe->info.tile_count); in info()
59 drm_printf(&p, "vm_max_level %d\n", xe->info.vm_max_level); in info()
60 drm_printf(&p, "force_execlist %s\n", str_yes_no(xe->info.force_execlist)); in info()
61 drm_printf(&p, "has_flat_ccs %s\n", str_yes_no(xe->info.has_flat_ccs)); in info()
62 drm_printf(&p, "has_usm %s\n", str_yes_no(xe->info.has_usm)); in info()
63 drm_printf(&p, "skip_guc_pc %s\n", str_yes_no(xe->info.skip_guc_pc)); in info()
64 for_each_gt(gt, xe, id) { in info()
67 drm_printf(&p, "gt%d engine_mask 0x%llx\n", id, in info()
71 xe_pm_runtime_put(xe); in info()
72 return 0; in info()
77 struct xe_device *xe = node_to_xe(m->private); in sriov_info() local
80 xe_sriov_print_info(xe, &p); in sriov_info()
81 return 0; in sriov_info()
85 {"info", info, 0},
91 struct xe_device *xe = inode->i_private; in forcewake_open() local
96 xe_pm_runtime_get(xe); in forcewake_open()
97 for_each_gt(gt, xe, id) { in forcewake_open()
105 return 0; in forcewake_open()
108 for_each_gt(gt, xe, id) { in forcewake_open()
117 xe_pm_runtime_put(xe); in forcewake_open()
123 struct xe_device *xe = inode->i_private; in forcewake_release() local
127 for_each_gt(gt, xe, id) in forcewake_release()
129 xe_pm_runtime_put(xe); in forcewake_release()
131 return 0; in forcewake_release()
143 struct xe_device *xe = file_inode(f)->i_private; in wedged_mode_show() local
145 int len = 0; in wedged_mode_show()
147 len = scnprintf(buf, sizeof(buf), "%d\n", xe->wedged.mode); in wedged_mode_show()
155 struct xe_device *xe = file_inode(f)->i_private; in wedged_mode_set() local
161 ret = kstrtouint_from_user(ubuf, size, 0, &wedged_mode); in wedged_mode_set()
168 if (xe->wedged.mode == wedged_mode) in wedged_mode_set()
169 return 0; in wedged_mode_set()
171 xe->wedged.mode = wedged_mode; in wedged_mode_set()
173 xe_pm_runtime_get(xe); in wedged_mode_set()
174 for_each_gt(gt, xe, id) { in wedged_mode_set()
181 xe_pm_runtime_put(xe); in wedged_mode_set()
192 void xe_debugfs_register(struct xe_device *xe) in xe_debugfs_register() argument
194 struct ttm_device *bdev = &xe->ttm; in xe_debugfs_register()
195 struct drm_minor *minor = xe->drm.primary; in xe_debugfs_register()
206 debugfs_create_file("forcewake_all", 0400, root, xe, in xe_debugfs_register()
209 debugfs_create_file("wedged_mode", 0600, root, xe, in xe_debugfs_register()
230 for_each_gt(gt, xe, id) in xe_debugfs_register()