diff options
Diffstat (limited to 'drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h')
-rw-r--r-- | drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h | 35 |
1 files changed, 35 insertions, 0 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 86e91337ca1c..afe83d08c2d4 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 @@ -114,6 +114,30 @@ #define COMMAND_PROCESSOR_VERSION 1 /* + gcdDUMP_KEY + + Set this to a string that appears in 'cat /proc/<pid>/cmdline'. E.g. 'camera'. + HAL will create dumps for the processes matching this key. +*/ +#ifndef gcdDUMP_KEY +# define gcdDUMP_KEY "process" +#endif + +/* + gcdDUMP_PATH + + The dump file location. Some processes cannot write to the sdcard. + Try apps' data dir, e.g. /data/data/com.android.launcher +*/ +#ifndef gcdDUMP_PATH +#if defined(ANDROID) +# define gcdDUMP_PATH "/mnt/sdcard/" +#else +# define gcdDUMP_PATH "./" +#endif +#endif + +/* gcdDUMP When set to 1, a dump of all states and memory uploads, as well as other @@ -342,6 +366,17 @@ #endif /* + gcdUSER_HEAP_ALLOCATOR + + Set to 1 to enable user mode heap allocator for fast memory allocation + and destroying. Otherwise, memory allocation/destroying in user mode + will be directly managed by system. Only for linux for now. +*/ +#ifndef gcdUSER_HEAP_ALLOCATOR +# define gcdUSER_HEAP_ALLOCATOR 1 +#endif + +/* gcdHEAP_SIZE Set the allocation size for the internal heaps. Each time a heap is |