From patchwork Mon Oct 24 11:33:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 10155 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp639944wru; Mon, 24 Oct 2022 13:31:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6mx6y8BUnCy2HAt/jdJoWA9jW6E/xKrr/VWD2A5mWRv9E2qhKEqUeXQWZe0VcOFjY7Y+Gl X-Received: by 2002:a17:906:cc0f:b0:7a1:6786:f55 with SMTP id ml15-20020a170906cc0f00b007a167860f55mr11110372ejb.359.1666643485159; Mon, 24 Oct 2022 13:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666643485; cv=none; d=google.com; s=arc-20160816; b=QdLU+hYBkw3gT/alSd4ffJlFdYItKTq13lCFJVXuEW5073VXRR2nKVZ9/iM+LnEWL8 b5DG4M5ROvlFPFpEAUT5QwVwRtaFnwxCvr4dJaHgyqBP7j/4+dx11cc32miEW8rFRXhC cxJttloijuzfNA/MfzlSBbsRjgbSjjxjrNwVkakE4E6rRuyTPw8Q2LWuiYSORxup4lsR Oh4e4VW0WIICppUPyRSU52QqTMXuBrYuSCJLHgc1chFjQsCfZPV3LNE8n4wmQpYSNVTn Zx9Z/RTKEBSw9CYco+1A06JeLEr5MVQ2yU7FTLMKwdoGiH83QkMmd1zm36lEE4DRg7AS 9+MA== 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=k+GanfmrYRfG+KuK0n34qt69jU3LFeRsjKrPtKSCy48=; b=eX3me99NYiZxoT+KU56fIXorPlRiLQdGrD4VMPEpzvqE6YZEcvk76HuUp5IcmfDImJ nRyj0knWqsuHbXnfBBvGSO8+2RkyIHgGt601c+jdX9n6ACe1rMiK1oCTd+LRXe/md46z kBD9kERJUoFdI8B/KMabgjy5JnybnM9MKl3WL82X9hTdrpd+zR01d9vZJyqHZxDpmHyP 8j+SzpO6HuN9kSZ/clWIW3hTzZnwTUcX0hL/MDPT8+dyzJufUxEGaUZSrgyUUw/mMhqI NMIHlZcjj9CoPbHZrH4Dj2zxH+lSkfcQzEQr+xdL2QX3ac3fZup6ly/Y+X7J5A3cuAGa Addw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=x7OA26Yr; 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 l15-20020a170906794f00b0078d23ac6981si677965ejo.790.2022.10.24.13.31.00; Mon, 24 Oct 2022 13:31:25 -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=x7OA26Yr; 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 S234042AbiJXUPK (ORCPT + 99 others); Mon, 24 Oct 2022 16:15:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234159AbiJXUOH (ORCPT ); Mon, 24 Oct 2022 16:14:07 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBC7783051; Mon, 24 Oct 2022 11:32:10 -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 sin.source.kernel.org (Postfix) with ESMTPS id 81E5CCE16F3; Mon, 24 Oct 2022 12:52:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59A47C433C1; Mon, 24 Oct 2022 12:52:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666615973; bh=CZYsMphJMpaNrKDew+OX76nRYFASQeGDTo1/8Np2474=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x7OA26YryZnsMAThGbdKrvPMpxEZJeyMBonPNQ2rsghByCadfTvv7Fvldl8sd+c30 ztHvzAK/0A/lkfQygmA7DLxtroJiOJ3j4ffQW96bXqKP1USJxs9wnXu3L0EdAENKNj 5MiviSncTQU01W9wlWhWftvCgSP3QrUC5YpdBrkk= 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.15 453/530] drm: panel-orientation-quirks: Add quirk for Anbernic Win600 Date: Mon, 24 Oct 2022 13:33:17 +0200 Message-Id: <20221024113105.540523881@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113044.976326639@linuxfoundation.org> References: <20221024113044.976326639@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 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?1747602358637555682?= X-GMAIL-MSGID: =?utf-8?q?1747602358637555682?= 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 f5ab891731d0..083273736c83 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."),