OSDN Git Service

drm: panel-orientation-quirks: Add quirk for GPD pocket2
authorHans de Goede <hdegoede@redhat.com>
Fri, 24 May 2019 12:57:58 +0000 (14:57 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 8 Jun 2019 13:06:49 +0000 (15:06 +0200)
commit15abc7110a77555d3bf72aaef46d1557db0a4ac5
tree854bc0de0b860268abd3938e421d560138581976
parent0b84933db7f2d1349d77d6db2d6ba17f06da1208
drm: panel-orientation-quirks: Add quirk for GPD pocket2

GPD has done it again, make a nice device (good), use way too generic
DMI strings (bad) and use a portrait screen rotated 90 degrees (ugly).

Because of the too generic DMI strings this entry is also doing bios-date
matching, so the gpd_pocket2 data struct may very well need to be updated
with some extra bios-dates in the future.

Changes in v2:
-Add one more known BIOS date to the list of BIOS dates

Cc: Jurgen Kramer <gtmkramer@xs4all.nl>
Reported-by: Jurgen Kramer <gtmkramer@xs4all.nl>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190524125759.14131-1-hdegoede@redhat.com
(cherry picked from commit 6dab9102dd7b144e5723915438e0d6c473018cd0)
drivers/gpu/drm/drm_panel_orientation_quirks.c