]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/sysfb: corebootdrm: Support panel orientation
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 17 Feb 2026 15:56:22 +0000 (16:56 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 20 Feb 2026 13:38:25 +0000 (14:38 +0100)
commit058fc04b8587ad07a86dfa8f99d8d99db0a55443
tree2fcba781e97a124a321aca1b57b5951c62811038
parenta29a1f0ec8d69ee917a9d4c84b844df0decff0ef
drm/sysfb: corebootdrm: Support panel orientation

Add fields and constants for coreboot framebuffer orientation. Set
corebootdrm's DRM connector state from the values. Not all firmware
provides orientation, so make it optional. Systems without, continue
to use unknown orientation.

v3:
- comment on _HAS_ORIENTATION semantics (Tzung-Bi)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Julius Werner <jwerner@chromium.org>
Acked-by: Tzung-Bi Shih <tzungbi@kernel.org> # coreboot
Link: https://patch.msgid.link/20260217155836.96267-13-tzimmermann@suse.de
drivers/gpu/drm/sysfb/corebootdrm.c
include/linux/coreboot.h