]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/xe/guc: Increase GuC crash dump buffer size
authorZhanjun Dong <zhanjun.dong@intel.com>
Fri, 29 Aug 2025 16:04:27 +0000 (12:04 -0400)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 2 Sep 2025 20:57:17 +0000 (13:57 -0700)
There are platforms already have a maximum dump size of 12KB, to avoid
data truncating, increase GuC crash dump buffer size to 16KB.

Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://lore.kernel.org/r/20250829160427.1245732-1-zhanjun.dong@intel.com
drivers/gpu/drm/xe/xe_guc_log.h

index f1e2b0be90a9fb7aa27ca2785a1540c4d60e172e..98a47ac42b08feb1199aaea8cecf57160408bd3c 100644 (file)
@@ -17,7 +17,7 @@ struct xe_device;
 #define DEBUG_BUFFER_SIZE       SZ_8M
 #define CAPTURE_BUFFER_SIZE     SZ_2M
 #else
-#define CRASH_BUFFER_SIZE      SZ_8K
+#define CRASH_BUFFER_SIZE      SZ_16K
 #define DEBUG_BUFFER_SIZE      SZ_64K
 #define CAPTURE_BUFFER_SIZE    SZ_1M
 #endif