]> git.ipfire.org Git - thirdparty/plymouth.git/commit
ply-device-manager: Add plymouth.force-frame-buffer-on-boot parameter, allow to choos...
authorshiptux <shiptux@gmail.com>
Sat, 27 Aug 2022 07:09:57 +0000 (15:09 +0800)
committerRay Strode <halfline@gmail.com>
Sat, 15 Oct 2022 16:17:16 +0000 (16:17 +0000)
commitf07ab522f4391e536de2e65a442a5ac41b07e108
treea09f1c075a3a70bd60fb5f0a4b99d44923bad059
parente3aab2748beee7b2670eb23488dc341749a99e29
ply-device-manager: Add plymouth.force-frame-buffer-on-boot parameter, allow to choose force framebuffer mode.

Some hardware vendor may not open source display driver. (Such as pangu
M900). They load drm driver via kernel modules. On such devices, drm driver
load more slowly then other devices, which may cause logo show later and no
seem to get the Plymouth decryption screen to show. To avoid this problem,
add a bootargs for people who want to forced use fb in plymouth.

When found "plymouth.force-frame-buffer-on-boot flags" in kernel parameter,
During the system start, PLY_DEVICE_MANAGER_FLAGS_FORCE_FRAM_BUFFER will be
add to device_manager_flags. Then "force_fb" mode  will enable, and the
renderer_type set as framebuffer.

Signed-off-by: shiptux <shiptux@gmail.com>
src/libply-splash-core/ply-device-manager.c
src/libply-splash-core/ply-device-manager.h
src/main.c