drm: panel-orientation-quirks: Add quirk for Aya Neo KUN

Message ID 20240205222556.299481-1-tjakobi@math.uni-bielefeld.de
State New
Headers
Series drm: panel-orientation-quirks: Add quirk for Aya Neo KUN |

Commit Message

cubic2k@gmail.com Feb. 5, 2024, 10:25 p.m. UTC
  From: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>

Similar to the other Aya Neo devices this one features
again a portrait screen, here with a native resolution
of 1600x2560.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)
  

Comments

Dmitry Baryshkov Feb. 7, 2024, 11 a.m. UTC | #1
On Tue, 6 Feb 2024 at 01:57, <cubic2k@gmail.com> wrote:
>
> From: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
>
> Similar to the other Aya Neo devices this one features
> again a portrait screen, here with a native resolution
> of 1600x2560.
>
> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>

As you don't seem to be the author of the patch, this needs your sign-off too.

> ---
>  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 d5c15292ae93..03224f8860ce 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -196,6 +196,12 @@ static const struct dmi_system_id orientation_data[] = {
>                   DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
>                 },
>                 .driver_data = (void *)&lcd800x1280_rightside_up,
> +       }, {    /* AYA NEO KUN */
> +               .matches = {
> +                 DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
> +                 DMI_MATCH(DMI_BOARD_NAME, "KUN"),
> +               },
> +               .driver_data = (void *)&lcd1600x2560_rightside_up,
>         }, {    /* Chuwi HiBook (CWI514) */
>                 .matches = {
>                         DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),
> --
> 2.43.0
>
  
Tobias Jakobi Feb. 7, 2024, 8:40 p.m. UTC | #2
Hi Dmitry,

On 2/7/24 12:00, Dmitry Baryshkov wrote:
> On Tue, 6 Feb 2024 at 01:57, <cubic2k@gmail.com> wrote:
>> From: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
>>
>> Similar to the other Aya Neo devices this one features
>> again a portrait screen, here with a native resolution
>> of 1600x2560.
>>
>> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
> As you don't seem to be the author of the patch, this needs your sign-off too.

I'm not sure what you mean. Patch is by me, and signed off by me.

- Tobias
  

Patch

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index d5c15292ae93..03224f8860ce 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -196,6 +196,12 @@  static const struct dmi_system_id orientation_data[] = {
 		  DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
 		},
 		.driver_data = (void *)&lcd800x1280_rightside_up,
+	}, {	/* AYA NEO KUN */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
+		  DMI_MATCH(DMI_BOARD_NAME, "KUN"),
+		},
+		.driver_data = (void *)&lcd1600x2560_rightside_up,
 	}, {	/* Chuwi HiBook (CWI514) */
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),