mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Revert "kodi (RPi): add patch to allow using optional vidbuf_cached dma heap"
This reverts commit af67e8627cb30005830f39723da9d424e61c2968.
This commit is contained in:
parent
84f5b37f74
commit
61285e5b32
@ -1,28 +0,0 @@
|
|||||||
From 863283c15dbba77a50f93640f77630052aef0cc5 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Dom Cobley <popcornmix@gmail.com>
|
|
||||||
Date: Wed, 31 Jul 2024 14:23:46 +0100
|
|
||||||
Subject: [PATCH] DMAHeapBufferObject: Add vidbuf_cached
|
|
||||||
|
|
||||||
This is an optional symlink that allows preferring system or cma for dmabuf allocations
|
|
||||||
(typically system for pi5 and cma for pi4)
|
|
||||||
---
|
|
||||||
xbmc/utils/DMAHeapBufferObject.cpp | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/xbmc/utils/DMAHeapBufferObject.cpp b/xbmc/utils/DMAHeapBufferObject.cpp
|
|
||||||
index ad05aa8290ac..d6457318b45e 100644
|
|
||||||
--- a/xbmc/utils/DMAHeapBufferObject.cpp
|
|
||||||
+++ b/xbmc/utils/DMAHeapBufferObject.cpp
|
|
||||||
@@ -24,7 +24,8 @@
|
|
||||||
namespace
|
|
||||||
{
|
|
||||||
|
|
||||||
-std::array<const char*, 3> DMA_HEAP_PATHS = {
|
|
||||||
+std::array<const char*, 4> DMA_HEAP_PATHS = {
|
|
||||||
+ "/dev/dma_heap/vidbuf_cached",
|
|
||||||
"/dev/dma_heap/reserved",
|
|
||||||
"/dev/dma_heap/linux,cma",
|
|
||||||
"/dev/dma_heap/system",
|
|
||||||
--
|
|
||||||
2.39.2
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user