]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Increase GuC log size for CONFIG_DEBUG_GEM
authorJohn Harrison <John.C.Harrison@Intel.com>
Sat, 11 Dec 2021 06:58:57 +0000 (22:58 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 20 Dec 2021 23:33:17 +0000 (15:33 -0800)
commit2896800cd3dbefc4a7b23da6e44b0c20d5bfbbe1
tree27ccfe15d84094cbbf07c66f64e58fd4ba0abc49
parent47caa95894e56b8ff80f78aefde2b2bb17fad8d2
drm/i915/guc: Increase GuC log size for CONFIG_DEBUG_GEM

Lots of testing is done with the DEBUG_GEM config option enabled but
not the DEBUG_GUC option. That means we only get teeny-tiny GuC logs
which are not hugely useful. Enabling full DEBUG_GUC also spews lots
of other detailed output that is not generally desired. However,
bigger GuC logs are extremely useful for almost any regression debug.
So enable bigger logs for DEBUG_GEM builds as well.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211211065859.2248188-3-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_log.h