1dd08ebf6SMatthew Brost# SPDX-License-Identifier: GPL-2.0-only 2dd08ebf6SMatthew Brostconfig DRM_XE_WERROR 3dd08ebf6SMatthew Brost bool "Force GCC to throw an error instead of a warning when compiling" 4dd08ebf6SMatthew Brost # As this may inadvertently break the build, only allow the user 5dd08ebf6SMatthew Brost # to shoot oneself in the foot iff they aim really hard 6dd08ebf6SMatthew Brost depends on EXPERT 7dd08ebf6SMatthew Brost # We use the dependency on !COMPILE_TEST to not be enabled in 8dd08ebf6SMatthew Brost # allmodconfig or allyesconfig configurations 9dd08ebf6SMatthew Brost depends on !COMPILE_TEST 10dd08ebf6SMatthew Brost default n 11dd08ebf6SMatthew Brost help 12dd08ebf6SMatthew Brost Add -Werror to the build flags for (and only for) xe.ko. 13dd08ebf6SMatthew Brost Do not enable this unless you are writing code for the xe.ko module. 14dd08ebf6SMatthew Brost 15dd08ebf6SMatthew Brost Recommended for driver developers only. 16dd08ebf6SMatthew Brost 17dd08ebf6SMatthew Brost If in doubt, say "N". 18dd08ebf6SMatthew Brost 19dd08ebf6SMatthew Brostconfig DRM_XE_DEBUG 20dd08ebf6SMatthew Brost bool "Enable additional driver debugging" 21dd08ebf6SMatthew Brost depends on DRM_XE 22dd08ebf6SMatthew Brost depends on EXPERT 23dd08ebf6SMatthew Brost depends on !COMPILE_TEST 24dd08ebf6SMatthew Brost default n 25dd08ebf6SMatthew Brost help 26dd08ebf6SMatthew Brost Choose this option to turn on extra driver debugging that may affect 27dd08ebf6SMatthew Brost performance but will catch some internal issues. 28dd08ebf6SMatthew Brost 29dd08ebf6SMatthew Brost Recommended for driver developers only. 30dd08ebf6SMatthew Brost 31dd08ebf6SMatthew Brost If in doubt, say "N". 32dd08ebf6SMatthew Brost 33dd08ebf6SMatthew Brostconfig DRM_XE_DEBUG_VM 34dd08ebf6SMatthew Brost bool "Enable extra VM debugging info" 35dd08ebf6SMatthew Brost default n 36dd08ebf6SMatthew Brost help 37dd08ebf6SMatthew Brost Enable extra VM debugging info 38dd08ebf6SMatthew Brost 39dd08ebf6SMatthew Brost Recommended for driver developers only. 40dd08ebf6SMatthew Brost 41dd08ebf6SMatthew Brost If in doubt, say "N". 42dd08ebf6SMatthew Brost 43*869580c4SMichal Wajdeczkoconfig DRM_XE_DEBUG_SRIOV 44*869580c4SMichal Wajdeczko bool "Enable extra SR-IOV debugging" 45*869580c4SMichal Wajdeczko default n 46*869580c4SMichal Wajdeczko imply DRM_XE_DEBUG_MEMIRQ 47*869580c4SMichal Wajdeczko help 48*869580c4SMichal Wajdeczko Enable extra SR-IOV debugging info. 49*869580c4SMichal Wajdeczko 50*869580c4SMichal Wajdeczko Recommended for driver developers only. 51*869580c4SMichal Wajdeczko 52*869580c4SMichal Wajdeczko If in doubt, say "N". 53*869580c4SMichal Wajdeczko 54b46afdacSIlia Leviconfig DRM_XE_DEBUG_MEMIRQ 55b46afdacSIlia Levi bool "Enable extra memirq debugging" 56b46afdacSIlia Levi default n 57b46afdacSIlia Levi help 58b46afdacSIlia Levi Choose this option to enable additional debugging info for 59b46afdacSIlia Levi memory based interrupts. 60b46afdacSIlia Levi 61b46afdacSIlia Levi Recommended for driver developers only. 62b46afdacSIlia Levi 63b46afdacSIlia Levi If in doubt, say "N". 64b46afdacSIlia Levi 65dd08ebf6SMatthew Brostconfig DRM_XE_DEBUG_MEM 662a8477f7SMatthew Auld bool "Enable passing SYS/VRAM addresses to user space" 67dd08ebf6SMatthew Brost default n 68dd08ebf6SMatthew Brost help 6975fd04f2SNitin Gote Pass object location through uapi. Intended for extended 70dd08ebf6SMatthew Brost testing and development only. 71dd08ebf6SMatthew Brost 72dd08ebf6SMatthew Brost Recommended for driver developers only. 73dd08ebf6SMatthew Brost 74dd08ebf6SMatthew Brost If in doubt, say "N". 75dd08ebf6SMatthew Brost 76dd08ebf6SMatthew Brostconfig DRM_XE_KUNIT_TEST 77dd08ebf6SMatthew Brost tristate "KUnit tests for the drm xe driver" if !KUNIT_ALL_TESTS 781598955dSMauro Carvalho Chehab depends on DRM_XE && KUNIT && DEBUG_FS 79dd08ebf6SMatthew Brost default KUNIT_ALL_TESTS 80dd08ebf6SMatthew Brost select DRM_EXPORT_FOR_TESTS if m 81dd08ebf6SMatthew Brost help 82dd08ebf6SMatthew Brost Choose this option to allow the driver to perform selftests under 83dd08ebf6SMatthew Brost the kunit framework 84dd08ebf6SMatthew Brost 85dd08ebf6SMatthew Brost Recommended for driver developers only. 86dd08ebf6SMatthew Brost 87dd08ebf6SMatthew Brost If in doubt, say "N". 88dd08ebf6SMatthew Brost 89d7d97890SJohn Harrisonconfig DRM_XE_DEBUG_GUC 90d7d97890SJohn Harrison bool "Enable extra GuC related debug options" 91d7d97890SJohn Harrison depends on DRM_XE_DEBUG 92dd08ebf6SMatthew Brost default n 9316b7e65dSJohn Harrison select STACKDEPOT 94dd08ebf6SMatthew Brost help 95dd08ebf6SMatthew Brost Choose this option when debugging guc issues. 96d7d97890SJohn Harrison The GuC log buffer is increased to the maximum allowed, which should 9716b7e65dSJohn Harrison be large enough for complex issues. The tracking of FAST_REQ messages 9816b7e65dSJohn Harrison is extended to include a record of the calling stack, which is then 9916b7e65dSJohn Harrison dumped on a FAST_REQ error notification. 100dd08ebf6SMatthew Brost 101dd08ebf6SMatthew Brost Recommended for driver developers only. 102dd08ebf6SMatthew Brost 103dd08ebf6SMatthew Brost If in doubt, say "N". 104dd08ebf6SMatthew Brost 105dd08ebf6SMatthew Brostconfig DRM_XE_USERPTR_INVAL_INJECT 106dd08ebf6SMatthew Brost bool "Inject userptr invalidation -EINVAL errors" 1079e978741SMatthew Auld depends on DRM_GPUSVM 108dd08ebf6SMatthew Brost default n 109dd08ebf6SMatthew Brost help 110dd08ebf6SMatthew Brost Choose this option when debugging error paths that 111dd08ebf6SMatthew Brost are hit during checks for userptr invalidations. 112dd08ebf6SMatthew Brost 11375fd04f2SNitin Gote Recommended for driver developers only. 114dd08ebf6SMatthew Brost If in doubt, say "N". 115