linux-stable/drivers/gpu/drm/tiny
Hans de Goede bbe6da860e drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels
commit 94fa115f7b 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>
2022-04-08 13:57:22 +02:00
..
arcpgu.c drm/arc: Move to drm/tiny 2021-02-25 13:19:04 +01:00
bochs.c drm: Move nomodeset kernel parameter to the DRM subsystem 2021-11-27 13:52:22 +01:00
cirrus.c drm: Move nomodeset kernel parameter to the DRM subsystem 2021-11-27 13:52:22 +01:00
gm12u320.c drm/gm12u320: Use offset-adjusted shadow-plane mappings 2021-08-08 20:27:37 +02:00
hx8357d.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9163.c drm/tiny: ili9163: fix build 2021-10-15 20:37:42 +02:00
ili9225.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9341.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9486.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
Kconfig drm: Remove CONFIG_DRM_KMS_CMA_HELPER option 2021-11-30 11:10:03 +01:00
Makefile drm/tiny: add driver for newhaven, 1.8-128160EF 2021-10-15 20:29:02 +02:00
mi0283qt.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
repaper.c drm/format-helper: Rework format-helper conversion functions 2021-11-11 12:06:57 +01:00
simpledrm.c drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels 2022-04-08 13:57:22 +02:00
st7586.c drm/format-helper: Rework format-helper conversion functions 2021-11-11 12:06:57 +01:00
st7735r.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00