* [PATCH 0/3] drm: panel-orientation-quirks: Add some quirks for
@ 2023-06-21 22:06 Joaquín Ignacio Aramendía
2023-06-21 22:06 ` [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model Joaquín Ignacio Aramendía
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Joaquín Ignacio Aramendía @ 2023-06-21 22:06 UTC (permalink / raw)
To: maarten.lankhorst
Cc: mripard, tzimmermann, airlied, daniel, dri-devel, linux-kernel,
Joaquín Ignacio Aramendía
Add quirks for AYA NEO devices:
- 2
- GEEK
- Founder
The quirks have been 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.
Joaquín Ignacio Aramendía (3):
drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
drivers/gpu/drm/drm_panel_orientation_quirks.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
--
2.41.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
2023-06-21 22:06 [PATCH 0/3] drm: panel-orientation-quirks: Add some quirks for Joaquín Ignacio Aramendía
@ 2023-06-21 22:06 ` Joaquín Ignacio Aramendía
2023-06-21 22:06 ` [PATCH 2/3] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition Joaquín Ignacio Aramendía
2023-06-21 22:06 ` [PATCH 3/3] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK Joaquín Ignacio Aramendía
2 siblings, 0 replies; 8+ messages in thread
From: Joaquín Ignacio Aramendía @ 2023-06-21 22:06 UTC (permalink / raw)
To: maarten.lankhorst
Cc: mripard, tzimmermann, airlied, daniel, dri-devel, linux-kernel,
Joaquín Ignacio Aramendía
Add quirk orientation for AYA NEO 2. The name appears without spaces in
dmi strings. That made it difficult to reuse the 2021 match and the
display is greater 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 <samsagax@gmail.com>
---
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 0cb646cb04ee..4b428792a3b6 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -170,6 +170,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.41.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/3] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
2023-06-21 22:06 [PATCH 0/3] drm: panel-orientation-quirks: Add some quirks for Joaquín Ignacio Aramendía
2023-06-21 22:06 ` [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model Joaquín Ignacio Aramendía
@ 2023-06-21 22:06 ` Joaquín Ignacio Aramendía
2023-06-21 22:06 ` [PATCH 3/3] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK Joaquín Ignacio Aramendía
2 siblings, 0 replies; 8+ messages in thread
From: Joaquín Ignacio Aramendía @ 2023-06-21 22:06 UTC (permalink / raw)
To: maarten.lankhorst
Cc: mripard, tzimmermann, airlied, daniel, dri-devel, linux-kernel,
Joaquín Ignacio Aramendía
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ín Ignacio Aramendía <samsagax@gmail.com>
---
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 4b428792a3b6..962e74afa8e5 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -188,6 +188,12 @@ static const struct dmi_system_id orientation_data[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "AIR"),
},
.driver_data = (void *)&lcd1080x1920_leftside_up,
+ }, { /* AYA NEO Founder */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYA NEO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"),
+ },
+ .driver_data = (void *)&lcd800x1280_rightside_up,
}, { /* AYA NEO NEXT */
.matches = {
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
--
2.41.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 3/3] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
2023-06-21 22:06 [PATCH 0/3] drm: panel-orientation-quirks: Add some quirks for Joaquín Ignacio Aramendía
2023-06-21 22:06 ` [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model Joaquín Ignacio Aramendía
2023-06-21 22:06 ` [PATCH 2/3] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition Joaquín Ignacio Aramendía
@ 2023-06-21 22:06 ` Joaquín Ignacio Aramendía
2 siblings, 0 replies; 8+ messages in thread
From: Joaquín Ignacio Aramendía @ 2023-06-21 22:06 UTC (permalink / raw)
To: maarten.lankhorst
Cc: mripard, tzimmermann, airlied, daniel, dri-devel, linux-kernel,
Joaquín Ignacio Aramendía
Add quirk orientation for AYA NEO GEEK. One of the more recent devices by
the brand. 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 mounting.
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 <samsagax@gmail.com>
---
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 962e74afa8e5..757bbeb7071c 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -194,6 +194,12 @@ static const struct dmi_system_id orientation_data[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
+ }, { /* AYA NEO GEEK */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "GEEK"),
+ },
+ .driver_data = (void *)&lcd800x1280_rightside_up,
}, { /* AYA NEO NEXT */
.matches = {
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
--
2.41.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
2024-09-22 11:11 ` Hans de Goede
@ 2024-09-22 14:33 ` Dmitry Baryshkov
0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2024-09-22 14:33 UTC (permalink / raw)
To: Hans de Goede
Cc: tjakobi, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Daniel Vetter, Joaquín Ignacio Aramendía,
Derek J . Clark, Denis Benato, dri-devel, linux-kernel
On Sun, 22 Sept 2024 at 13:11, Hans de Goede <hdegoede@redhat.com> wrote:
>
> Hi,
>
> On 21-Sep-24 10:02 PM, Dmitry Baryshkov wrote:
> > On Mon, Sep 16, 2024 at 03:18:51PM GMT, tjakobi@math.uni-bielefeld.de wrote:
> >> From: Joaquín Ignacio Aramendía <samsagax@gmail.com>
> >>
> >> 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 <samsagax@gmail.com>
> >> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
> >> ---
> >> 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 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[] = {
> >> 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,
> >
> > I thought that AYANEO should come after AYADEVICE, but the array doesn't
> > seem really sorted
>
> It is sorted but it is sorted by the Vendor - Model in the comments,
> not by the DMI strings since sometimes those are e.g. "SYS_VENDOR",
> "Default String" and stuff like that.
Ah, I didn't notice that. I think it's still not fully sorted (e.g.
KUN comes after NEXT), but that's probably fine.
>
> The entire series looks good to me:
>
> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
>
> for the series.
>
> > Thus:
> >
> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> >
> > If I hear no objections and if noone beats me, I'll apply the series
> > within few days.
>
> I'm currently travelling so if you can apply this series
> to drm-misc-fixes that would be great.
Done.
>
> Regards,
>
> Hans
>
>
> >
> >
> >> }, { /* AYA NEO 2021 */
> >> .matches = {
> >> DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),
> >> --
> >> 2.44.2
> >>
> >
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
2024-09-21 20:02 ` Dmitry Baryshkov
@ 2024-09-22 11:11 ` Hans de Goede
2024-09-22 14:33 ` Dmitry Baryshkov
0 siblings, 1 reply; 8+ messages in thread
From: Hans de Goede @ 2024-09-22 11:11 UTC (permalink / raw)
To: Dmitry Baryshkov, tjakobi
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Daniel Vetter, Joaquín Ignacio Aramendía,
Derek J . Clark, Denis Benato, dri-devel, linux-kernel
Hi,
On 21-Sep-24 10:02 PM, Dmitry Baryshkov wrote:
> On Mon, Sep 16, 2024 at 03:18:51PM GMT, tjakobi@math.uni-bielefeld.de wrote:
>> From: Joaquín Ignacio Aramendía <samsagax@gmail.com>
>>
>> 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 <samsagax@gmail.com>
>> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
>> ---
>> 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 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[] = {
>> 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,
>
> I thought that AYANEO should come after AYADEVICE, but the array doesn't
> seem really sorted
It is sorted but it is sorted by the Vendor - Model in the comments,
not by the DMI strings since sometimes those are e.g. "SYS_VENDOR",
"Default String" and stuff like that.
The entire series looks good to me:
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
for the series.
> Thus:
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
> If I hear no objections and if noone beats me, I'll apply the series
> within few days.
I'm currently travelling so if you can apply this series
to drm-misc-fixes that would be great.
Regards,
Hans
>
>
>> }, { /* AYA NEO 2021 */
>> .matches = {
>> DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),
>> --
>> 2.44.2
>>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
2024-09-16 13:18 ` [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model tjakobi
@ 2024-09-21 20:02 ` Dmitry Baryshkov
2024-09-22 11:11 ` Hans de Goede
0 siblings, 1 reply; 8+ messages in thread
From: Dmitry Baryshkov @ 2024-09-21 20:02 UTC (permalink / raw)
To: tjakobi
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Daniel Vetter, Joaquín Ignacio Aramendía,
Derek J . Clark, Denis Benato, Hans de Goede, dri-devel,
linux-kernel
On Mon, Sep 16, 2024 at 03:18:51PM GMT, tjakobi@math.uni-bielefeld.de wrote:
> From: Joaquín Ignacio Aramendía <samsagax@gmail.com>
>
> 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 <samsagax@gmail.com>
> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
> ---
> 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 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[] = {
> 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,
I thought that AYANEO should come after AYADEVICE, but the array doesn't
seem really sorted. Thus:
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
If I hear no objections and if noone beats me, I'll apply the series
within few days.
> }, { /* AYA NEO 2021 */
> .matches = {
> DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),
> --
> 2.44.2
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
2024-09-16 13:18 [PATCH 0/3] Panel orientation quirks for AYA NEO handhelds tjakobi
@ 2024-09-16 13:18 ` tjakobi
2024-09-21 20:02 ` Dmitry Baryshkov
0 siblings, 1 reply; 8+ messages in thread
From: tjakobi @ 2024-09-16 13:18 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Daniel Vetter
Cc: Joaquín Ignacio Aramendía, Derek J . Clark,
Denis Benato, Hans de Goede, Tobias Jakobi, dri-devel,
linux-kernel
From: Joaquín Ignacio Aramendía <samsagax@gmail.com>
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 <samsagax@gmail.com>
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
---
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 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[] = {
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.44.2
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-09-22 14:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-21 22:06 [PATCH 0/3] drm: panel-orientation-quirks: Add some quirks for Joaquín Ignacio Aramendía
2023-06-21 22:06 ` [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model Joaquín Ignacio Aramendía
2023-06-21 22:06 ` [PATCH 2/3] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition Joaquín Ignacio Aramendía
2023-06-21 22:06 ` [PATCH 3/3] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK Joaquín Ignacio Aramendía
2024-09-16 13:18 [PATCH 0/3] Panel orientation quirks for AYA NEO handhelds tjakobi
2024-09-16 13:18 ` [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model tjakobi
2024-09-21 20:02 ` Dmitry Baryshkov
2024-09-22 11:11 ` Hans de Goede
2024-09-22 14:33 ` Dmitry Baryshkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®