[PATCH] drm: panel-orientation-quirks: Add quirk for GPD Win Mini

Samuel Dionne-Riel samuel at dionne-riel.com
Fri Dec 22 00:45:25 UTC 2023


Hi,

Sorry, I was preparing for sending to the mailing list, and sent
before I should have.

I believe I have the orientation on the wrong side, though, so please
wait for a follow-up here or the v2.

Sorry again,

On 12/21/23, Samuel Dionne-Riel <samuel at dionne-riel.com> wrote:
> Signed-off-by: Samuel Dionne-Riel <samuel at dionne-riel.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 3d92f66e550c3..f730886ae10df 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -279,6 +279,12 @@ static const struct dmi_system_id orientation_data[] =
> {
>  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1618-03")
>  		},
>  		.driver_data = (void *)&lcd720x1280_rightside_up,
> +	}, {	/* GPD Win Mini */
> +		.matches = {
> +		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
> +		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1617-01")
> +		},
> +		.driver_data = (void *)&lcd1080x1920_leftside_up,
>  	}, {	/* I.T.Works TW891 */
>  		.matches = {
>  		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "To be filled by O.E.M."),
> --
> 2.42.0
>
>


-- 
— Samuel Dionne-Riel


More information about the dri-devel mailing list