Panel orientation quirks for AYA NEO handhelds
Subsystems (2)
cover Panel orientation quirks for AYA NEO handhelds
From: Tobias Jakobi <[email protected]>
Hello,
this is a re-submit of panel orientation quirks for some of the handheld devices by vendor AYA NEO.
The quirks were posted to dri-devel some time ago, but got lost:
https://lore.kernel.org/lkml/[email protected]/T/#u
With best wishes,
Tobias
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(+)
Signature · 1 line
2.44.2
PATCH 1/3 drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
From: Joaquín Ignacio Aramendía <[email protected]>
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.
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -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"),
Signature · 1 line
2.44.2
Re: [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
Quoted 21 lines · On Mon, Sep 16, 2024 at 03:18:51PM GMT, [email protected] wrote:
From: Joaquín Ignacio Aramendía <[email protected]>
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 <[email protected]>Signed-off-by Tobias Jakobi <[email protected]>--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/drm_panel_orientation_quirks.c +0
-0
drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 192
Quoted 9 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +6
-0@@ -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:
If I hear no objections and if noone beats me, I'll apply the series within few days.
Quoted 6 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +0
-0}, { /* AYA NEO 2021 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),Signature · 1 line
2.44.2
Signature · 2 lines
With best wishes Dmitry
Hans de Goede
Reviewed-byRe: [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
Hi,
Quoted 26 lines · Dmitry Baryshkov
Quoted 25 lines · On Mon, Sep 16, 2024 at 03:18:51PM GMT, [email protected] wrote:
From: Joaquín Ignacio Aramendía <[email protected]>
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 <[email protected]>Signed-off-by Tobias Jakobi <[email protected]>--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/drm_panel_orientation_quirks.c +1
-0@@ -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 */
Quoted 8 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 192
Quoted 5 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +5
-0+ .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:
for the series.
Quoted 6 lines
Thus:
Reviewed-by Dmitry Baryshkov <[email protected]>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
Quoted 9 lines
Quoted 8 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +0
-0}, { /* AYA NEO 2021 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),Signature · 1 line
2.44.2
Re: [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
Quoted 39 lines · Hans de Goede
Hi,
Quoted 26 lines · Dmitry Baryshkov
Quoted 25 lines · On Mon, Sep 16, 2024 at 03:18:51PM GMT, [email protected] wrote:
From: Joaquín Ignacio Aramendía <[email protected]>
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 <[email protected]>Signed-off-by Tobias Jakobi <[email protected]>--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/drm_panel_orientation_quirks.c +1
-0@@ -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 */Quoted 8 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 192
Quoted 5 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +5
-0+ .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
Quoted 3 lines
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.
Quoted 9 lines
The entire series looks good to me:
Reviewed-by Hans de Goede <[email protected]>for the series.
Quoted 2 lines
Thus:
Quoted 7 lines
Quoted 4 lines
Reviewed-by Dmitry Baryshkov <[email protected]>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.
Quoted 16 lines
Regards,
Hans
Quoted 9 lines
Quoted 8 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +0
-1}, { /* AYA NEO 2021 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"), --2.44.2
Signature · 2 lines
With best wishes Dmitry
PATCH 2/3 drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
In reply to [email protected]From: Joaquín Ignacio Aramendía <[email protected]>
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.
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -202,6 +202,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"),
Signature · 1 line
2.44.2
Re: [PATCH 2/3] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
Quoted 11 lines · On Mon, Sep 16, 2024 at 03:18:53PM GMT, [email protected] wrote:
From: Joaquín Ignacio Aramendía <[email protected]>
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.
Quoted 5 lines
Signed-off-by Joaquín Ignacio Aramendía <[email protected]>Signed-off-by Tobias Jakobi <[email protected]>--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
Signature · 2 lines
With best wishes Dmitry
PATCH 3/3 drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
In reply to [email protected]From: Joaquín Ignacio Aramendía <[email protected]>
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.
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -208,6 +208,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"),
Signature · 1 line
2.44.2
Re: [PATCH 3/3] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
Quoted 11 lines · On Mon, Sep 16, 2024 at 03:18:55PM GMT, [email protected] wrote:
From: Joaquín Ignacio Aramendía <[email protected]>
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.
Quoted 5 lines
Signed-off-by Joaquín Ignacio Aramendía <[email protected]>Signed-off-by Tobias Jakobi <[email protected]>--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
Quoted 1 line
Signature · 2 lines
With best wishes Dmitry
Dmitry Baryshkov
AppliedQuoted 8 lines · On Mon, 16 Sep 2024 15:18:49 +0200, [email protected] wrote:
From: Tobias Jakobi <[email protected]>
Hello,
this is a re-submit of panel orientation quirks for some of the handheld devices by vendor AYA NEO.
[...]
Applied to drm-misc-next, thanks!
[1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
commit: 361ebf5ef843b0aa1704c72eb26b91cf76c3c5b7
[2/3] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
commit: d7972d735ca80a40a571bf753c138263981a5698
[3/3] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
commit: 428656feb972ca99200fc127b5aecb574efd9d3dBest regards,
Signature · 2 lines
With best wishes Dmitry