From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACBA01B3946; Sun, 24 Nov 2024 13:54:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732456454; cv=none; b=ge4GDXKYUoGY+ZrRegQ+75AnaF7bwt/DfEFmZUSRvPTzweDLLDWQpz7pRfgmPUrRwfA3T0zZKfsZUBwWnOGkqqoVvi82cRbkUQyj2u6nynWdxTnluAIswXboYkCqjE60A/XLwHCrJj/QKlVl10PP/q6cIbHSDz8AACyXxjzJCs8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732456454; c=relaxed/simple; bh=LMpOm/I9CTRAPSQrp8UIrztHi5OPGkRiKBjYLgDAuKA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pk6kIn6t/TAGjt9WIDJgf1Ynp7tV0+bGYzS3m6xP6d4Umh/6nixlMqTYVTeG/ZUllZoTHgT5omEdrR50x/OjVhEtpoFPQGL0hXnuF4T4BNKVv7+1rmTzajzlxBxCYV/lGgm1yc4A55cg4VmlTJvGvWa2YK1pxRm7o0oIlBIt0+Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ewRwE9nw; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ewRwE9nw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 355BCC4CED1; Sun, 24 Nov 2024 13:54:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732456454; bh=LMpOm/I9CTRAPSQrp8UIrztHi5OPGkRiKBjYLgDAuKA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ewRwE9nw+BVj/MiLF+BwOgLQznUgSMG9fcpu8AIsEehZ7IE2w7GzAg2s3sjmtSOqC cvlY97N2E+KuNSqJD0igXW5BRuhOVGa/IuDfDADH+afjpg1nVVPw1yFhEXQcSZoV0p MWWP++IecEhUsdQyVi0nSpP8fD2XWgccDALiHpBBsaBdUyyDpeT8gps86bsW2CykUW sR5xBBgDJbe+Gaz48sNRFrXOuIknYxoCp4IGhmlaxxE+LFaxUAiLvu0XO20gLrvUkx jrfoxAQ/R74LzYdvPiSPo+aRNKGtoS4f9KxkTRKK7fMy3Rev6P+eb3vfmiyIPTYqiL 6LkvpjajMD14Q== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= , Tobias Jakobi , Dmitry Baryshkov , Hans de Goede , Sasha Levin , maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.10 02/33] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model Date: Sun, 24 Nov 2024 08:53:14 -0500 Message-ID: <20241124135410.3349976-2-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241124135410.3349976-1-sashal@kernel.org> References: <20241124135410.3349976-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.10.230 Content-Transfer-Encoding: 8bit From: Joaquín Ignacio Aramendía [ Upstream commit 361ebf5ef843b0aa1704c72eb26b91cf76c3c5b7 ] Add quirk orientation for AYA NEO 2. The name appears without spaces in DMI strings. That made it difficult to reuse the 2021 match. Also the display is larger in resolution. Tested by the JELOS team that has been patching their own kernel for a while now and confirmed by users in the AYA NEO and ChimeraOS discord servers. Signed-off-by: Joaquín Ignacio Aramendía Signed-off-by: Tobias Jakobi Reviewed-by: Dmitry Baryshkov Reviewed-by: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/2b35545b77a9fd8c9699b751ca282226dcecb1dd.1726492131.git.tjakobi@math.uni-bielefeld.de Signed-off-by: Dmitry Baryshkov 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 f1091cb87de0c..bf90a5be956fe 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -166,6 +166,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"), }, .driver_data = (void *)&lcd800x1280_rightside_up, + }, { /* AYA NEO AYANEO 2 */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* AYA NEO 2021 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"), -- 2.43.0