From mboxrd@z Thu Jan 1 00:00:00 1970 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 8F9E1E83834 for ; Mon, 16 Feb 2026 20:55:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BC9A210E3DF; Mon, 16 Feb 2026 20:55:32 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=antheas.dev header.i=@antheas.dev header.b="BdbusWAd"; dkim-atps=neutral X-Greylist: delayed 572 seconds by postgrey-1.36 at gabe; Mon, 16 Feb 2026 20:55:31 UTC Received: from relay14.grserver.gr (relay14.grserver.gr [157.180.73.62]) by gabe.freedesktop.org (Postfix) with ESMTPS id 74B6810E1D3 for ; Mon, 16 Feb 2026 20:55:31 +0000 (UTC) Received: from relay14 (localhost [127.0.0.1]) by relay14.grserver.gr (Proxmox) with ESMTP id E5693408A1; Mon, 16 Feb 2026 20:45:57 +0000 (UTC) Received: from linux3247.grserver.gr (linux3247.grserver.gr [213.158.90.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by relay14.grserver.gr (Proxmox) with ESMTPS id B2B43407C8; Mon, 16 Feb 2026 20:45:56 +0000 (UTC) Received: from antheas-z13 (unknown [IPv6:2a05:f6c5:43c3:0:378a:d3f6:f8b0:bed1]) by linux3247.grserver.gr (Postfix) with ESMTPSA id C677A1FE763; Mon, 16 Feb 2026 22:45:55 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antheas.dev; s=default; t=1771274756; bh=iu4eyKR8jURUOXWaTazTCUC09//HNOl71Atbpbe08kU=; h=From:To:Subject; b=BdbusWAdYKBhcQb5aW/e3u5QjF6sDvbRrZxiWGs+r3YC2yp5EJpkKZRR8hMLHYon6 qUQlgU60l8HmWMRDDRKrn6zbpl/6L5CSqFfguMipYGv1ydkxZAFLjPGras3kd4rbhV IeZRdoCpWFJKgz0yBxHFi+LUlV6M5KjcpcWeaxGkEpneAGhwVEgnadzE247kVFU9xI cOGzO+yah8McMlJJ9hZvUIwR6krKpZjptx+wSBmD7NAr3c/1z8KFFhlyDjlxwU/zsP CdMoUx5TsNoE95en8dabwKCknB6Sy+xonVWj8JUv3Ujw7Be+0LWcM6165gqEMMtsRb anTTBvO5cG94w== Authentication-Results: linux3247.grserver.gr; spf=pass (sender IP is 2a05:f6c5:43c3:0:378a:d3f6:f8b0:bed1) smtp.mailfrom=lkml@antheas.dev smtp.helo=antheas-z13 Received-SPF: pass (linux3247.grserver.gr: connection is authenticated) From: Antheas Kapenekakis To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , philm@manjaro.org, Antheas Kapenekakis Subject: [PATCH v2 03/14] drm: panel-orientation-quirks: Add Ayaneo 3 Date: Mon, 16 Feb 2026 21:45:36 +0100 Message-ID: <20260216204547.293291-4-lkml@antheas.dev> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260216204547.293291-1-lkml@antheas.dev> References: <20260216204547.293291-1-lkml@antheas.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <177127475628.3070272.346082725582217185@linux3247.grserver.gr> X-PPP-Vhost: antheas.dev X-Virus-Scanned: clamav-milter 1.4.3 at linux3247.grserver.gr X-Virus-Status: Clean 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The Ayaneo 3 comes with two panels, an OLED right side up 1080p panel and an IPS landscape 1080p panel. However, both have the same DMI data. This quirk adds support for the portrait OLED panel. As the landscape panel is 1920x1080 and the right side up panel is 1080x1920, the width and height arguments are used to differentiate the panels. Reviewed-by: Philip Müller Signed-off-by: Antheas Kapenekakis --- 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 23e736469aab..f745db95c394 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -209,6 +209,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"), }, .driver_data = (void *)&lcd1200x1920_rightside_up, + }, { /* AYANEO 3 */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 3"), + }, + .driver_data = (void *)&lcd1080x1920_rightside_up, }, { /* AYA NEO 2021 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"), -- 2.52.0