[PATCH v1 09/10] drm: panel-orientation-quirks: Add GPD Pocket 4

Antheas Kapenekakis posted 10 patches 4 weeks ago
[PATCH v1 09/10] drm: panel-orientation-quirks: Add GPD Pocket 4
Posted by Antheas Kapenekakis 4 weeks ago
The GPD Pocket 4 is a mini laptop replacement with a portrait
2k panel. Add a quirk for it.

Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
---
 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 75a8c4532434..5f896d6e4090 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -388,6 +388,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1617-01")
 		},
 		.driver_data = (void *)&lcd1080x1920_rightside_up,
+	}, {	/* GPD Pocket 4 */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1628-04"),
+		},
+		.driver_data = (void *)&lcd1600x2560_rightside_up,
 	}, {	/* I.T.Works TW891 */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "To be filled by O.E.M."),
-- 
2.51.0
Re: [PATCH v1 09/10] drm: panel-orientation-quirks: Add GPD Pocket 4
Posted by Philip Müller 4 weeks ago
On 9/4/25 19:50, Antheas Kapenekakis wrote:
> The GPD Pocket 4 is a mini laptop replacement with a portrait
> 2k panel. Add a quirk for it.
> 
> Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
> ---
>   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 75a8c4532434..5f896d6e4090 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -388,6 +388,12 @@ static const struct dmi_system_id orientation_data[] = {
>   		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1617-01")
>   		},
>   		.driver_data = (void *)&lcd1080x1920_rightside_up,
> +	}, {	/* GPD Pocket 4 */
> +		.matches = {
> +		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
> +		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1628-04"),
> +		},
> +		.driver_data = (void *)&lcd1600x2560_rightside_up,
>   	}, {	/* I.T.Works TW891 */
>   		.matches = {
>   		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "To be filled by O.E.M."),

Reviewed-by: Philip Müller <philm@manjaro.org>

-- 
Best, Philip