97 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config DRM_XE_WERROR3 bool "Force GCC to throw an error instead of a warning when compiling"4 # As this may inadvertently break the build, only allow the user5 # to shoot oneself in the foot iff they aim really hard6 depends on EXPERT7 # We use the dependency on !COMPILE_TEST to not be enabled in8 # allmodconfig or allyesconfig configurations9 depends on !COMPILE_TEST10 default n11 help12 Add -Werror to the build flags for (and only for) xe.ko.13 Do not enable this unless you are writing code for the xe.ko module.14 15 Recommended for driver developers only.16 17 If in doubt, say "N".18 19config DRM_XE_DEBUG20 bool "Enable additional driver debugging"21 depends on DRM_XE22 depends on EXPERT23 depends on !COMPILE_TEST24 default n25 help26 Choose this option to turn on extra driver debugging that may affect27 performance but will catch some internal issues.28 29 Recommended for driver developers only.30 31 If in doubt, say "N".32 33config DRM_XE_DEBUG_VM34 bool "Enable extra VM debugging info"35 default n36 help37 Enable extra VM debugging info38 39 Recommended for driver developers only.40 41 If in doubt, say "N".42 43config DRM_XE_DEBUG_SRIOV44 bool "Enable extra SR-IOV debugging"45 default n46 help47 Enable extra SR-IOV debugging info.48 49 Recommended for driver developers only.50 51 If in doubt, say "N".52 53config DRM_XE_DEBUG_MEM54 bool "Enable passing SYS/VRAM addresses to user space"55 default n56 help57 Pass object location trough uapi. Intended for extended58 testing and development only.59 60 Recommended for driver developers only.61 62 If in doubt, say "N".63 64config DRM_XE_KUNIT_TEST65 tristate "KUnit tests for the drm xe driver" if !KUNIT_ALL_TESTS66 depends on DRM_XE && KUNIT && DEBUG_FS67 default KUNIT_ALL_TESTS68 select DRM_EXPORT_FOR_TESTS if m69 help70 Choose this option to allow the driver to perform selftests under71 the kunit framework72 73 Recommended for driver developers only.74 75 If in doubt, say "N".76 77config DRM_XE_LARGE_GUC_BUFFER78 bool "Enable larger guc log buffer"79 default n80 help81 Choose this option when debugging guc issues.82 Buffer should be large enough for complex issues.83 84 Recommended for driver developers only.85 86 If in doubt, say "N".87 88config DRM_XE_USERPTR_INVAL_INJECT89 bool "Inject userptr invalidation -EINVAL errors"90 default n91 help92 Choose this option when debugging error paths that93 are hit during checks for userptr invalidations.94 95 Recomended for driver developers only.96 If in doubt, say "N".97