]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/i915/dsi: Make Lenovo Yoga Tab 3 X90F DMI match less strict
authorHans de Goede <hdegoede@redhat.com>
Fri, 23 Aug 2024 07:50:55 +0000 (09:50 +0200)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 27 Aug 2024 10:23:48 +0000 (13:23 +0300)
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.

Fixes: f6f4a0862bde ("drm/i915/vlv_dsi: Add DMI quirk for backlight control issues on Lenovo Yoga Tab 3 (v2)")
Cc: stable@vger.kernel.org
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240823075055.17198-1-hdegoede@redhat.com
(cherry picked from commit a4dbe45c4c14edc316ae94b9af86a28f8c5d8123)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/display/vlv_dsi.c

index eae5b5e09aa87404569fd0c7c3aca51fe5ecbfe6..931d2cf74ed8596d1f2c26b1f9718a9668e4fa82 100644 (file)
@@ -1870,7 +1870,6 @@ static const struct dmi_system_id vlv_dsi_dmi_quirk_table[] = {
                /* Lenovo Yoga Tab 3 Pro YT3-X90F */
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"),
                },
                .driver_data = (void *)vlv_dsi_lenovo_yoga_tab3_backlight_fixup,