]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/xe/guc: Rename CONFIG_XE_LARGE_GUC_BUFFER
authorJohn Harrison <John.C.Harrison@Intel.com>
Mon, 12 May 2025 21:53:23 +0000 (14:53 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 15 May 2025 19:27:36 +0000 (12:27 -0700)
Rename XE_LARGE_GUC_BUFFER to XE_DEBUG_GUC to allow for more debug
only code (in subsequent patch) without adding more config defines
that each control only a single thing.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/20250512215324.1457009-4-John.C.Harrison@Intel.com
drivers/gpu/drm/xe/Kconfig.debug
drivers/gpu/drm/xe/xe_guc_log.h

index 0d749ed448786bcedf0a8e3cc602f304f5edb59e..db063a513b1e5334f07ee71051625b8913354cc5 100644 (file)
@@ -86,12 +86,14 @@ config DRM_XE_KUNIT_TEST
 
          If in doubt, say "N".
 
-config DRM_XE_LARGE_GUC_BUFFER
-        bool "Enable larger guc log buffer"
+config DRM_XE_DEBUG_GUC
+        bool "Enable extra GuC related debug options"
+        depends on DRM_XE_DEBUG
         default n
         help
           Choose this option when debugging guc issues.
-          Buffer should be large enough for complex issues.
+          The GuC log buffer is increased to the maximum allowed, which should
+          be large enough for complex issues.
 
           Recommended for driver developers only.
 
index 5b896f5fafafa5c54bfc7913b97cb75d6906a059..f1e2b0be90a9fb7aa27ca2785a1540c4d60e172e 100644 (file)
@@ -12,7 +12,7 @@
 struct drm_printer;
 struct xe_device;
 
-#if IS_ENABLED(CONFIG_DRM_XE_LARGE_GUC_BUFFER)
+#if IS_ENABLED(CONFIG_DRM_XE_DEBUG_GUC)
 #define CRASH_BUFFER_SIZE       SZ_1M
 #define DEBUG_BUFFER_SIZE       SZ_8M
 #define CAPTURE_BUFFER_SIZE     SZ_2M