summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-02-22 01:00:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-08 15:22:56 +0300
commit476df59948786dabbd84c53d233081c36982a7d7 (patch)
tree05dff97a2dbf25318fa1b9baec48079a5cbcfdae /mm
parent7c5312fdb1dcfdc1951b018669af88d5d6420b31 (diff)
downloadlinux-476df59948786dabbd84c53d233081c36982a7d7.tar.xz
drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels
commit 94fa115f7b28a3f02611499175e134f0a823b686 upstream. Some devices use e.g. a portrait panel in a standard laptop casing made for landscape panels. efifb calls drm_get_panel_orientation_quirk() and sets fb_info.fbcon_rotate_hint to make fbcon rotate the console so that it shows up-right instead of on its side. When switching to simpledrm the fbcon renders on its side. Call the drm_connector_set_panel_orientation_with_quirk() helper to add a "panel orientation" property on devices listed in the quirk table, to make the fbcon (and aware userspace apps) rotate the image to display properly. Cc: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220221220045.11958-1-hdegoede@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions