mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
Revert "iMX6: add kodi patch to disable video plane"
This reverts commit ed71b465fe9e785b016b435ae9201839b9aaa38a.
no longer applies since cfb130d42a
This commit is contained in:
parent
47559e1ebf
commit
d7d785d766
@ -1,25 +0,0 @@
|
|||||||
From 87a462afd9ff9f487b2a33f065df775ccfef8af2 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Lukas Rusak <lorusak@gmail.com>
|
|
||||||
Date: Mon, 15 Feb 2021 14:22:28 -0800
|
|
||||||
Subject: [PATCH 2/2] [hack] disable use of video plane
|
|
||||||
|
|
||||||
---
|
|
||||||
xbmc/windowing/gbm/drm/DRMUtils.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/xbmc/windowing/gbm/drm/DRMUtils.cpp b/xbmc/windowing/gbm/drm/DRMUtils.cpp
|
|
||||||
index 5593ce086b..603c8265c9 100644
|
|
||||||
--- a/xbmc/windowing/gbm/drm/DRMUtils.cpp
|
|
||||||
+++ b/xbmc/windowing/gbm/drm/DRMUtils.cpp
|
|
||||||
@@ -184,7 +184,7 @@ bool CDRMUtils::FindPlanes()
|
|
||||||
auto videoPlane = std::find_if(m_planes.begin(), m_planes.end(), [&i](auto& plane) {
|
|
||||||
if (plane->GetPossibleCrtcs() & (1 << i))
|
|
||||||
{
|
|
||||||
- return plane->SupportsFormat(DRM_FORMAT_NV12);
|
|
||||||
+ return false;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
--
|
|
||||||
2.29.2
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user