summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Liu <r66033@freescale.com>2014-04-24 13:15:53 +0800
committerLoren Huang <b02279@freescale.com>2014-08-15 11:24:59 +0800
commitee7c962b5ef2840fe5df7ef31c0b27e270eaa96a (patch)
treeb0306a0d1c3aa7749707360d012b47b83e9cfba5
parent2e72d52d8067e52e1f52da666d18e3079da66bca (diff)
ENGR00310166 [#1157] disable GPU recovery function
Disable GPU auto recovery so that GPU can dump the stack. GPU support auto recovery function, when GPU meet some issue it will try to do recovery, but most of cases GPU can't really recovery, we do find some cases GPU can recovery for example some 2D hang, but customer is not accept such recovery, so show the GPU stack dump and find the root cause is the correct way. Date: Apr 24, 2014 Signed-off-by: Richard Liu <r66033@freescale.com> (cherry picked from commit 888c79ab0f114b7b259266fc82c1399cbb926faf) (cherry picked from commit 8a213f47050eb49da70877090e07323b530bf147) (cherry picked from commit 6f779e52e7678aaab198ea4caa9bac1e686a44eb)
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h
index 420437f514bc..4c1dc3ef8119 100644
--- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h
+++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h
@@ -694,7 +694,7 @@
This define enables the recovery code.
*/
#ifndef gcdENABLE_RECOVERY
-# define gcdENABLE_RECOVERY 1
+# define gcdENABLE_RECOVERY 0
#endif
/*