[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 0/3] framebuffer rotation
From: |
kbader94 |
Subject: |
[PATCH v1 0/3] framebuffer rotation |
Date: |
Mon, 17 Jun 2024 22:14:42 -0600 |
This patch series implements a framebuffer rotation configuration option which
allows the user to specify a rotation translation to be applied to the video
output from grub, such that user can programatically rotate the display. This
enables grub to be used in nonstandard display mounting schemes such as
portrait mode.
Patch 1: dirty-2d - track and update 2d regions in the framebuffer. This
simplifies the implementation of the framebuffer rotation.
Patch 2: frambuffer rotation - numerous changes in the video_fb subsystem
to enable specifying render_target rotation.
Patch 3: enables setting the framebuffer rotation by setting
GRUB_FB_ROTATION in /etc/default/grub. NOTE. rotation is passed on to linux
unless GRUB_GFXPAYLOAD_LINUX = text
Status: Works as intended, however some optimizations(particularly in the
blitting functions) have been left for future implementation.
- [PATCH v1 0/3] framebuffer rotation,
kbader94 <=
- [PATCH v1 1/3] dirty 2d, kbader94, 2024/06/18
- [PATCH v1 3/3] fb rotation - Add config option to grub-mkconfig to enable setting GRUB_FB_ROTATION in grub's config file. Setting GRUB_FB_ROTATION to 90, 180, 270, 'left', 'right', or 'inverted' will set the rotation for both grub AND linux. For linux, the changes are passed on to linux kernel entries if GRUB_GFXPAYLOAD_LINUX = 'keep'., kbader94, 2024/06/18
- [PATCH v1 2/3] framebuffer rotation, kbader94, 2024/06/18