We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6b39e5 + 99e9152 commit 14e8f8eCopy full SHA for 14e8f8e
drivers/gpu/drm/xe/xe_gt.h
@@ -24,7 +24,7 @@
24
extern struct fault_attr gt_reset_failure;
25
static inline bool xe_fault_inject_gt_reset(void)
26
{
27
- return should_fail(>_reset_failure, 1);
+ return IS_ENABLED(CONFIG_DEBUG_FS) && should_fail(>_reset_failure, 1);
28
}
29
30
struct xe_gt *xe_gt_alloc(struct xe_tile *tile);
0 commit comments