Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 267AFC43217 for ; Sat, 19 Nov 2022 02:16:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E878310E831; Sat, 19 Nov 2022 02:16:22 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id B9F7210E831 for ; Sat, 19 Nov 2022 02:16:21 +0000 (UTC) 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 ams.source.kernel.org (Postfix) with ESMTPS id 5B387B8267B; Sat, 19 Nov 2022 02:16:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E63DAC433B5; Sat, 19 Nov 2022 02:16:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668824180; bh=/6xSMD6UHdU98GX4NucIayPDS4nBVFCfSm/TkkM5y+4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h9G5jV138EgQvM+VIlFwJ20e3i/8MaLwLBwrScLuhRFcPGV6XTCt7b6eKXKpoSKuo fuWfkW31t6cpOXpSvksd2XxIckSgXJKGMAKyGPWLSP4I4UW4Tax48PGbiJ2n27fID/ mbMhavGNb6y+Vci37NNPpf5VoLjzLynzdGFLQK/bbJYiZ3VJ8WvOafaTHl1hBDuBuW HI0ozrGxYVCGzuVp7ctQlEUbEzR5hSWnmMX7Ivk8y5sxVuNm7nrmMta+rxcbyM+v8L HoOeymyffofHTU814+jozbRth2vrcoQu1SW6iR2cWkiWvnynQhUbacljzGl53kcxb+ 3xrkGPEHb/Xpw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 6/8] drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017) Date: Fri, 18 Nov 2022 21:16:07 -0500 Message-Id: <20221119021610.1775469-6-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221119021610.1775469-1-sashal@kernel.org> References: <20221119021610.1775469-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sasha Levin , Hans de Goede , Rudolf Polzer , dri-devel@lists.freedesktop.org, tzimmermann@suse.de Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Hans de Goede [ Upstream commit 653f2d94fcda200b02bd79cea2e0307b26c1b747 ] Like the Acer Switch One 10 S1003, for which there already is a quirk, the Acer Switch V 10 (SW5-017) has a 800x1280 portrait screen mounted in the tablet part of a landscape oriented 2-in-1. Add a quirk for this. Cc: Rudolf Polzer Signed-off-by: Hans de Goede Acked-by: Simon Ser Link: https://patchwork.freedesktop.org/patch/msgid/20221106215052.66995-1-hdegoede@redhat.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 bea1d3e7e964..7a2a148b8ec6 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, + }, { /* Acer Switch V 10 (SW5-017) */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Acer"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "SW5-017"), + }, + .driver_data = (void *)&lcd800x1280_rightside_up, }, { /* Anbernic Win600 */ .matches = { DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Anbernic"), -- 2.35.1