From patchwork Mon Oct 24 11:32: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: 9283 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp463130wru; Mon, 24 Oct 2022 06:47:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6EC8xzTECG/eAPLThCx8LbKa1W6fsb4JgdH8HAH7U/wzEk3RnUZuNr2ZvE3fCNTeYOOq4s X-Received: by 2002:a05:6402:3509:b0:45d:c25b:b80e with SMTP id b9-20020a056402350900b0045dc25bb80emr30900139edd.250.1666619231187; Mon, 24 Oct 2022 06:47:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666619231; cv=none; d=google.com; s=arc-20160816; b=mCtSUL+wVqkCaIg6Vgs1ddwW0mCVsonFgLNDiH0d7D/kns3DqqN9uxpCrzTn6arg5i gd1d7ZWDbE1xKVNf+1GQa6Uc4uE6IBIzZLNEjPD6tVbQCm3YMO595sWGfMtx6EFfNX8u 37WOYXt+1RlNVxJ8BM2cXwjJYZU6zElUe8fs12mCjptt/KvBNszueZ1UZBFtpVKcfWTW EJ5JvnldMnwXT70Lcvch4EPdOcKPFkEP8LwQ0rRdYuceTyWpfFllUCWnKU6uz3HmMiPY ERbDEx7AJLjnEfQbBe+wrh1lUDzApSnWKXPtQ7OVr2txYl75WkuBgAc0IA/fhFE/4tdF 8fPg== 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=IY3CZ8HJb3Kh8xEERek/BoefHvUS2tKf6p4Ymga2QySoZF7OyLGZD8Z+Hq8g5Aq2YL cNTmKeZAtjqiDtwSSeKXSD3cok87B4FKo6bZQMiDu02oLYzqs7hIy4HWc/YNeyj56NAC oHc6cQDR7pfa47C0gdvcvfehk03GTLtFSareHNHLqhBml/kYFID7qLJSnNX8awsca96x ile6aO53TeWMu1Uwk9cTCXtrua9fBXa33QeMKcS/VbmXgwAl+OAmf4kgYKo+eTVqZhMs +MH+gWU2AwWwdOtL93f/oWamqPCdPCs8v7d50flUAF36dK4uYXW6RV4Lm6ygp/tmaB1v CugA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="reOId/jh"; 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 sa2-20020a1709076d0200b00780a882d337si26280259ejc.480.2022.10.24.06.46.42; Mon, 24 Oct 2022 06:47:11 -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="reOId/jh"; 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 S236226AbiJXNpp (ORCPT + 99 others); Mon, 24 Oct 2022 09:45:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236043AbiJXNmT (ORCPT ); Mon, 24 Oct 2022 09:42:19 -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 5A35B6402; Mon, 24 Oct 2022 05:39:32 -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 742B9612E3; Mon, 24 Oct 2022 12:30:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 864F7C433D6; Mon, 24 Oct 2022 12:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666614625; bh=CZYsMphJMpaNrKDew+OX76nRYFASQeGDTo1/8Np2474=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=reOId/jhJT0uNI3zm+XUXLFy8mp4RpLB5OHaCIVsIHGnuM0ol5mcoLnUAd7XSLnf6 +ZSC1e4vq/c+iyptYQK4OaJ/ticu+L/zgfGiGXfigSXlguHOhs8SYEuS904zoe3qxv 5jF58WHoe2yBUXpAIQCMQQRGz3SWZ1GySM7Xv4V0= 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.10 333/390] drm: panel-orientation-quirks: Add quirk for Anbernic Win600 Date: Mon, 24 Oct 2022 13:32:10 +0200 Message-Id: <20221024113037.180598584@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113022.510008560@linuxfoundation.org> References: <20221024113022.510008560@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?1747576926743904591?= X-GMAIL-MSGID: =?utf-8?q?1747576926743904591?= 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."),