From patchwork Mon Oct 24 11:32:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9214 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp459216wru; Mon, 24 Oct 2022 06:39:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71krlkmBD2LmcsCICgBb7ZGEgYVjl3+w3CdjAZUL1/len4r5DmXSn1X/c0UGDQrIeqTho1 X-Received: by 2002:aa7:df94:0:b0:461:aff8:d3e1 with SMTP id b20-20020aa7df94000000b00461aff8d3e1mr6764033edy.10.1666618746622; Mon, 24 Oct 2022 06:39:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666618746; cv=none; d=google.com; s=arc-20160816; b=DZJ54ZMf4PlQmhRnfQTVW4GZBNE2XmrnMpEKMa1uYs7RF3/CFJjsCeiGS4OEXMwnkK F7waHBwpbr4Nnmi43DqgzzorcHPzlnyY+rKcdKM9muhkifiZFPBSiU4vq1s6hBgjYjC1 thBg543JUXNow30VTEegFdDVOmoKCQVdAWGzRfrln53s55IUFaWKXsX+fbeFv4U+yYMO b8y5UdMd/PQ5F/yGUefLzu1EaklCQP77MBw/wCM3bufnQEbKQCX8ud+zfU/Fm8jZr5HQ mxtntgXP+qxAG6AMkXv+p7Tr6x2pCqKStUvAgbGhBYSS4qr7LUnJXCxLcwvJvLI4Etbu /9jA== 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=dyJ6ANc50QXUuATMUlVS/nfcqG4NRuCCDgdXFro20AVYtiE3jGyZbOiVGMxToj2Ykf iuzYOb6zU//PJb/rzJqh5RB8U8Wk+Ierzq5Mn37X2nKlo6hG66l5iEf+PyYsHj2ZcUFH 141/OZuNiig66cIBT6TStaOGc+p3HIFYMd44+tavlmTCNfdNVxcjqP+OVEmGRSQl57P/ EL8cE0WKrrlBT28h6TT7IUpTNkV9sUGkgTMZNdqaQN0O4xJse/LaK0dmzRSjsQoCexZ8 MVOpK0D+qij/XMw4qa44TnH0JVfbKN+VR7dCJjwq4DOMHst5+qUiHMhLqMVodHx37WvX HJ7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GDoiAWV0; 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 ga9-20020a1709070c0900b0077b83f3dc20si26181838ejc.63.2022.10.24.06.38.41; Mon, 24 Oct 2022 06:39: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=GDoiAWV0; 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 S236324AbiJXNfW (ORCPT + 99 others); Mon, 24 Oct 2022 09:35:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236288AbiJXNa3 (ORCPT ); Mon, 24 Oct 2022 09:30:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D502ACF43; Mon, 24 Oct 2022 05:33:33 -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 32D126131D; Mon, 24 Oct 2022 12:14:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C7B0C433D7; Mon, 24 Oct 2022 12:14:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666613645; bh=CZYsMphJMpaNrKDew+OX76nRYFASQeGDTo1/8Np2474=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GDoiAWV0UiurilOBbMQo6qwxayolhAbwEXQ04iKQfff8lVCQ1iGOy7amM5bnE8paR HDVkI3P3tT7QdQOFLxm2/GMVeCTffPFSSGygN52X5cI3vZxTcCFQLarATRlwS52TL2 lWEATvcKc163G21A+jsOTyF+x4Z4myfynPT+CYg0= 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.4 215/255] drm: panel-orientation-quirks: Add quirk for Anbernic Win600 Date: Mon, 24 Oct 2022 13:32:05 +0200 Message-Id: <20221024113010.204314378@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113002.471093005@linuxfoundation.org> References: <20221024113002.471093005@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?1747576419074486468?= X-GMAIL-MSGID: =?utf-8?q?1747576419074486468?= 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."),