]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm: panel-orientation-quirks: Make Lenovo Yoga Tab 3 X90F DMI match less strict
authorHans de Goede <hdegoede@redhat.com>
Sun, 25 Aug 2024 13:21:31 +0000 (15:21 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 7 Nov 2024 15:16:42 +0000 (16:16 +0100)
commit052ef642bd6c108a24f375f9ad174b97b425a50b
tree069cee2d64f767e5d00db75c9db39d6a1be04ceb
parente301aea030d60da760f85f854a82ce788d5cf6e7
drm: panel-orientation-quirks: Make Lenovo Yoga Tab 3 X90F DMI match less strict

There are 2G and 4G RAM versions of the Lenovo Yoga Tab 3 X90F and it
turns out that the 2G version has a DMI product name of
"CHERRYVIEW D1 PLATFORM" where as the 4G version has
"CHERRYVIEW C0 PLATFORM". The sys-vendor + product-version check are
unique enough that the product-name check is not necessary.

Drop the product-name check so that the existing DMI match for the 4G
RAM version also matches the 2G RAM version.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240825132131.6643-1-hdegoede@redhat.com
drivers/gpu/drm/drm_panel_orientation_quirks.c