From patchwork Sat Oct 22 07:28:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 7624 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1107498wrr; Sat, 22 Oct 2022 01:41:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5HJKSayuu840EmWTFTrILO9OhdGGUfMYO2mWtbCcy06Zg5Bc1qmUacJjOZlt5hTe4tXXuy X-Received: by 2002:a17:907:a0e:b0:780:72bb:5ce4 with SMTP id bb14-20020a1709070a0e00b0078072bb5ce4mr19307717ejc.234.1666428066745; Sat, 22 Oct 2022 01:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666428066; cv=none; d=google.com; s=arc-20160816; b=d2Z2ajUC/p7jkZ/SChofpU4gZRrNW169x2cEMrElZdyQwOzmdNPqv4ik/Z1OvfVK34 iqqG6iZw/7onV6Uh99DKFZouNmIf93aE2SUsKxr8GCLHvLyHO/7ztjwxLP5xf+59k+C2 7hA+RAmeWr8HXVZI+NP1sFX/SK9o8914jxpFRVLn4ectMuZ4KEIbOcnrrKOuIbwj+CQU j4b41oHdF02jxT0Xe7xSJWEfLNdF5HXmv/PsCsI2NXovwxyDhzbf0y4HU8WAGnoZ3i1H UgAQaX6AnM4AbTqrukWZzguBJUAKtSeYHxBD0ddy2BxaSV47FUEtALg125x7+G8pYxYc 7dug== 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=3k/RfNZV3O/br/L16vm+/k54NmDPql9mQ9FYbS3zQZM=; b=W9N83yNnkiAycrzhWEl0ZmLdpU8aUOpStRJ6yoURn9Ij3VzgmiiVgXQuyvgP00f+ZH cxaflVi7aDbEam7G+bmkAqF+IVXWngBfidnuJ3Sy6Smr2xZXC8FnIvluXLLZiYrxHTPb Yl5UXSnXrybFH8u+lw9R8tUNwmIdY7xyksgY3Onc6b2sKiXCgq1Bx85A7q7M8dQUUHIc ZiSCISnqRio37tJyUl6VDlE45aSybXDwDB9FqIocKE0o1vEjvA6fg78VTPxuJsPvzLmT LZAZ03GwlSQ5E6In4jJp3RigtMpZg4F0Mjf1RVJMtcxKJlMl9M9BB2rjLLAF3peAN2RV 6C4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="REz5h/qJ"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd27-20020a170907629b00b0078331a3b123si24708958ejc.572.2022.10.22.01.40.38; Sat, 22 Oct 2022 01:41:06 -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="REz5h/qJ"; 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 S234270AbiJVIhB (ORCPT + 99 others); Sat, 22 Oct 2022 04:37:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234507AbiJVIbE (ORCPT ); Sat, 22 Oct 2022 04:31:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F93E2D0818; Sat, 22 Oct 2022 01:03:16 -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 ams.source.kernel.org (Postfix) with ESMTPS id 859ACB82DEE; Sat, 22 Oct 2022 08:02:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D07DAC433D6; Sat, 22 Oct 2022 08:02:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666425773; bh=KK5HySP1GwSnD/jfZaRzn+Bp85qL/Jum5XmZcPes1Ps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=REz5h/qJDw2dGA7q5UzfeANpy2lyeRgXGBVoQ3I6ZNluhc9S1WIiAnnMD18NSzQqO oGq0d1yNay8ekhubJF7jeFZTjbeN3lGRnp/mzVb31hlIJdhpMBpxy5XCz4t4gQWi5Q mmmYVApCkT0s9HXDNcjre8YTMbZx1qYCLAkkv0II= 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 5.19 611/717] drm: panel-orientation-quirks: Add quirk for Anbernic Win600 Date: Sat, 22 Oct 2022 09:28:10 +0200 Message-Id: <20221022072525.471921643@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747376476388683074?= X-GMAIL-MSGID: =?utf-8?q?1747376476388683074?= From: Maya Matuszczyk [ Upstream commit 770e19076065e079a32f33eb11be2057c87f1cde ] This device is another x86 gaming handheld, and as (hopefully) there is only one set of DMI IDs it's using DMI_EXACT_MATCH Signed-off-by: Maya Matuszczyk Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/20220803182402.1217293-1-maccraft123mc@gmail.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index d4e0f2e85548..a8681610ede7 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -128,6 +128,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "One S1003"), }, .driver_data = (void *)&lcd800x1280_rightside_up, + }, { /* Anbernic Win600 */ + .matches = { + DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Anbernic"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Win600"), + }, + .driver_data = (void *)&lcd720x1280_rightside_up, }, { /* Asus T100HA */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),