Skip to content

Commit 14e8f8e

Browse files
committed
Merge tag 'drm-xe-fixes-2025-07-24' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes
Driver Changes: - Fix build without debugfs (Lucas) Signed-off-by: Dave Airlie <[email protected]> From: Thomas Hellstrom <[email protected]> Link: https://lore.kernel.org/r/aIKWC2RPlbRxZc5o@fedora
2 parents e6b39e5 + 99e9152 commit 14e8f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/xe/xe_gt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
extern struct fault_attr gt_reset_failure;
2525
static inline bool xe_fault_inject_gt_reset(void)
2626
{
27-
return should_fail(&gt_reset_failure, 1);
27+
return IS_ENABLED(CONFIG_DEBUG_FS) && should_fail(&gt_reset_failure, 1);
2828
}
2929

3030
struct xe_gt *xe_gt_alloc(struct xe_tile *tile);

0 commit comments

Comments
 (0)