* [meta-arago][master][PATCH 1/2] libdrm: Remove patch adding extra OMAP BO flags @ 2026-11-05 20:37 Andrew Davis 2026-11-05 20:37 ` [meta-arago][master][PATCH 2/2] libdrm: Remove ltp-ddt test harness workaround Andrew Davis 2026-11-05 21:00 ` [meta-arago][master][PATCH 1/2] libdrm: Remove patch adding extra OMAP BO flags PRC Automation 0 siblings, 2 replies; 4+ messages in thread From: Andrew Davis @ 2026-11-05 20:37 UTC (permalink / raw) To: Denys Dmytriyenko, Ryan Eatmon, Randolph Sapp, meta-arago; +Cc: Andrew Davis 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 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 */ -- 2.43.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [meta-arago][master][PATCH 2/2] libdrm: Remove ltp-ddt test harness workaround 2026-11-05 20:37 [meta-arago][master][PATCH 1/2] libdrm: Remove patch adding extra OMAP BO flags Andrew Davis @ 2026-11-05 20:37 ` Andrew Davis 2026-11-05 21:05 ` Randolph Sapp 2026-11-05 21:00 ` [meta-arago][master][PATCH 1/2] libdrm: Remove patch adding extra OMAP BO flags PRC Automation 1 sibling, 1 reply; 4+ messages in thread From: Andrew Davis @ 2026-11-05 20:37 UTC (permalink / raw) To: Denys Dmytriyenko, Ryan Eatmon, Randolph Sapp, meta-arago; +Cc: Andrew Davis Modetest exits on stdin input. ltp-ddt sends data to stdin when a test is run, so a workaround was added to modetest. Instead the test harness should be fixed. If it has not been or cannot be fixed, then this patch should be worked upstream and carried in meta-ti-test until then, not here in the distro layer. Signed-off-by: Andrew Davis <afd@ti.com> --- .../recipes-graphics/drm/libdrm-arago.inc | 7 -- ...dd-option-to-run-a-test-indefinitely.patch | 77 ------------------- .../recipes-graphics/drm/libdrm_%.bbappend | 4 - 3 files changed, 88 deletions(-) delete mode 100644 meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc delete mode 100644 meta-arago-distro/recipes-graphics/drm/libdrm/0001-Add-option-to-run-a-test-indefinitely.patch delete mode 100644 meta-arago-distro/recipes-graphics/drm/libdrm_%.bbappend diff --git a/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc b/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc deleted file mode 100644 index 6703fd1d..00000000 --- a/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc +++ /dev/null @@ -1,7 +0,0 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/libdrm:" - -SRC_URI += " \ -file://0001-Add-option-to-run-a-test-indefinitely.patch \ -" - -PR:append = ".arago4" diff --git a/meta-arago-distro/recipes-graphics/drm/libdrm/0001-Add-option-to-run-a-test-indefinitely.patch b/meta-arago-distro/recipes-graphics/drm/libdrm/0001-Add-option-to-run-a-test-indefinitely.patch deleted file mode 100644 index 5b051361..00000000 --- a/meta-arago-distro/recipes-graphics/drm/libdrm/0001-Add-option-to-run-a-test-indefinitely.patch +++ /dev/null @@ -1,77 +0,0 @@ -From 115aa882abeb6db92c7588f3fb0953593fa2f634 Mon Sep 17 00:00:00 2001 -From: Alejandro Hernandez <ajhernandez@ti.com> -Date: Tue, 3 Mar 2020 09:52:06 -0500 -Subject: [PATCH] Add option to run a test indefinitely - -This patch adds option -t to the modetest cli. When this option is -speficied modetest will not stop on stdin input. This patch -allows using modetest within ltp-ddt, before this patch modetest -was not able to run in ltp-ddt because ltp-ddt sends data to stdin -when a test is run - -Upstream-Status: Pending - -Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com> -Signed-off-by: Denys Dmytriyenko <denis@denix.org> ---- - tests/modetest/modetest.c | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c -index d9e761e..687f7a4 100644 ---- a/tests/modetest/modetest.c -+++ b/tests/modetest/modetest.c -@@ -1888,7 +1888,7 @@ static void clear_cursors(struct device *dev) - bo_destroy(dev->mode.cursor_bo); - } - --static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned int count) -+static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned int count, int dont_stop) - { - unsigned int other_fb_id; - struct bo *other_bo; -@@ -1946,7 +1946,7 @@ static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned - fd_set fds; - - FD_ZERO(&fds); -- FD_SET(0, &fds); -+ if (!dont_stop) FD_SET(0, &fds); - FD_SET(dev->fd, &fds); - ret = select(dev->fd + 1, &fds, NULL, NULL, &timeout); - -@@ -2194,7 +2194,7 @@ static void usage(char *name) - exit(0); - } - --static char optstr[] = "acdD:efF:M:P:ps:Cvrw:o:S:"; -+static char optstr[] = "acdD:efF:M:P:ps:Cvrw:o:S:t"; - - int main(int argc, char **argv) - { -@@ -2208,6 +2208,7 @@ int main(int argc, char **argv) - char *module = NULL; - unsigned int i; - unsigned int count = 0, plane_count = 0; -+ int dont_stop = 0; - unsigned int prop_count = 0; - struct pipe_arg *pipe_args = NULL; - struct plane_arg *plane_args = NULL; -@@ -2314,6 +2315,9 @@ int main(int argc, char **argv) - - prop_count++; - break; -+ case 't': -+ dont_stop = 1; -+ break; - default: - usage(argv[0]); - break; -@@ -2464,7 +2468,7 @@ int main(int argc, char **argv) - set_cursors(&dev, pipe_args, count); - - if (test_vsync) -- test_page_flip(&dev, pipe_args, count); -+ test_page_flip(&dev, pipe_args, count, dont_stop); - - if (drop_master) - drmDropMaster(dev.fd); diff --git a/meta-arago-distro/recipes-graphics/drm/libdrm_%.bbappend b/meta-arago-distro/recipes-graphics/drm/libdrm_%.bbappend deleted file mode 100644 index 7a9bed64..00000000 --- a/meta-arago-distro/recipes-graphics/drm/libdrm_%.bbappend +++ /dev/null @@ -1,4 +0,0 @@ -LIBDRM_ARAGO = "" -LIBDRM_ARAGO:arago = "libdrm-arago.inc" - -require ${LIBDRM_ARAGO} -- 2.43.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-arago][master][PATCH 2/2] libdrm: Remove ltp-ddt test harness workaround 2026-11-05 20:37 ` [meta-arago][master][PATCH 2/2] libdrm: Remove ltp-ddt test harness workaround Andrew Davis @ 2026-11-05 21:05 ` Randolph Sapp 0 siblings, 0 replies; 4+ messages in thread From: Randolph Sapp @ 2026-11-05 21:05 UTC (permalink / raw) To: Andrew Davis, Denys Dmytriyenko, Ryan Eatmon, Randolph Sapp, meta-arago On Thu Nov 5, 2026 at 2:37 PM CST, Andrew Davis wrote: > Modetest exits on stdin input. ltp-ddt sends data to stdin when a test > is run, so a workaround was added to modetest. Instead the test harness > should be fixed. If it has not been or cannot be fixed, then this patch > should be worked upstream and carried in meta-ti-test until then, not > here in the distro layer. > > Signed-off-by: Andrew Davis <afd@ti.com> > --- Yep. I actually showed someone recently how this can be worked around using pipe expiration with bash lists. Reviewed-by: Randolph Sapp <rs@ti.com> ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-arago][master][PATCH 1/2] libdrm: Remove patch adding extra OMAP BO flags 2026-11-05 20:37 [meta-arago][master][PATCH 1/2] libdrm: Remove patch adding extra OMAP BO flags Andrew Davis 2026-11-05 20:37 ` [meta-arago][master][PATCH 2/2] libdrm: Remove ltp-ddt test harness workaround Andrew Davis @ 2026-11-05 21:00 ` PRC Automation 1 sibling, 0 replies; 4+ messages in thread From: PRC Automation @ 2026-11-05 21:00 UTC (permalink / raw) To: Andrew Davis; +Cc: Denys Dmytriyenko, Ryan Eatmon, Randolph Sapp, meta-arago 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-05 21:06 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-11-05 20:37 [meta-arago][master][PATCH 1/2] libdrm: Remove patch adding extra OMAP BO flags Andrew Davis 2026-11-05 20:37 ` [meta-arago][master][PATCH 2/2] libdrm: Remove ltp-ddt test harness workaround Andrew Davis 2026-11-05 21:05 ` Randolph Sapp 2026-11-05 21:00 ` [meta-arago][master][PATCH 1/2] libdrm: Remove patch adding extra OMAP BO flags PRC Automation
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.