summaryrefslogtreecommitdiffstats
path: root/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch
blob: d730e60a14076e70a39b1ba18a0edcb3e372d6d3 (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 e21337ad1663e6fd6da4a5175ad72e629c62bab5 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 62708b839b..eb3b30b2ce 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -26,6 +26,7 @@
 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
 
 #define BD_I2C_MASK	7
+#define BD_CMA		"384M"
 
 #if defined(CONFIG_SABRELITE)
 #include "boundary.h"