gfx: pvr: add Kconfig option to dump fw trace to console
authorImre Deak <imre.deak@intel.com>
Thu, 10 Nov 2011 16:22:49 +0000 (18:22 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:28:35 +0000 (12:28 +0300)
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/Kconfig

index 2c73555..41ca4ab 100644 (file)
@@ -123,3 +123,13 @@ config PVR_TRACE_CMD_BUF_SHIFT
          1  -> 4kB
          3  -> 32kB
          10 -> 4MB
+
+config PVR_TRACE_FW_DUMP_TO_CONSOLE
+       bool "Dump firmware trace to console in case of SGX HW recovery"
+       default n
+       help
+         Answer y, if you want the firmware trace to be dumped to the
+         console automatically, in case of an SGX HW recovery. Note that
+         for this, you need a PVR user space library (and the firmware
+         within that) built with tracing enabled. The same trace is also
+         available through the firmware_trace PVR debugfs entry.