summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/android/ion/juno/juno_ion_dev.c9
-rw-r--r--linaro/configs/android.conf4
2 files changed, 9 insertions, 4 deletions
diff --git a/drivers/staging/android/ion/juno/juno_ion_dev.c b/drivers/staging/android/ion/juno/juno_ion_dev.c
index 7bdb341..4c7c3c4 100644
--- a/drivers/staging/android/ion/juno/juno_ion_dev.c
+++ b/drivers/staging/android/ion/juno/juno_ion_dev.c
@@ -26,6 +26,14 @@ struct platform_device juno_device_ion = {
.id = -1,
};
+static struct ion_cpa_platform_data cpa_config = {
+ .lowmark = 8,
+ .highmark = 128,
+ .fillmark = 64,
+ .align_order = 0,
+ .order = 9,
+};
+
struct ion_platform_heap juno_heaps[] = {
{
.id = ION_HEAP_TYPE_SYSTEM,
@@ -47,6 +55,7 @@ struct ion_platform_heap juno_heaps[] = {
.id = ION_HEAP_TYPE_COMPOUND_PAGE,
.type = ION_HEAP_TYPE_COMPOUND_PAGE,
.name = "compound_page",
+ .priv = &cpa_config,
}
};
diff --git a/linaro/configs/android.conf b/linaro/configs/android.conf
index dcb814b..07d1877 100644
--- a/linaro/configs/android.conf
+++ b/linaro/configs/android.conf
@@ -36,10 +36,6 @@ CONFIG_SW_SYNC_USER=y
CONFIG_ION_TEST=y
CONFIG_ION_JUNO=y
CONFIG_ION_COMPOUND_PAGE=y
-CONFIG_ION_COMPOUND_PAGE_SIZE=9
-CONFIG_ION_COMPOUND_PAGE_LOWMARK=16
-CONFIG_ION_COMPOUND_PAGE_FILLMARK=32
-CONFIG_ION_COMPOUND_PAGE_HIGHMARK=128
CONFIG_ION_COMPOUND_PAGE_STATS=y
CONFIG_ADF=y
CONFIG_ADF_FBDEV=y