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 43b46afdacSIlia Leviconfig DRM_XE_DEBUG_MEMIRQ 44b46afdacSIlia Levi bool "Enable extra memirq debugging" 45b46afdacSIlia Levi default n 46b46afdacSIlia Levi help 47b46afdacSIlia Levi Choose this option to enable additional debugging info for 48b46afdacSIlia Levi memory based interrupts. 49b46afdacSIlia Levi 50b46afdacSIlia Levi Recommended for driver developers only. 51b46afdacSIlia Levi 52b46afdacSIlia Levi If in doubt, say "N". 53b46afdacSIlia Levi 54ed750833SMichal Wajdeczkoconfig DRM_XE_DEBUG_SRIOV 55ed750833SMichal Wajdeczko bool "Enable extra SR-IOV debugging" 56ed750833SMichal Wajdeczko default n 57b46afdacSIlia Levi select DRM_XE_DEBUG_MEMIRQ 58ed750833SMichal Wajdeczko help 59ed750833SMichal Wajdeczko Enable extra SR-IOV debugging info. 60ed750833SMichal Wajdeczko 61ed750833SMichal Wajdeczko Recommended for driver developers only. 62ed750833SMichal Wajdeczko 63ed750833SMichal Wajdeczko If in doubt, say "N". 64ed750833SMichal Wajdeczko 65dd08ebf6SMatthew Brostconfig DRM_XE_DEBUG_MEM 662a8477f7SMatthew Auld bool "Enable passing SYS/VRAM addresses to user space" 67dd08ebf6SMatthew Brost default n 68dd08ebf6SMatthew Brost help 69*75fd04f2SNitin 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 89dd08ebf6SMatthew Brostconfig DRM_XE_LARGE_GUC_BUFFER 90dd08ebf6SMatthew Brost bool "Enable larger guc log buffer" 91dd08ebf6SMatthew Brost default n 92dd08ebf6SMatthew Brost help 93dd08ebf6SMatthew Brost Choose this option when debugging guc issues. 94dd08ebf6SMatthew Brost Buffer should be large enough for complex issues. 95dd08ebf6SMatthew Brost 96dd08ebf6SMatthew Brost Recommended for driver developers only. 97dd08ebf6SMatthew Brost 98dd08ebf6SMatthew Brost If in doubt, say "N". 99dd08ebf6SMatthew Brost 100dd08ebf6SMatthew Brostconfig DRM_XE_USERPTR_INVAL_INJECT 101dd08ebf6SMatthew Brost bool "Inject userptr invalidation -EINVAL errors" 102dd08ebf6SMatthew Brost default n 103dd08ebf6SMatthew Brost help 104dd08ebf6SMatthew Brost Choose this option when debugging error paths that 105dd08ebf6SMatthew Brost are hit during checks for userptr invalidations. 106dd08ebf6SMatthew Brost 107*75fd04f2SNitin Gote Recommended for driver developers only. 108dd08ebf6SMatthew Brost If in doubt, say "N". 109