diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2023-04-23 20:25:45 +0900 |
---|---|---|
committer | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2023-06-01 05:55:44 +0900 |
commit | 1abeb16b8222efb6608ce9a0f852c1f94d5c9ee6 (patch) | |
tree | 6a174add13db69702dcacb2c50560ce370b355dc /meta-agl-drm-lease/recipes-core/psplash/files/0004-Remove-unused-save_termios.patch | |
parent | 3bdbed71338a7b1570a8b3d7b30ebae92f80e4e5 (diff) |
Enable drm-lease support at psplash
The upstream version of psplash is supporting fb based splash screen.
On the other hand, drm lease infrastructure is not support fb.
This patch enable drm-lease support at psplash.
This work contributed by Hiroyuki Ishii at CES2023 demo development.
Bug-AGL: SPEC-4766
Change-Id: Idd9a1f5c96c5e294099f2d9c2ef87c5ca5769c2e
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'meta-agl-drm-lease/recipes-core/psplash/files/0004-Remove-unused-save_termios.patch')
-rw-r--r-- | meta-agl-drm-lease/recipes-core/psplash/files/0004-Remove-unused-save_termios.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-agl-drm-lease/recipes-core/psplash/files/0004-Remove-unused-save_termios.patch b/meta-agl-drm-lease/recipes-core/psplash/files/0004-Remove-unused-save_termios.patch new file mode 100644 index 00000000..7c105ea0 --- /dev/null +++ b/meta-agl-drm-lease/recipes-core/psplash/files/0004-Remove-unused-save_termios.patch @@ -0,0 +1,41 @@ +From 733b6d8ae3ed8d5d2972c717bb9a94f65ff6f194 Mon Sep 17 00:00:00 2001 +From: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> +Date: Mon, 25 Apr 2022 10:59:43 +0300 +Subject: [PATCH 04/17] Remove unused save_termios + +drm-backend backport from: +https://patchwork.yoctoproject.org/project/yocto/cover/20220425075954.10427-1-vasyl.vavrychuk@opensynergy.com/ + +Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> +--- + psplash-fb.h | 1 - + psplash.h | 1 - + 2 files changed, 2 deletions(-) + +diff --git a/psplash-fb.h b/psplash-fb.h +index eafa293..6c4599c 100644 +--- a/psplash-fb.h ++++ b/psplash-fb.h +@@ -22,7 +22,6 @@ typedef struct PSplashFB + { + int fd; + struct fb_var_screeninfo fb_var; +- struct termios save_termios; + int type; + int visual; + int width, height; +diff --git a/psplash.h b/psplash.h +index e8b6660..02d6f32 100644 +--- a/psplash.h ++++ b/psplash.h +@@ -32,7 +32,6 @@ + #include <sys/stat.h> + #include <sys/time.h> + #include <sys/types.h> +-#include <termios.h> + #include <unistd.h> + #include <stdbool.h> + +-- +2.25.1 + |