From patchwork Mon Oct 24 11:31:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 8824 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp431290wru; Mon, 24 Oct 2022 05:43:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Awnn5Tk6ywPFLFu8GtZ1RVDa+eScF3cZxoo6PI9JwAzwIXIsar2HZh6R3f/YBb3IpNwIQ X-Received: by 2002:a17:902:7b95:b0:178:ab50:76b5 with SMTP id w21-20020a1709027b9500b00178ab5076b5mr33668154pll.161.1666615405528; Mon, 24 Oct 2022 05:43:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666615405; cv=none; d=google.com; s=arc-20160816; b=ONFY7Es/EqkIQHzFwjOrAxrF/O02hfbRrxjueWvcDL3llYo3UijrrKeG+ZulyvE8iL zN6cKhvqa5/fykhXbw5r0y/MxMJiNAGLX+qM4tz0Gitw0lRTqK3DyekRkarOQNqIbvDQ RLKupYUTBdOrdpYmdu13ZbQxx1/jjRi1ddEcQU5X3FWhL1BMbA1rnIwW3wbdSGoIA/+9 R4sXpfmVIscgLFkgDs9LjhFfw1+5+kie0e+fu7/FcIXmObUVq6btq6Z/MiTlI0pV0YRj cHeTisZe8JAzXFBW/MKf0hsbQyI4mcDjz3VuOtYZI/JOOX/uKj6YBff5BQSrljD1qr3O PamA== 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=kRVB8tQIxodMw9D4gjJpKNI2JyoWlM1ze1hf0sDpXvE=; b=cab3x+9yFO4zb6dnk4yP6PqZgKWZE5/hL4YWcYG7OzH3eCoy7uxwLPxGzmiqmhxyOK dwjgTgOS76uexz25PCqVWQdltXNxNlb3N4f34GGfeVIih+faH3+ddxTvTFaSVFxSvCUP Bn4Zw7QKlUJF/2GxLuknSSS6mme3rQYABSCuXZrfSBV95m3T0UmJRdPYF1N5heW4jnTF f/umxuOnwWypWSTTiiB0ahyS7AeT2742s1iEfr9JrUHfuMECUrW036xg9XFLzhv9H+q+ b4LUCGeUfwj3Xi3Prh8sbcIVIYI4gHFAIzXCLgNEElUsTg9Bi4YSJPgSDaAgPlJ9ELaU e9UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=v7S8zZjM; 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 a20-20020aa794b4000000b0056bfad4be89si1079288pfl.311.2022.10.24.05.43.04; Mon, 24 Oct 2022 05:43: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=v7S8zZjM; 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 S234385AbiJXMe6 (ORCPT + 99 others); Mon, 24 Oct 2022 08:34:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234221AbiJXM3k (ORCPT ); Mon, 24 Oct 2022 08:29:40 -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 91CB616588; Mon, 24 Oct 2022 05:03:51 -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 7FB7D612E7; Mon, 24 Oct 2022 12:03:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91C87C433C1; Mon, 24 Oct 2022 12:03:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666612990; bh=Nxy2U0gzgIzMrtOcaB91OFC1EoClhzcPB5ggCZdx4mw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=v7S8zZjMPynlI+VSZi7ijQgf4E3/TFkNwveLnBFLG3xASOshwx3dZ5FzIrQuaoShW 490GuM/S/51apGAXPB4HQ2VPjlli/eNsl+4Yji7LG/Z29WMQn07vfKchvl5hLFBXv8 xMovve2hiq0O2qkgeEaIh9a06FrwFnOfOW7Vi4+o= 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 4.19 197/229] drm: panel-orientation-quirks: Add quirk for Anbernic Win600 Date: Mon, 24 Oct 2022 13:31:56 +0200 Message-Id: <20221024113005.512681324@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024112959.085534368@linuxfoundation.org> References: <20221024112959.085534368@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?1747572915291041391?= X-GMAIL-MSGID: =?utf-8?q?1747572915291041391?= 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 265df1e67eb3..bea1d3e7e964 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -95,6 +95,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."),