Files
fml13v01-buildroot/package/weston/0001-backend-drm-disable-bo-geometry-out-of-bounds-messag.patch
Andy Hu e1839688b8 package/weston: bump to version 10.0.1
upgrade the weston to 10.0.1 for IMG DDK 1.19
and copy patches from IMG DDK 1.19

fix the patch and building issue

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-01 22:43:28 +08:00

30 lines
932 B
Diff

From a2ea65796237b064574e5d5a509f8fc1cd41a723 Mon Sep 17 00:00:00 2001
From: Brendan King <Brendan.King@imgtec.com>
Date: Tue, 4 Sep 2018 14:59:09 +0100
Subject: [PATCH 1/5] backend-drm: disable "bo geometry out of bounds" message
The message was being printed repeatedly whilst running an opaque
windowed application, because the application wasn't within the
framebuffer dimension limits.
---
libweston/backend-drm/fb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libweston/backend-drm/fb.c b/libweston/backend-drm/fb.c
index ba0c177e..3c664779 100644
--- a/libweston/backend-drm/fb.c
+++ b/libweston/backend-drm/fb.c
@@ -306,7 +306,9 @@ drm_fb_get_from_dmabuf(struct linux_dmabuf_buffer *dmabuf,
fb->width > backend->max_width ||
backend->min_height > fb->height ||
fb->height > backend->max_height) {
+#if 0
weston_log("bo geometry out of bounds\n");
+#endif
goto err_free;
}
--
2.25.1