drm: panel-orientation-quirks: Add quirk for Acer One 10 (S1003)
authorHans de Goede <hdegoede@redhat.com>
Fri, 12 Oct 2018 10:16:10 +0000 (12:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:19:26 +0000 (09:19 +0100)
commitc98bfa671c17c69bb1bb82441d6da3ad45ab96a4
treea230f74e5c119aa35ea72aef851a4871a741bf4c
parent07c393db262972f02d3804e1c6556e770b051393
drm: panel-orientation-quirks: Add quirk for Acer One 10 (S1003)

commit 0e8afefd5da4875ddea9aa4ad17a2540a2bf9736 upstream.

The Acer One 10 uses a clamshell design with a detachable keyboard.
As such in normal operating mode, with the keyboard attach the device
is in landscape mode (and the Acer logo at boot also shows in landscape
mode).

But the device uses a portrait screen rotated 90 degrees (sigh). This
commit adds a quirk for this device so that we shown the fbcon the
right way up and that we hint userspace to also show e.g. plymouth and
gdm the right way up.

Cc: stable@vger.kernel.org
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181012101610.29100-1-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_panel_orientation_quirks.c