diff mbox series

[meta-arago,master,1/2] libdrm: Remove patch adding extra OMAP BO flags

Message ID 20261105203726.1306888-1-afd@ti.com
State New
Headers show
Series [meta-arago,master,1/2] libdrm: Remove patch adding extra OMAP BO flags | expand

Commit Message

Andrew Davis Nov. 5, 2026, 8:37 p.m. UTC
These are not needed by any program currently built here, nor has any
recent TI kernel supported these in a long time. Changes to Linux UAPI
files should come from the Linux source currently in use. Remove these.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 .../recipes-graphics/drm/libdrm-arago.inc     |  1 -
 ...BO-flags-to-affect-buffer-allocation.patch | 56 -------------------
 2 files changed, 57 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-graphics/drm/libdrm/0002-omap-add-OMAP_BO-flags-to-affect-buffer-allocation.patch

Comments

PRC Automation Nov. 5, 2026, 9 p.m. UTC | #1
meta-arago / na / 20261105203726.1306888-1-afd

PRC Results: PASS

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH 1/2] libdrm: Remove patch adding extra OMAP BO flags
- Submitter: From: Andrew Davis <afd@ti.com>
-From: Tomi Valkeinen <tomi.valkeinen@ti.com>
- Date: Date: Thu, 5 Nov 2026 14:37:25 -0600
-Date: Thu, 18 May 2017 10:37:11 +0300
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: ea69c75f39bdee1852084cbb09f70443cd1742a6

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: tisdk-bundle: Remove unneeded ; from *_COMMAND variables
- Commit SHA: 4b006662694490151ff274a7042e42446f2e9268

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: PASS
=========================================================
master
=====================
PASS



=========================================================
  yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc b/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc
index 5b64677a..6703fd1d 100644
--- a/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc
+++ b/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc
@@ -2,7 +2,6 @@  FILESEXTRAPATHS:prepend := "${THISDIR}/libdrm:"
 
 SRC_URI += " \
 file://0001-Add-option-to-run-a-test-indefinitely.patch \
-file://0002-omap-add-OMAP_BO-flags-to-affect-buffer-allocation.patch \
 "
 
 PR:append = ".arago4"
diff --git a/meta-arago-distro/recipes-graphics/drm/libdrm/0002-omap-add-OMAP_BO-flags-to-affect-buffer-allocation.patch b/meta-arago-distro/recipes-graphics/drm/libdrm/0002-omap-add-OMAP_BO-flags-to-affect-buffer-allocation.patch
deleted file mode 100644
index 5daa9be2..00000000
--- a/meta-arago-distro/recipes-graphics/drm/libdrm/0002-omap-add-OMAP_BO-flags-to-affect-buffer-allocation.patch
+++ /dev/null
@@ -1,56 +0,0 @@ 
-From 9810d176a7947a6e8f432e1610da15937765fa06 Mon Sep 17 00:00:00 2001
-From: Tomi Valkeinen <tomi.valkeinen@ti.com>
-Date: Thu, 18 May 2017 10:37:11 +0300
-Subject: [PATCH] omap: add OMAP_BO flags to affect buffer allocation
-
-Import the kernel header changes from "drm/omap: add OMAP_BO flags to
-affect buffer allocation".
-
-On SoCs with TILER, we have to ways to allocate buffers: normal
-dma_alloc or via TILER (which basically functions as an IOMMU). TILER
-can map 128MB at a time, and we only map the TILER buffers when they are
-used (i.e. not at alloc time). If TILER is present, omapdrm always
-uses TILER.
-
-There are use cases that require lots of big buffers that are being used
-at the same time by different IPs. At the moment the userspace has a
-hard maximum of 128MB.
-
-This patch adds three new flags that can be used by the userspace to
-solve the situation:
-
-OMAP_BO_MEM_CONTIG: The driver will use dma_alloc to get the memory.
-This can be used to avoid TILER if the userspace knows it needs more
-than 128M of memory at the same time.
-
-OMAP_BO_MEM_TILER: The driver will use TILER to get the memory. There's
-nto much use for this flag at the moment, but it's here for
-completeness.
-
-OMAP_BO_MEM_PIN: The driver will pin the memory at alloc time, and keep
-it pinned. This can be used to 1) get an error at alloc time if TILER
-space is full, and 2) get rid of the constant pin/unpin operations which
-may have some effect on performance.
-
-If none of the flags are given, the behavior is the same as currently.
-
-Upstream-Status: Pending
-Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
----
- omap/omap_drm.h | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/omap/omap_drm.h b/omap/omap_drm.h
-index 9c6c0e4..d991b85 100644
---- a/omap/omap_drm.h
-+++ b/omap/omap_drm.h
-@@ -52,6 +52,9 @@ struct drm_omap_get_base {
- #define OMAP_BO_SCANOUT		0x00000001	/* scanout capable (phys contiguous) */
- #define OMAP_BO_CACHE_MASK	0x00000006	/* cache type mask, see cache modes */
- #define OMAP_BO_TILED_MASK	0x00000f00	/* tiled mapping mask, see tiled modes */
-+#define OMAP_BO_MEM_CONTIG	0x00000008	/* only use contiguous dma mem */
-+#define OMAP_BO_MEM_TILER	0x00000010	/* only use TILER mem */
-+#define OMAP_BO_MEM_PIN		0x00000020	/* pin the buffer when allocating */
- 
- /* cache modes */
- #define OMAP_BO_CACHED		0x00000000	/* default */