diff options
author | 2025-07-25 11:01:39 +1000 | |
---|---|---|
committer | 2025-07-25 11:03:08 +1000 | |
commit | 14e8f8e74dc137ff9f1dfb2781784ceb19497ee5 (patch) | |
tree | 4cb9a7b3630cb6fe980d3e282a74884c2f2d3d2a | |
parent | Merge tag 'drm-intel-fixes-2025-07-24' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes (diff) | |
parent | drm/xe: Fix build without debugfs (diff) | |
download | wireguard-linux-14e8f8e74dc137ff9f1dfb2781784ceb19497ee5.tar.xz wireguard-linux-14e8f8e74dc137ff9f1dfb2781784ceb19497ee5.zip |
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 <airlied@redhat.com>
From: Thomas Hellstrom <thomas.hellstrom@linux.intel.com>
Link: https://lore.kernel.org/r/aIKWC2RPlbRxZc5o@fedora
-rw-r--r-- | drivers/gpu/drm/xe/xe_gt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt.h b/drivers/gpu/drm/xe/xe_gt.h index 187fa6490eaf..6357325f3939 100644 --- a/drivers/gpu/drm/xe/xe_gt.h +++ b/drivers/gpu/drm/xe/xe_gt.h @@ -24,7 +24,7 @@ extern struct fault_attr gt_reset_failure; static inline bool xe_fault_inject_gt_reset(void) { - return should_fail(>_reset_failure, 1); + return IS_ENABLED(CONFIG_DEBUG_FS) && should_fail(>_reset_failure, 1); } struct xe_gt *xe_gt_alloc(struct xe_tile *tile); |