From 0f097e57da9db32c2f894beca254ffb45734a7bd Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Thu, 10 Nov 2011 18:22:49 +0200 Subject: [PATCH] gfx: pvr: add Kconfig option to dump fw trace to console Signed-off-by: Imre Deak Signed-off-by: Kirill A. Shutemov --- drivers/staging/mrst/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/mrst/Kconfig b/drivers/staging/mrst/Kconfig index 2c73555..41ca4ab 100644 --- a/drivers/staging/mrst/Kconfig +++ b/drivers/staging/mrst/Kconfig @@ -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. -- 2.7.4