diff mbox series

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

Message ID 20240310220401.895591-1-tjakobi@math.uni-bielefeld.de (mailing list archive)
State New, archived
Headers show
Series [RESEND] drm: panel-orientation-quirks: Add quirk for Aya Neo KUN | expand

Commit Message

Tobias Jakobi March 10, 2024, 10:04 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

Tobias Jakobi March 29, 2024, 3:08 p.m. UTC | #1
On 3/10/24 23:04, tjakobi@math.uni-bielefeld.de 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>
> ---
>   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 3d92f66e550c..5d3fb11fd45f 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"),
Gentle ping...
Tobias Jakobi April 27, 2024, 1:49 p.m. UTC | #2
On 3/10/24 23:04, tjakobi@math.uni-bielefeld.de 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>
> ---
>   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 3d92f66e550c..5d3fb11fd45f 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"),
Another gentle ping!
Tobias Jakobi May 31, 2024, 7:04 p.m. UTC | #3
On 3/10/24 23:04, tjakobi@math.uni-bielefeld.de 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>
> ---
>   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 3d92f66e550c..5d3fb11fd45f 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"),

Trying yet another ping! Also adding Hans to the list of recipients, as 
he committed the last quirk for an Ayaneo device. Someone pick this up, 
pretty please! :-)

- Tobias
Dmitry Baryshkov May 31, 2024, 7:58 p.m. UTC | #4
On Sun, Mar 10, 2024 at 11:04:00PM +0100, tjakobi@math.uni-bielefeld.de 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>
> ---
>  drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Hans de Goede June 10, 2024, 10:11 a.m. UTC | #5
Hi Tobias,

On 5/31/24 9:04 PM, Tobias Jakobi wrote:
> On 3/10/24 23:04, tjakobi@math.uni-bielefeld.de 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>
>> ---
>>   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 3d92f66e550c..5d3fb11fd45f 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"),
> 
> Trying yet another ping! Also adding Hans to the list of recipients, as he committed the last quirk for an Ayaneo device. Someone pick this up, pretty please! :-)

Thank you for Cc-ing me and thank you for your patch.

This looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

I'll go and merge this into drm-misc-fixes now. Note I've not done a build
for drm-misc-fixes in a while and I'm on a laptop atm, so it will be a while
before this shows up as I'll do a (slow) test-build before pusing out the changes.

Regards,

Hans
diff mbox series

Patch

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 3d92f66e550c..5d3fb11fd45f 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"),