mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
Merge pull request #5416 from mglae/le10_libdrm_106
libdrm: update to 2.4.106 / remove included patch
This commit is contained in:
commit
7c10cdbac4
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libdrm"
|
||||
PKG_VERSION="2.4.105"
|
||||
PKG_SHA256="1d1d024b7cadc63e2b59cddaca94f78864940ab440843841113fbac6afaf2a46"
|
||||
PKG_VERSION="2.4.106"
|
||||
PKG_SHA256="92d8ac54429b171e087e61c2894dc5399fe6a549b1fbba09fa6a3cb9d4e57bd4"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://dri.freedesktop.org"
|
||||
PKG_URL="http://dri.freedesktop.org/libdrm/libdrm-${PKG_VERSION}.tar.xz"
|
||||
|
@ -1,35 +0,0 @@
|
||||
From 40f73d0b0b3936ccadc693edc25aad70c1225766 Mon Sep 17 00:00:00 2001
|
||||
From: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
|
||||
Date: Wed, 21 Apr 2021 21:31:06 +0200
|
||||
Subject: [PATCH] Revert "xf86drmMode: set FB_MODIFIERS flag when modifiers are
|
||||
supplied"
|
||||
|
||||
This reverts commit b362850689d1b0048b7f4641cc236128b5a43773.
|
||||
|
||||
This breaks when the kernel driver does not support modifiers and the
|
||||
application properly zeroes the modifiers.
|
||||
|
||||
Acked-by: Simon Ser <contact@emersion.fr>
|
||||
---
|
||||
xf86drmMode.c | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/xf86drmMode.c b/xf86drmMode.c
|
||||
index dc177241..c3920b91 100644
|
||||
--- a/xf86drmMode.c
|
||||
+++ b/xf86drmMode.c
|
||||
@@ -289,10 +289,8 @@ drm_public int drmModeAddFB2WithModifiers(int fd, uint32_t width,
|
||||
memcpy(f.handles, bo_handles, 4 * sizeof(bo_handles[0]));
|
||||
memcpy(f.pitches, pitches, 4 * sizeof(pitches[0]));
|
||||
memcpy(f.offsets, offsets, 4 * sizeof(offsets[0]));
|
||||
- if (modifier) {
|
||||
- f.flags |= DRM_MODE_FB_MODIFIERS;
|
||||
+ if (modifier)
|
||||
memcpy(f.modifier, modifier, 4 * sizeof(modifier[0]));
|
||||
- }
|
||||
|
||||
if ((ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ADDFB2, &f)))
|
||||
return ret;
|
||||
--
|
||||
GitLab
|
||||
|
Loading…
x
Reference in New Issue
Block a user