From nobody Fri Nov 29 18:51:53 2024 Received: from smtp1.math.uni-bielefeld.de (smtp1.math.uni-bielefeld.de [129.70.45.10]) (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 D094A155352 for ; Mon, 16 Sep 2024 13:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=129.70.45.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726492835; cv=none; b=IjYHCncKCWU//fHEggImaSA7rR7mT8HIEP7tLZ7VN5oiKDy2rWB4ulB5Gd4rFPp3IGKeMMNh/FGuhiOkyoOVNDs7RazcGlxONSIyTWQOHHL/qp1BupbGKOZjp5wxYaGQgIyU34NLmuZM1DktYeOTOSUFKvQNNxtKT+Q0q+HGzRM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726492835; c=relaxed/simple; bh=1+TT6VGnYhNjqiR9MTCYSA9nIQtx7OKbu6pDyhL6JLk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZEbc5LT38O4tSmwkwn0Z5kMi7vn5HrRCVBc6+afEM9E5hWqJQPhSzwk2VwayyMZPoXK6ANSXAI+hc9u+IHWN72vTN1F7uybOszf0BNQBi5+w554GsFabJDZE8rGz2ClKuA9X6oewEr48QlvcifipTmvSlera9Kn3vB0SA0woYa8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=math.uni-bielefeld.de; spf=pass smtp.mailfrom=math.uni-bielefeld.de; dkim=pass (2048-bit key) header.d=math.uni-bielefeld.de header.i=@math.uni-bielefeld.de header.b=MZ+kEfpq; arc=none smtp.client-ip=129.70.45.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=math.uni-bielefeld.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=math.uni-bielefeld.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=math.uni-bielefeld.de header.i=@math.uni-bielefeld.de header.b="MZ+kEfpq" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=math.uni-bielefeld.de; s=default; t=1726492830; bh=1+TT6VGnYhNjqiR9MTCYSA9nIQtx7OKbu6pDyhL6JLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MZ+kEfpq+o95Tfb2S2EuUhvCXRdrbXq0BRL6EWnJgML3Czxmplax8DxD9Imn44BU3 jNyzOIWjuScOIJFRlFAs9jtcRoyncFg7kyI9hJWZXF3n2ilqsyJ6xaOiktfmUQ0jLT md3ReGIfH22gogWc2JwFJCBbJkkwuXSdMyI+iVWutoWB10w1LNBIdKebKaRTMTe5NL n5V6pX1UfwcPjFrjEETU1Dn4QoQS9bWZjgXksVNIk7OyJa/GO9JY/ivIqYZine4EJr R28FfYslrS5Lx/RFQqfbMqf3ybeTzWWIkz6IT9as1aa3JFu1YfUCtyCBLMYS554xFZ 1ndmGh/wpSzZg== Received: from localhost (dslb-088-074-203-146.088.074.pools.vodafone-ip.de [88.74.203.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by smtp1.math.uni-bielefeld.de (Postfix) with ESMTPSA id 826B32066F; Mon, 16 Sep 2024 15:20:30 +0200 (CEST) From: tjakobi@math.uni-bielefeld.de To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= , "Derek J . Clark" , Denis Benato , Hans de Goede , Tobias Jakobi , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model Date: Mon, 16 Sep 2024 15:18:51 +0200 Message-ID: <2b35545b77a9fd8c9699b751ca282226dcecb1dd.1726492131.git.tjakobi@math.uni-bielefeld.de> X-Mailer: git-send-email 2.44.2 In-Reply-To: References: 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" Content-Transfer-Encoding: quoted-printable From: Joaqu=C3=ADn Ignacio Aramend=C3=ADa 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=C3=ADn Ignacio Aramend=C3=ADa Signed-off-by: Tobias Jakobi Reviewed-by: Dmitry Baryshkov Reviewed-by: Hans de Goede --- 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/d= rm/drm_panel_orientation_quirks.c index 2166208a961d..3044927c0c5c 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -184,6 +184,12 @@ static const struct dmi_system_id orientation_data[] = =3D { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"), }, .driver_data =3D (void *)&lcd800x1280_rightside_up, + }, { /* AYA NEO AYANEO 2 */ + .matches =3D { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"), + }, + .driver_data =3D (void *)&lcd1200x1920_rightside_up, }, { /* AYA NEO 2021 */ .matches =3D { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"), --=20 2.44.2 From nobody Fri Nov 29 18:51:53 2024 Received: from smtp1.math.uni-bielefeld.de (smtp1.math.uni-bielefeld.de [129.70.45.10]) (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 E00941862 for ; Mon, 16 Sep 2024 13:21:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=129.70.45.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726492914; cv=none; b=Rx/FZbrAdXiRi6s9dlhb39tNZxMLA5Xjw6qjPmDZSeTeC4zgEBWBUOg8QyR9wsoafN8MfnN6angMGlN493i1WLpfH156/9gEDTUNa+CUn/pbR6PIgNjBfrPF4irOc/m2/t9r8/WKwQtjC6piXxuehlGITRkH96w4SVM2YLICcVg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726492914; c=relaxed/simple; bh=PtaU0PjHbdO0sNN5fkkU0y+2eRLBqNws1vmyaaveI8E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=L4Na36gqB2w4nICzMyxK1qXhsZ7rhrLt7044s3Azr1Agjho654TUvtj00x7U9G4J2/Rp1KlgOeQ4Nlvko3+Buof1GMdoK3z29bW8tXHToMl3LlOiMqewtAn5C+69IxyQNtWBFmCYULo8GhcPXGl+SXD14l7SC1G74Db5hxhNHPU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=math.uni-bielefeld.de; spf=pass smtp.mailfrom=math.uni-bielefeld.de; dkim=pass (2048-bit key) header.d=math.uni-bielefeld.de header.i=@math.uni-bielefeld.de header.b=psnQIEix; arc=none smtp.client-ip=129.70.45.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=math.uni-bielefeld.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=math.uni-bielefeld.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=math.uni-bielefeld.de header.i=@math.uni-bielefeld.de header.b="psnQIEix" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=math.uni-bielefeld.de; s=default; t=1726492911; bh=PtaU0PjHbdO0sNN5fkkU0y+2eRLBqNws1vmyaaveI8E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=psnQIEixxGf2tCi1GG70W2MZrh2YralcgBdSvUZN6DnbfHr1rq1BivNKsB9CX9vsx 3h+nX6pg4Fmt0qWh5NW2BOFnXiJtF8QvbsRGvAo1g3YMFQPSSup2cQsK6u5nGNtDab pssRWJFrqPuz3arFqQ7PRk54ZLoNy9//vjCLo5bmds6/yPGPZPx8aZK/tyOBtZ8qJJ D7q3FhxbMaiSJVT3Sx7BS7QEv6DQ5R8uvrSAASRR9x0j0AQCkvCm3IXiWXOc7agQnW +HXcUOOniUjOaLuuTbdMPvu73I42AvQsH/E/UxG5HTy2R0pRpP8QtmuAPuLt8yyY6J 9vWKT8EZgsy5Q== Received: from localhost (dslb-088-074-203-146.088.074.pools.vodafone-ip.de [88.74.203.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by smtp1.math.uni-bielefeld.de (Postfix) with ESMTPSA id 118262066F; Mon, 16 Sep 2024 15:21:51 +0200 (CEST) From: tjakobi@math.uni-bielefeld.de To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= , "Derek J . Clark" , Denis Benato , Hans de Goede , Tobias Jakobi , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition Date: Mon, 16 Sep 2024 15:18:53 +0200 Message-ID: X-Mailer: git-send-email 2.44.2 In-Reply-To: References: 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" Content-Transfer-Encoding: quoted-printable From: Joaqu=C3=ADn Ignacio Aramend=C3=ADa Add quirk orientation for AYA NEO Founder. The name appears with spaces in DMI strings as other devices of the brand. The panel is the same as the NEXT and 2021 models. Those could not be reused as the former has VENDOR name as "AYANEO" without spaces and the latter has "AYADEVICE". 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=C3=ADn Ignacio Aramend=C3=ADa Signed-off-by: Tobias Jakobi Reviewed-by: Dmitry Baryshkov --- 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/d= rm/drm_panel_orientation_quirks.c index 3044927c0c5c..d1302123071e 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -202,6 +202,12 @@ static const struct dmi_system_id orientation_data[] = =3D { DMI_MATCH(DMI_PRODUCT_NAME, "AIR"), }, .driver_data =3D (void *)&lcd1080x1920_leftside_up, + }, { /* AYA NEO Founder */ + .matches =3D { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYA NEO"), + DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"), + }, + .driver_data =3D (void *)&lcd800x1280_rightside_up, }, { /* AYA NEO NEXT */ .matches =3D { DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"), --=20 2.44.2 From nobody Fri Nov 29 18:51:53 2024 Received: from smtp1.math.uni-bielefeld.de (smtp1.math.uni-bielefeld.de [129.70.45.10]) (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 101091862 for ; Mon, 16 Sep 2024 13:22:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=129.70.45.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726492938; cv=none; b=qs3WcUl7JKcUMrmwMNaoHsaDP1dQRKMs5e6/iWkStMjxCalV2Uu9RpRtE+5GOFpgHYCosqjL79EhSy+DYk5IT0fBcyn6i6C/rtUQ+0EPWoedvzfJqs24ytZD5Rge2vjAVm8ntrmnfdq3v+0GS1wpVgu2ntvlUqSLdEEJf2c0BuY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726492938; c=relaxed/simple; bh=ts4qHaRPC3o9DL2A8J29gR6K2XZT+maNirNuxok4Xh8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=H1Pu9cUJ6OvOfEZuyApaBadoU/nVfUHf4Z51RM4SmrKsM+EXK6v6y5M4FrpJj0p2JVfYaVSXAj/AKAy+ZznJW2okh/gqEjFc9qwjGGVV9vZ6HUE1nXjfqtJQTHPBysCHrSsIOiXyQGgr50MD92AoWUAKT4jwfScRt/E1rtUoflw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=math.uni-bielefeld.de; spf=pass smtp.mailfrom=math.uni-bielefeld.de; dkim=pass (2048-bit key) header.d=math.uni-bielefeld.de header.i=@math.uni-bielefeld.de header.b=Xa1xdy5w; arc=none smtp.client-ip=129.70.45.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=math.uni-bielefeld.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=math.uni-bielefeld.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=math.uni-bielefeld.de header.i=@math.uni-bielefeld.de header.b="Xa1xdy5w" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=math.uni-bielefeld.de; s=default; t=1726492934; bh=ts4qHaRPC3o9DL2A8J29gR6K2XZT+maNirNuxok4Xh8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xa1xdy5wZK4tT6o7LBudYT5N2YQ+ih2UT6Z5rTb7gkhwBAn6SmnKeoKHeBTAPa+jq /jwUqBaffXxJOHLhOnzBbcrXwYltjfL9uTDb4mj0ApeEt6gDJfjerHI7exHk1swC3t IYhWYd/tS1nunp2HVLTrC35mCgipHO4kCQqurVwUYwdTHTmcvywS4jfYh1omWgPjpq cwhzSptcYjfRDZhCY09ZR4CWpDlbNyp0MqkEFUIRTPHPGqpKH/ISwj58N/8u3h4Gbp pf7Asq2kz0pLcUm5pY63fGgZghZAqax69gzRUhgieH8JmxYA9pkmG1JZ2BVwvr6bH3 LHHimzc04n15g== Received: from localhost (dslb-088-074-203-146.088.074.pools.vodafone-ip.de [88.74.203.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by smtp1.math.uni-bielefeld.de (Postfix) with ESMTPSA id B986D2066F; Mon, 16 Sep 2024 15:22:14 +0200 (CEST) From: tjakobi@math.uni-bielefeld.de To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= , "Derek J . Clark" , Denis Benato , Hans de Goede , Tobias Jakobi , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK Date: Mon, 16 Sep 2024 15:18:55 +0200 Message-ID: <40350b0d63fe2b54e7cba1e14be50917203f0079.1726492131.git.tjakobi@math.uni-bielefeld.de> X-Mailer: git-send-email 2.44.2 In-Reply-To: References: 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" Content-Transfer-Encoding: quoted-printable From: Joaqu=C3=ADn Ignacio Aramend=C3=ADa Add quirk orientation for AYA NEO GEEK. The name appears without spaces in DMI strings. The board name is completely different to the previous models making it difficult to reuse their quirks despite being the same resolution and using the same orientation. 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=C3=ADn Ignacio Aramend=C3=ADa Signed-off-by: Tobias Jakobi Reviewed-by: Dmitry Baryshkov --- 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/d= rm/drm_panel_orientation_quirks.c index d1302123071e..1e556f9dd574 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -208,6 +208,12 @@ static const struct dmi_system_id orientation_data[] = =3D { DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"), }, .driver_data =3D (void *)&lcd800x1280_rightside_up, + }, { /* AYA NEO GEEK */ + .matches =3D { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), + DMI_MATCH(DMI_PRODUCT_NAME, "GEEK"), + }, + .driver_data =3D (void *)&lcd800x1280_rightside_up, }, { /* AYA NEO NEXT */ .matches =3D { DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"), --=20 2.44.2