Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp819446rwi; Wed, 19 Oct 2022 03:26:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4P68RpB0/B1YT4ld5dnApn/21zDkMasUgJVvSEaVtxMl07JUvXxcwbxt2J+kOSBRwMgvad X-Received: by 2002:a17:906:99c1:b0:6fe:b01d:134 with SMTP id s1-20020a17090699c100b006feb01d0134mr6085438ejn.598.1666175213352; Wed, 19 Oct 2022 03:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666175213; cv=none; d=google.com; s=arc-20160816; b=vt0IZF2fqjWKowO1Aa4pGqcPby2MIhhhxpS+Vi7vqHqae1bjjNU2pwNilVZZ65HYT7 UozPYleT5Mbv/A3qH5Wje9XBwATjl98em+Yn1+MvDamyf+RNSeL8Py4NIMiz35dBb7vH UYuR4xJvszoFvQ9quzhcCj81T17TkaweidhZCCzRZ+GYyUfV7hfb+piFH9fcVrolojzl yWx5tGh9BFYe2EoUol7bxPYubynX4CmcZVtBRUTXCCB+WwThvQ7luODRkmQzOFsYXnxy 2e1Mv7w1gZgxKJQEQN7dydw8tn1iL44gyNrJ1nQJHAsb81Tv5AVmRXKlcl9lwXgwUiW2 wtYQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=APtJls/JpVBlxt3OaB9SPFJlvz4r9PaZm3Cih8CgPUc=; b=r4JGJWFteYrQTpo+5d/MwgEeQ2SAVLL0gNNvMlTwVEHTFBsVzkL4Ct2KithV7VNT3w 9W74IYEzNzPVEZAJHNwiP5ujI8vCviVF6jDk6J7RSW8+M+H+RE8qG6XIqhYmOH/+6mnq B72u4/uEjISeEcU0rlEtO+t6VV9frUpstopgbQQuvTnWqDUXfbVjXevkIlIbe5+OCx5C 6fFgBy6CjD0N12+Bj29Mdfo/TkycN/BRJybmHepJ7HGH3E9aY0ULF2v+X09a/7H2nm2R w4OvQgQAZ1jITTGTi9RiOw0l/rS7DVlnongKvoVIdnZRnMQB5qOr7JA+jCcJmEvcA5yY Uo1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hB3tRo0e; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he38-20020a1709073da600b0078dbc4ea733si14092449ejc.730.2022.10.19.03.26.27; Wed, 19 Oct 2022 03:26:53 -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=@linuxfoundation.org header.s=korg header.b=hB3tRo0e; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233574AbiJSJc5 (ORCPT + 99 others); Wed, 19 Oct 2022 05:32:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233681AbiJSJ3C (ORCPT ); Wed, 19 Oct 2022 05:29:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A619EA349; Wed, 19 Oct 2022 02:12:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3512B61807; Wed, 19 Oct 2022 09:12:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 188F9C433D7; Wed, 19 Oct 2022 09:12:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170751; bh=jeM9Fj147OpUgh5L3U33TX8WpT72OBGDIxBglNY+h/M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hB3tRo0eh88UM3wgJufxtjTfBuz6e2wdnVwcFGB4jTVmi+n8l0mcN/pCEE+vS9LPJ Txbh3rTwc6u04LYGWcFzQjV8kh5JraNiArriQ9hiTa1O0pqDbCACVA6lzNRm3Ewh/X ijKOH0LJCT3r5zS72URltCJaqkEmNhuvcuWT0VzQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Maya Matuszczyk , Hans de Goede , Sasha Levin Subject: [PATCH 6.0 746/862] drm: panel-orientation-quirks: Add quirk for Aya Neo Air Date: Wed, 19 Oct 2022 10:33:53 +0200 Message-Id: <20221019083322.900923435@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 From: Maya Matuszczyk [ Upstream commit e10ea7b9b90219da305a16b3c1252169715a807b ] Yet another x86 gaming handheld. This one has many SKUs with quite a few of DMI strings, so let's just use a catchall, just as with Aya Neo Next. Signed-off-by: Maya Matuszczyk Signed-off-by: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/20220825191946.1678798-1-maccraft123mc@gmail.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index 64b194af003c..8a0c0e0bb5bd 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -103,6 +103,12 @@ static const struct drm_dmi_panel_orientation_data lcd800x1280_rightside_up = { .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, }; +static const struct drm_dmi_panel_orientation_data lcd1080x1920_leftside_up = { + .width = 1080, + .height = 1920, + .orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP, +}; + static const struct drm_dmi_panel_orientation_data lcd1200x1920_rightside_up = { .width = 1200, .height = 1920, @@ -158,6 +164,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYA NEO 2021"), }, .driver_data = (void *)&lcd800x1280_rightside_up, + }, { /* AYA NEO AIR */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), + DMI_MATCH(DMI_BOARD_NAME, "AIR"), + }, + .driver_data = (void *)&lcd1080x1920_leftside_up, }, { /* AYA NEO NEXT */ .matches = { DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"), -- 2.35.1