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 13475223E96; Thu, 12 Dec 2024 17:48:48 +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=1734025728; cv=none; b=IHHsc2a/pkiisrcr39I48QtK5YpNAsRD/pOlBBAtU/4/4eUf1jnM9SDZwA2NDoiDN+mi2/xJUgwGyRjVScIOi+3lUHoC1bhhXDG6g1WWsh2HSihjNVTccPKbqiNOCQkGYyCNnPPsdZHAgF083W7lF+QTPOZL4ma6R9VGCtQEPD4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734025728; c=relaxed/simple; bh=ThDCvsf6eP9ZVhxmUQYLaEMZvC9fLwQfrmYV+s1d2zs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WpBP4qN4EPIfNf2U/UwgIwwanbS6CLHoAXA0zEY4XFpCm0GUDJHi2dh/U6KRQjFEHAe+QQWA2t1+J1XXonUfwcGWWtUZEIFOKOxNp7mZ9kOrUxXdyZw0Fl9Hv0DcsMP30z3wo5vXqs84nxiCcNsmaMQ1QnUhSHJpZ/peCn0ljxo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PDDtLPB4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PDDtLPB4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92605C4CECE; Thu, 12 Dec 2024 17:48:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1734025728; bh=ThDCvsf6eP9ZVhxmUQYLaEMZvC9fLwQfrmYV+s1d2zs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PDDtLPB4mWotIPYwOftsYDSpFxffllMN73cWPkKpC57VaNf4eKE7wFl0ftNlRhf1m SwvDIOKDHbZ1oGMC5+Ipl5YWzZcHBE9obKtsZq+STOIiMVEUKtUjFHgMRTG7Jzbc// NJabLlwkXJCo966fRfB9wbMheY6xk/xEaeFV/Oc8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= , Tobias Jakobi , Dmitry Baryshkov , Hans de Goede , Sasha Levin Subject: [PATCH 5.4 267/321] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model Date: Thu, 12 Dec 2024 16:03:05 +0100 Message-ID: <20241212144240.527924224@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241212144229.291682835@linuxfoundation.org> References: <20241212144229.291682835@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ 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