Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp74019rwi; Sun, 9 Oct 2022 18:48:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM76Yi805PpxJZvZfwp1RqN67l4hok02plgmw8eFc5O1JczuQnTm6AM1tGGuuGIEluu1xZQq X-Received: by 2002:a17:902:8ec7:b0:182:dcf0:4a22 with SMTP id x7-20020a1709028ec700b00182dcf04a22mr638881plo.61.1665366512993; Sun, 09 Oct 2022 18:48:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665366512; cv=none; d=google.com; s=arc-20160816; b=G1SjNo+SyRRZ19SeA15JFSdsD8aO5ej351US+h20ZUazkaFuXPJ8+tNot2SwInpn2N X+OZCTuUxve+uFtbw/JWOypY0bSzvBsv7RplC/2Cfr0SivkdLER2+xBKgOp1LbdhavfU gb0Joe30UhbVM6l9Kc+KP++8t18n+/BTXQu5hh58y/dU4RQAVPVSabuGgutP/XvYdaTe WqIanodROxOexguPKvbfcP2++OkM4EEB2c9xTzLXjflg4P1edAHfP3ldnWdwsrTIQoZ6 ywqg1BbBNig5VLHy1sjl1fhLrYpyowb6VuWBLJUASezT+sehqr6VN7iDbhLLn0xwRa5f i4JQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=k+GanfmrYRfG+KuK0n34qt69jU3LFeRsjKrPtKSCy48=; b=r+zpE6+lJmLaujgjnu/xTgakYqmu5LRLLsTvfyi+lMLbg9grv94gnYXaKGUNegHQfo dP9ibUkhCMv5AuOWjEyFz0IGUgG4kj2kdwhI9G1RzktwjhJmQeoM2CZQO91ZFTllZbZw 0P6J6HFvaN4ltLPnZbmMqI8eRslenn7ur5nxQeTP8uYohyrr6qB2sG8pR/hwZLBodIOI lgt9GQmfSU1orrjlHk/7Tz5729d5IncQfJVHuWWAmTgRLqoRJ9oQvJG2GEgwU+3hRlgv q5X+yfaq13vFnxIYGPFU9Lmkpn8ibUeaDgvOexDNZiMOwwJ0tR9vYpY+wVruAijkq+Wc tYzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EsnG3ksU; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b21-20020a631b15000000b00439e032756fsi9845444pgb.65.2022.10.09.18.48.18; Sun, 09 Oct 2022 18:48:32 -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=@kernel.org header.s=k20201202 header.b=EsnG3ksU; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232817AbiJJA1C (ORCPT + 99 others); Sun, 9 Oct 2022 20:27:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232760AbiJJAWj (ORCPT ); Sun, 9 Oct 2022 20:22:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6B441018; Sun, 9 Oct 2022 16:56:35 -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 6E0D360D57; Sun, 9 Oct 2022 23:56:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C61BAC43141; Sun, 9 Oct 2022 23:56:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665359794; bh=CZYsMphJMpaNrKDew+OX76nRYFASQeGDTo1/8Np2474=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EsnG3ksUOgY+RjDXOv7UkXbuRXChjeMX2jgFZUTt9dQwz24r/6BA/VxbH5zppmijC XF6VdsXfjFQ8xPHiCiPjZ7JSAKbhh3fiRXk3KMZ7KdAJkOQYWHKNNTy7qVRW4iT99z ofu6bSZZYBhKvaojsbWKcIDMq6Q98qDhCzYMmXQVE5gxWzntQVtvRuZ+qyS4LbMyLM oVmSwo+rKoprjExh/lVq/AKwmgiyBLJCstcomkkdr+dFp2g/yqwk1q4KfN2eGY4crG JEQC6cxFyg+rMuSL7r0h2Xs4tzkzhSUKawfsnSQCpTHmYNN0eWhlk/1bwzJD9Ews7r sst82k9uehQqA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Maya Matuszczyk , Hans de Goede , Sasha Levin , maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.10 12/22] drm: panel-orientation-quirks: Add quirk for Anbernic Win600 Date: Sun, 9 Oct 2022 19:55:30 -0400 Message-Id: <20221009235540.1231640-12-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221009235540.1231640-1-sashal@kernel.org> References: <20221009235540.1231640-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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 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."), -- 2.35.1