summaryrefslogtreecommitdiff
path: root/drivers/mxc
diff options
context:
space:
mode:
authorRichard Liu <r66033@freescale.com>2014-05-12 15:02:38 +0800
committerRichard Liu <r66033@freescale.com>2014-05-15 15:09:30 +0800
commit2094dfffd3ee5364c832a65d3b55f08ba4dd3295 (patch)
tree1837ecd6ef91cad83ebc15dc6bda143fccd0a81a /drivers/mxc
parent5db76ac6bdd54f3825a3e2d339bbd44ead73987e (diff)
ENGR00313001-1 add CONFIG_GPU_LOW_MEMORY_KILLER and default enable
add CONFIG_GPU_LOW_MEMORY_KILLER and by default enable GPU low memory killer. Signed-off-by: Richard Liu <r66033@freescale.com>
Diffstat (limited to 'drivers/mxc')
-rw-r--r--drivers/mxc/gpu-viv/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/mxc/gpu-viv/Kconfig b/drivers/mxc/gpu-viv/Kconfig
index 682d8eda0ab2..b63590a345d9 100644
--- a/drivers/mxc/gpu-viv/Kconfig
+++ b/drivers/mxc/gpu-viv/Kconfig
@@ -6,4 +6,15 @@ config MXC_GPU_VIV
---help---
Say Y to get the GPU driver support.
+config GPU_LOW_MEMORY_KILLER
+ tristate "Reserved memory account to Low memory Killer"
+ depends on ANDROID
+ default n
+ ---help---
+ Resigter reserved memory account to low memory killer, These
+ reserved memory is mainly used by GPU driver, but it's not
+ account by low memory killer, so even it takes much memory,
+ it will not killed. add this to fix this, it will kill the
+ large memory app in background.
+
endmenu