summaryrefslogtreecommitdiff
path: root/target/linux/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-11 16:48:36 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-21 15:45:15 -0500
commit86c925732207a7d942e4029985aaaa705e52eab1 (patch)
treecb55be0835a0d9765e92c3486eae90d438e25c34 /target/linux/config
parent255d02157a82cd773df249a1ba6f3420341c0f2e (diff)
be sure to have enough CMA for kodi on solidrun devices
Diffstat (limited to 'target/linux/config')
-rw-r--r--target/linux/config/Config.in.dma26
1 files changed, 25 insertions, 1 deletions
diff --git a/target/linux/config/Config.in.dma b/target/linux/config/Config.in.dma
index 144fb2d2d..1048666d2 100644
--- a/target/linux/config/Config.in.dma
+++ b/target/linux/config/Config.in.dma
@@ -6,7 +6,27 @@ config ADK_KERNEL_CMA
config ADK_KERNEL_CMA_SIZE_MBYTES
int
- default 8
+ default 256 if ADK_KERNEL_CMA_SIZE_256
+ default 128 if ADK_KERNEL_CMA_SIZE_128
+ default 64 if ADK_KERNEL_CMA_SIZE_64
+ default 8 if ADK_KERNEL_CMA_SIZE_8
+
+choice
+depends on ADK_KERNEL_CMA
+
+config ADK_KERNEL_CMA_SIZE_256
+ bool
+
+config ADK_KERNEL_CMA_SIZE_128
+ bool
+
+config ADK_KERNEL_CMA_SIZE_64
+ bool
+
+config ADK_KERNEL_CMA_SIZE_8
+ bool
+
+endchoice
config ADK_KERNEL_CMA_SIZE_SEL_MBYTES
bool
@@ -25,6 +45,7 @@ config ADK_KERNEL_DMA_BCM2708
select ADK_KERNEL_DMADEVICES
select ADK_KERNEL_CMA
select ADK_KERNEL_CMA_SIZE_SEL_MBYTES
+ select ADK_KERNEL_CMA_SIZE_128
select ADK_KERNEL_DMA_CMA
select ADK_KERNEL_BCM_VC_SM
select ADK_KERNEL_BCM_VC_CMA
@@ -34,6 +55,9 @@ config ADK_KERNEL_DMA_BCM2708
config ADK_KERNEL_IMX_SDMA
bool
+ select ADK_KERNEL_CMA
+ select ADK_KERNEL_CMA_SIZE_SEL_MBYTES
+ select ADK_KERNEL_CMA_SIZE_256
select ADK_KERNEL_DMADEVICES
select ADK_KERNEL_FW_LOADER
select ADK_KERNEL_FIRMWARE_IN_KERNEL