From patchwork Mon May 15 18:48:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maya Matuszczyk X-Patchwork-Id: 94300 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp7129390vqo; Mon, 15 May 2023 12:01:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7uepV4TxhIWOOyoxQNTjgTni7uOH4ZT1EAtweTqDX0dLI4E8uzqISJjbQXVZLDsrSkDHDX X-Received: by 2002:a05:6a00:1343:b0:646:c30d:e9c2 with SMTP id k3-20020a056a00134300b00646c30de9c2mr34851583pfu.28.1684177317535; Mon, 15 May 2023 12:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684177317; cv=none; d=google.com; s=arc-20160816; b=cOnI72PPViBuGCiOW7DMgyEhDxvH7KrW5jnMDjOBwcZXUaBTc81WJL84uD/FcBzApc 2zB7ENxWfsHn0rL8cv8srlWJpyXC4M7W3zlXdcm37zQs94txavWrLlP+bOuEXUNxaWaw Nnw5cdvsAuOqCwJFuaVRya9v+nDH9Eea732cIwJeIZCH6jjvCvQSe7KviOJXcaZAZVkb gPDpIKQABzikbPOnkgcJdd2+mphcjZ9o7Mh3GTZib72DHoq25aMbLW1ReWfeRZNej9CF e8xDRMANvAbN9HZWfZ3SInORgQ0JiDKQZIkTyKKpfKWWTa3WL9+FmT3Z65kPZM5M98Wz 8IwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=iTBWs9VN/AmEk5vXMNYksrxne0o7kn1chFKcCzHHpNU=; b=tYDo8uRVEbSEWI27na70sUN4W18URk8nGxCcZ1UQIsOqZkKLPR6OGWbaqQpGBqNqFe z+uxLGsfZek6hXMXOmPMeic9LcBFcmyr3OU0aUEHVKVTjygqd1yqhEk6Jj/VXDA5AKs/ SUdC11iDOfdNop5Q+OqXxzUwceZGWM4E9OHJQ9dpsT0sCNqJqA0S2X6XIBqCwFlTNMSN sXTaSZk30yeFBSU2a1qus/Lrvv5wm0X8e4ermvI+G1EpBQzgv2Yxz6dUFnwPFxiXjkRF LUngOaYaqcyZsXqjcNm2bIHtGmQzCY3GiTH/YPd6bQ8XV0HXSNqAlqJxzagDtuOAGiu3 HE1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=OfaA86AQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a63e855000000b005307a33f88asi11275878pgk.62.2023.05.15.12.01.41; Mon, 15 May 2023 12:01:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=OfaA86AQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244470AbjEOStD (ORCPT + 99 others); Mon, 15 May 2023 14:49:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243617AbjEOSs7 (ORCPT ); Mon, 15 May 2023 14:48:59 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D76A1491A; Mon, 15 May 2023 11:48:58 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f24ceae142so11672144e87.3; Mon, 15 May 2023 11:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684176537; x=1686768537; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=iTBWs9VN/AmEk5vXMNYksrxne0o7kn1chFKcCzHHpNU=; b=OfaA86AQomUNauoaFFPAvp3N+WxOxPoBcEeP/Gjw1guhaydm3FI/3cQZlWmwOCjFPi X8gab610LUS17dQH5D4A13bMC9ARjpVwDt2glchCCIUO9CtoaGpTJR3YSnLRxnBD36/U Ts0l9jG+xFfL8jWyHT6jKuqdpRPd1onYvl1I+K/jtkdyA7XuQiqGyvQPrCR2Z9DRhOfZ ETv3nrX3aQILZjZMsswt9S/upRVOmL0Zz3Q9xDa+22ONb0fxYulAiIrW8SGG2xhTFvhb OAYWmxgQXvMk4VKX6BWPVc/CdR4kaDIzq8eNdTGEencaRY7v5S1MEaldvYge7eUazfq+ grTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684176537; x=1686768537; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iTBWs9VN/AmEk5vXMNYksrxne0o7kn1chFKcCzHHpNU=; b=PV+l2zr3+5fYbg01Chqzeb51luHs0QT3j1A6Tmf5y7WIXYaU0MW0vnXdGk0bf0Umh6 1S6hAxmLv5iQCx68ix4opIK49kfH02lwoCqCjnposh/MM9jZ86GOOcoocCsLmrkuM9kX nV3K9ktHzcUyTIicpBXOSvppno5TTLUzZEYSqAeL0J7NCW6i7iwwD4FVqZe6734ujFNn SpY7tHCQ5/zZBhPA5m689X2SlRfLQSnibM/HAAEaETeiyZHGUcMcqJwxZ6kwMSduNb5G PjVaOEbVncRaWxiCPAp070l1gAyBE6VncdFIhb05gEFbtwOZ+kfIlYpCrz2pt5hLmmC9 mOww== X-Gm-Message-State: AC+VfDxlMdjR5iz6qlxkahur9x42cff80Ew3NuaJMRwXeHhH+Lf5HzpP tcPIw+X5erPluNvBy8/dvfA= X-Received: by 2002:a19:5214:0:b0:4f3:8411:f146 with SMTP id m20-20020a195214000000b004f38411f146mr913589lfb.68.1684176536567; Mon, 15 May 2023 11:48:56 -0700 (PDT) Received: from komp.lan (83.24.33.169.ipv4.supernova.orange.pl. [83.24.33.169]) by smtp.gmail.com with ESMTPSA id z5-20020ac24f85000000b004ec8de8ab43sm2655742lfs.139.2023.05.15.11.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 11:48:56 -0700 (PDT) From: Maya Matuszczyk To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: Hans de Goede , stable@vger.kernel.org, Maya Matuszczyk , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm: panel-orientation-quirks: Change Air's quirk to support Air Plus Date: Mon, 15 May 2023 20:48:43 +0200 Message-Id: <20230515184843.1552612-1-maccraft123mc@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765987914867120532?= X-GMAIL-MSGID: =?utf-8?q?1765987914867120532?= It turned out that Aya Neo Air Plus had a different board name than expected. This patch changes Aya Neo Air's quirk to account for that, as both devices share "Air" in DMI product name. Tested on Air claiming to be an Air Pro, and on Air Plus. Signed-off-by: Maya Matuszczyk Reviewed-by: Hans de Goede --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index b1a38e6ce2f8..0cb646cb04ee 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -179,7 +179,7 @@ static const struct dmi_system_id orientation_data[] = { }, { /* AYA NEO AIR */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), - DMI_MATCH(DMI_BOARD_NAME, "AIR"), + DMI_MATCH(DMI_PRODUCT_NAME, "AIR"), }, .driver_data = (void *)&lcd1080x1920_leftside_up, }, { /* AYA NEO NEXT */