Last active
August 29, 2015 14:01
-
-
Save ndufresne/d1f4ab7e999952a122cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From e951fc15388135521f4e6b9f393f497df430d0b7 Mon Sep 17 00:00:00 2001 | |
From: Nicolas Dufresne <nicolas.dufresne@collabora.com> | |
Date: Thu, 15 May 2014 16:01:09 -0400 | |
Subject: [PATCH] mfc: Adjust CMA reservation to allow 4 HD context | |
This patch configure the MFC CMA reservation to allow up to 4 contexts | |
running HD videos. Bank configurations are: | |
Left MFC: 256, Right MFC 128. | |
Note to make it work, the CMA bank need to be set to 304MB. | |
--- | |
arch/arm/mach-exynos/mach-hkdk4412.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/arch/arm/mach-exynos/mach-hkdk4412.c b/arch/arm/mach-exynos/mach-hkdk4412.c | |
index c70a0b7..7650e12 100644 | |
--- a/arch/arm/mach-exynos/mach-hkdk4412.c | |
+++ b/arch/arm/mach-exynos/mach-hkdk4412.c | |
@@ -558,7 +558,7 @@ static void __init hkdk4412_map_io(void) | |
static void __init hkdk4412_reserve(void) | |
{ | |
- s5p_mfc_reserve_mem(0x43000000, 64 << 20, 0x51000000, 64 << 20); | |
+ s5p_mfc_reserve_mem(0x43000000, 256 << 20, 0x54000000, 128 << 20); | |
} | |
#if defined(CONFIG_S5P_DEV_TV) | |
-- | |
1.9.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment