summaryrefslogtreecommitdiffstats
path: root/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch
blob: b0791e964429040df1ec29215c6614ac7157b941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From fa2e83db63fe5abdfa00d205301d12e1a271a291 Mon Sep 17 00:00:00 2001
From: Mikko Gronoff <mikko.gronoff@qt.io>
Date: Sun, 23 Apr 2017 21:47:01 +0300
Subject: [PATCH] set CMA reserved size to 384MB

Increased from 256MB (the default) to 384MB. Without this, HW-accelerated
video decoding cannot work for high resolution videos.
---
 include/configs/nitrogen6x.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
index bd4e54cb67..48114d5739 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -33,6 +33,7 @@
 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
 
 #define BD_I2C_MASK	7
+#define BD_CMA		"384M"
 
 #if defined(CONFIG_SABRELITE)
 #define CONFIG_ENV_IS_IN_MMC