summaryrefslogtreecommitdiff
path: root/drivers/mxc/gpu-viv/hal/kernel/inc
diff options
context:
space:
mode:
authorRichard Liu <r66033@freescale.com>2012-07-02 09:34:31 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:39:23 +0800
commit2ed4075ecdeffef53f9a72adfd6de1d8ad5d13bc (patch)
tree8db080ca36b2312d7d0b9bbaea274c3a0e380afd /drivers/mxc/gpu-viv/hal/kernel/inc
parent238266ea8df42e3527dc1d6e64c37df15166da36 (diff)
ENGR00215344 GPU became slow after long time run some applications
GPU became slow after long time run some applications root cause is when GPU reserved memory exhaust, GPU will request continue physical memory which will trigger defregment operation in kernel and cause system slow Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Lily Zhang
Diffstat (limited to 'drivers/mxc/gpu-viv/hal/kernel/inc')
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h8
1 files changed, 8 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 35743c62f2a2..0b7c42ce9190 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
@@ -759,6 +759,14 @@
# define gcdRATIO_FOR_SMALL_MEMORY 32
#endif
+/*
+ gcdCONTIGUOUS_SIZE_LIMIT
+ When non-zero, size of video node from gcvPOOL_CONTIGUOUS is
+ limited by gcdCONTIGUOUS_SIZE_LIMIT.
+ */
+#ifndef gcdCONTIGUOUS_SIZE_LIMIT
+# define gcdCONTIGUOUS_SIZE_LIMIT 4096
+#endif
/* gcdALPHA_KILL_IN_SHADER
*