diff options
author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2018-03-26 21:48:28 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-28 21:38:23 +0200 |
commit | 0a015ff9730c169aa0d581e3f7727752ba3ff5b3 (patch) | |
tree | 6310e571caf3493705f136ad95ff0a5f982633ad /drivers/gpu/drm/i915/Kconfig.debug | |
parent | drm/i915/guc: Handle default action received over CT (diff) | |
download | linux-0a015ff9730c169aa0d581e3f7727752ba3ff5b3.tar.xz linux-0a015ff9730c169aa0d581e3f7727752ba3ff5b3.zip |
drm/i915/guc: Trace messages from CT while in debug
During debug we may want to investigate all communication
from the Guc. Add proper tracing macros in debug config.
v2: convert remaining DRM_DEBUG into new CT_DEBUG (Michal)
v3: use dedicated Kconfig (Daniele)
v4: checkpatch
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180326194829.58836-12-michal.wajdeczko@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/Kconfig.debug')
-rw-r--r-- | drivers/gpu/drm/i915/Kconfig.debug | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug index dd5bf6389ead..80efee1ff7f3 100644 --- a/drivers/gpu/drm/i915/Kconfig.debug +++ b/drivers/gpu/drm/i915/Kconfig.debug @@ -90,6 +90,18 @@ config DRM_I915_SW_FENCE_CHECK_DAG If in doubt, say "N". +config DRM_I915_DEBUG_GUC + bool "Enable additional driver debugging for GuC" + depends on DRM_I915 + default n + help + Choose this option to turn on extra driver debugging that may affect + performance but will help resolve GuC related issues. + + Recommended for driver developers only. + + If in doubt, say "N". + config DRM_I915_SELFTEST bool "Enable selftests upon driver load" depends on DRM_I915 |