1*dd08ebf6SMatthew Brost# SPDX-License-Identifier: GPL-2.0-only 2*dd08ebf6SMatthew Brostconfig DRM_XE_WERROR 3*dd08ebf6SMatthew Brost bool "Force GCC to throw an error instead of a warning when compiling" 4*dd08ebf6SMatthew Brost # As this may inadvertently break the build, only allow the user 5*dd08ebf6SMatthew Brost # to shoot oneself in the foot iff they aim really hard 6*dd08ebf6SMatthew Brost depends on EXPERT 7*dd08ebf6SMatthew Brost # We use the dependency on !COMPILE_TEST to not be enabled in 8*dd08ebf6SMatthew Brost # allmodconfig or allyesconfig configurations 9*dd08ebf6SMatthew Brost depends on !COMPILE_TEST 10*dd08ebf6SMatthew Brost default n 11*dd08ebf6SMatthew Brost help 12*dd08ebf6SMatthew Brost Add -Werror to the build flags for (and only for) xe.ko. 13*dd08ebf6SMatthew Brost Do not enable this unless you are writing code for the xe.ko module. 14*dd08ebf6SMatthew Brost 15*dd08ebf6SMatthew Brost Recommended for driver developers only. 16*dd08ebf6SMatthew Brost 17*dd08ebf6SMatthew Brost If in doubt, say "N". 18*dd08ebf6SMatthew Brost 19*dd08ebf6SMatthew Brostconfig DRM_XE_DEBUG 20*dd08ebf6SMatthew Brost bool "Enable additional driver debugging" 21*dd08ebf6SMatthew Brost depends on DRM_XE 22*dd08ebf6SMatthew Brost depends on EXPERT 23*dd08ebf6SMatthew Brost depends on !COMPILE_TEST 24*dd08ebf6SMatthew Brost default n 25*dd08ebf6SMatthew Brost help 26*dd08ebf6SMatthew Brost Choose this option to turn on extra driver debugging that may affect 27*dd08ebf6SMatthew Brost performance but will catch some internal issues. 28*dd08ebf6SMatthew Brost 29*dd08ebf6SMatthew Brost Recommended for driver developers only. 30*dd08ebf6SMatthew Brost 31*dd08ebf6SMatthew Brost If in doubt, say "N". 32*dd08ebf6SMatthew Brost 33*dd08ebf6SMatthew Brostconfig DRM_XE_DEBUG_VM 34*dd08ebf6SMatthew Brost bool "Enable extra VM debugging info" 35*dd08ebf6SMatthew Brost default n 36*dd08ebf6SMatthew Brost help 37*dd08ebf6SMatthew Brost Enable extra VM debugging info 38*dd08ebf6SMatthew Brost 39*dd08ebf6SMatthew Brost Recommended for driver developers only. 40*dd08ebf6SMatthew Brost 41*dd08ebf6SMatthew Brost If in doubt, say "N". 42*dd08ebf6SMatthew Brost 43*dd08ebf6SMatthew Brostconfig DRM_XE_DEBUG_MEM 44*dd08ebf6SMatthew Brost bool "Enable passing SYS/LMEM addresses to user space" 45*dd08ebf6SMatthew Brost default n 46*dd08ebf6SMatthew Brost help 47*dd08ebf6SMatthew Brost Pass object location trough uapi. Intended for extended 48*dd08ebf6SMatthew Brost testing and development only. 49*dd08ebf6SMatthew Brost 50*dd08ebf6SMatthew Brost Recommended for driver developers only. 51*dd08ebf6SMatthew Brost 52*dd08ebf6SMatthew Brost If in doubt, say "N". 53*dd08ebf6SMatthew Brost 54*dd08ebf6SMatthew Brostconfig DRM_XE_SIMPLE_ERROR_CAPTURE 55*dd08ebf6SMatthew Brost bool "Enable simple error capture to dmesg on job timeout" 56*dd08ebf6SMatthew Brost default n 57*dd08ebf6SMatthew Brost help 58*dd08ebf6SMatthew Brost Choose this option when debugging an unexpected job timeout 59*dd08ebf6SMatthew Brost 60*dd08ebf6SMatthew Brost Recommended for driver developers only. 61*dd08ebf6SMatthew Brost 62*dd08ebf6SMatthew Brost If in doubt, say "N". 63*dd08ebf6SMatthew Brost 64*dd08ebf6SMatthew Brostconfig DRM_XE_KUNIT_TEST 65*dd08ebf6SMatthew Brost tristate "KUnit tests for the drm xe driver" if !KUNIT_ALL_TESTS 66*dd08ebf6SMatthew Brost depends on DRM_XE && KUNIT 67*dd08ebf6SMatthew Brost default KUNIT_ALL_TESTS 68*dd08ebf6SMatthew Brost select DRM_EXPORT_FOR_TESTS if m 69*dd08ebf6SMatthew Brost help 70*dd08ebf6SMatthew Brost Choose this option to allow the driver to perform selftests under 71*dd08ebf6SMatthew Brost the kunit framework 72*dd08ebf6SMatthew Brost 73*dd08ebf6SMatthew Brost Recommended for driver developers only. 74*dd08ebf6SMatthew Brost 75*dd08ebf6SMatthew Brost If in doubt, say "N". 76*dd08ebf6SMatthew Brost 77*dd08ebf6SMatthew Brostconfig DRM_XE_LARGE_GUC_BUFFER 78*dd08ebf6SMatthew Brost bool "Enable larger guc log buffer" 79*dd08ebf6SMatthew Brost default n 80*dd08ebf6SMatthew Brost help 81*dd08ebf6SMatthew Brost Choose this option when debugging guc issues. 82*dd08ebf6SMatthew Brost Buffer should be large enough for complex issues. 83*dd08ebf6SMatthew Brost 84*dd08ebf6SMatthew Brost Recommended for driver developers only. 85*dd08ebf6SMatthew Brost 86*dd08ebf6SMatthew Brost If in doubt, say "N". 87*dd08ebf6SMatthew Brost 88*dd08ebf6SMatthew Brostconfig DRM_XE_USERPTR_INVAL_INJECT 89*dd08ebf6SMatthew Brost bool "Inject userptr invalidation -EINVAL errors" 90*dd08ebf6SMatthew Brost default n 91*dd08ebf6SMatthew Brost help 92*dd08ebf6SMatthew Brost Choose this option when debugging error paths that 93*dd08ebf6SMatthew Brost are hit during checks for userptr invalidations. 94*dd08ebf6SMatthew Brost 95*dd08ebf6SMatthew Brost Recomended for driver developers only. 96*dd08ebf6SMatthew Brost If in doubt, say "N". 97