summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0001-fix-drm-Default-to-XRGB8888-framebuffer.patch36
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb (renamed from meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb)3
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb (renamed from meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb)3
3 files changed, 2 insertions, 40 deletions
diff --git a/meta-oe/recipes-graphics/lvgl/files/0001-fix-drm-Default-to-XRGB8888-framebuffer.patch b/meta-oe/recipes-graphics/lvgl/files/0001-fix-drm-Default-to-XRGB8888-framebuffer.patch
deleted file mode 100644
index 9d758cb087..0000000000
--- a/meta-oe/recipes-graphics/lvgl/files/0001-fix-drm-Default-to-XRGB8888-framebuffer.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 7b89e18c2f21e4b91b461007368df724198ac904 Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de>
3Date: Tue, 12 Mar 2024 03:13:33 +0100
4Subject: [PATCH 1/2] fix(drm): Default to XRGB8888 framebuffer
5
6The ARGB8888 framebuffer format for base canvas makes little sense
7as the base canvas is unlikely to be transparent and require alpha.
8Use XRGB8888 framebuffer format which is more widely supported by
9DRM drivers as base plane pixel format.
10
11This makes e.g. i.MX8M Nano work by default.
12
13Upstream-Status: Submitted [https://github.com/lvgl/lvgl/pull/5851]
14Signed-off-by: Marek Vasut <marex@denx.de>
15---
16This is identical fix to lv_drivers https://github.com/lvgl/lv_drivers/pull/282
17---
18 src/drivers/display/drm/lv_linux_drm.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/src/drivers/display/drm/lv_linux_drm.c b/src/drivers/display/drm/lv_linux_drm.c
22index c706f9cb2..faa2212bf 100644
23--- a/src/drivers/display/drm/lv_linux_drm.c
24+++ b/src/drivers/display/drm/lv_linux_drm.c
25@@ -24,7 +24,7 @@
26 * DEFINES
27 *********************/
28 #if LV_COLOR_DEPTH == 32
29- #define DRM_FOURCC DRM_FORMAT_ARGB8888
30+ #define DRM_FOURCC DRM_FORMAT_XRGB8888
31 #elif LV_COLOR_DEPTH == 16
32 #define DRM_FOURCC DRM_FORMAT_RGB565
33 #else
34--
352.43.0
36
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb
index 308e74897f..542b70ea2a 100644
--- a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb
+++ b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=802d3d83ae80ef5f343050bf96cce3a4 \
7SRC_URI = "\ 7SRC_URI = "\
8 git://github.com/lvgl/lv_port_linux_frame_buffer.git;protocol=https;branch=master;name=demo \ 8 git://github.com/lvgl/lv_port_linux_frame_buffer.git;protocol=https;branch=master;name=demo \
9 git://github.com/lvgl/lvgl;protocol=https;branch=master;name=lvgl;subdir=git/lvgl \ 9 git://github.com/lvgl/lvgl;protocol=https;branch=master;name=lvgl;subdir=git/lvgl \
10 file://0001-fix-drm-Default-to-XRGB8888-framebuffer.patch;patchdir=lvgl \
11 file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch;patchdir=lvgl \ 10 file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch;patchdir=lvgl \
12 file://0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch \ 11 file://0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch \
13 file://0004-Factor-out-fbdev-initialization-code.patch \ 12 file://0004-Factor-out-fbdev-initialization-code.patch \
@@ -16,7 +15,7 @@ SRC_URI = "\
16 file://0007-fix-cmake-generate-versioned-shared-libraries.patch;patchdir=lvgl \ 15 file://0007-fix-cmake-generate-versioned-shared-libraries.patch;patchdir=lvgl \
17 " 16 "
18SRCREV_demo = "dccc6a1ca48372aa993dbea7a8e17dec6f42df6a" 17SRCREV_demo = "dccc6a1ca48372aa993dbea7a8e17dec6f42df6a"
19SRCREV_lvgl = "e29d35b43c509b6d7189f5dac87139441669ae66" 18SRCREV_lvgl = "e1c0b21b2723d391b885de4b2ee5cc997eccca91"
20SRCREV_FORMAT = "demo_lvgl" 19SRCREV_FORMAT = "demo_lvgl"
21PV .= "+git${SRCPV}" 20PV .= "+git${SRCPV}"
22 21
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb
index 0fb3ddecf2..fc967e6d1f 100644
--- a/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb
+++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb
@@ -10,11 +10,10 @@ LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a"
10 10
11SRC_URI = "\ 11SRC_URI = "\
12 git://github.com/lvgl/lvgl;protocol=https;branch=master \ 12 git://github.com/lvgl/lvgl;protocol=https;branch=master \
13 file://0001-fix-drm-Default-to-XRGB8888-framebuffer.patch \
14 file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch \ 13 file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch \
15 file://0007-fix-cmake-generate-versioned-shared-libraries.patch \ 14 file://0007-fix-cmake-generate-versioned-shared-libraries.patch \
16 " 15 "
17SRCREV = "e29d35b43c509b6d7189f5dac87139441669ae66" 16SRCREV = "e1c0b21b2723d391b885de4b2ee5cc997eccca91"
18PV .= "+git${SRCPV}" 17PV .= "+git${SRCPV}"
19 18
20inherit cmake 19inherit cmake