Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp62133rwi; Sun, 9 Oct 2022 18:31:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM56Ux1lkGkM1nrSgx0UrbeygNY3fraXYC9Pzwy588mbzan4fKQQTyb/Tn1o2Aha7LIzgnNV X-Received: by 2002:a17:90b:1d11:b0:20d:4c69:6886 with SMTP id on17-20020a17090b1d1100b0020d4c696886mr1058436pjb.14.1665365505086; Sun, 09 Oct 2022 18:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665365505; cv=none; d=google.com; s=arc-20160816; b=yzhr9h8qI1CIqvpdUW22bojVrbJmQdDJAkwrbCoQgJVoqSkVOlBGPC/aehHDTteqn/ UZ2r+fp9b7XGhzW4lWFHwqxWdOSyFdTOUzEXL3nfOW6X2tnFBzh1nCJ7U3pCpIIxZYZ9 KwaRZ/8uLSwiZ6SbTq5l3uk+rGRrYIDKn4n9bv+hDHYOZEQs0l+jALmL1ZmjwyWzFrDV LwZ9+eAtxq6uTBeBIsZlxzwKd3eDQOJojRjWPIPY6/AGEyu4k5mq3DN7C5Cy/n8im7cp m/CXqzWNtGhBy3nzW84B3fEFPzGVgfGSLMfUQqK3eq495v+UnynDXDcGdXDsf54ckLm+ HNKg== 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=uihO3/A1dxPghwVpnk47HlSDWnsofeaNFghAzj0r75zh6mWnyjzOMp+DSq42+HHIxT EeeM8wUQYfQwI6eq/W0CkEyJPIZRBKwBrFSh1bMEbAPGBgXcG+tJPxZ+Z3xuqzpdJ6lL wVt0KVjAdAhEcClJHyRTO/+wRMbdfYBKZE176yxhRONyUsdyOpNBXXyN+UA9aDAXTtj7 spUjx8/cideh99F2KJ/quHfivQE84qMs6O2lWQ5SmCCwHwf9UzYaMOwNlAR0tUJMpdMn PqwMBtLjT0tKdaxhIdttTfDa2t7JPjPH/Lv0TkVYd41XuwGYyBSpOyCelFtyT08J5lil Ojsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JdfjSCUZ; 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 o7-20020a63f147000000b0043bddc90f10si10986651pgk.79.2022.10.09.18.31.33; Sun, 09 Oct 2022 18:31:45 -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=JdfjSCUZ; 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 S233062AbiJJA2j (ORCPT + 99 others); Sun, 9 Oct 2022 20:28:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232892AbiJJAXv (ORCPT ); Sun, 9 Oct 2022 20:23:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D719424BFC; Sun, 9 Oct 2022 16:57: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 73BFD60CBB; Sun, 9 Oct 2022 23:57:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB39BC43470; Sun, 9 Oct 2022 23:57:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665359851; bh=CZYsMphJMpaNrKDew+OX76nRYFASQeGDTo1/8Np2474=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JdfjSCUZqiaGywb9yniVIIIEQYk2SahWTMMJZ3xzyQLb0m7h153R+AWSNZ00dvbZv 4Zdhg/ptmSwuBHCxthR50aiN5fYIRdTdPvBS0Dm5x/tAG28vlqNhg1OId6ow1+/mn8 EbDEjOvF+O1Y+viNDCGwm6BHnritmMMjRioxWdlfcI3piAXNi6qzIu3n1LPOJfNKfl gazO3TgADdks9vIdRH368Sh3KnPylk71lWO5d6C31kSguHp4+41zfSeJD1UHIvtMAX 1U945A7+LFlunrIU9/X7c//HrKHIRnYJYhVxsKIb1yOzJj8HHyvBbVWne/CksF8EuU WsZfaz6/qQ8bg== 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.4 09/14] drm: panel-orientation-quirks: Add quirk for Anbernic Win600 Date: Sun, 9 Oct 2022 19:57:05 -0400 Message-Id: <20221009235710.1231937-9-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221009235710.1231937-1-sashal@kernel.org> References: <20221009235710.1231937-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