mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Liviu Dudau <Liviu.Dudau@arm.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Kai Uwe Broulik <foss-linux@broulik.de>,
	linux-kernel@vger.kernel.org, Maxime Ripard <mripard@kernel.org>,
	dri-devel@lists.freedesktop.org,
	Thomas Zimmermann <tzimmermann@suse.de>
Subject: Re: [PATCH v2] drm: panel-orientation-quirks: Add quirk for One Mix 2S
Date: Tue, 3 Oct 2023 12:10:32 +0100	[thread overview]
Message-ID: <ZRv2qLU_zHqCLJJs@e110455-lin.cambridge.arm.com> (raw)
In-Reply-To: <4a86bbd4-4798-b81b-8f08-b2c8c125999d@redhat.com>

On Sun, Oct 01, 2023 at 02:21:43PM +0200, Hans de Goede wrote:
> Hi,
> 
> On 10/1/23 13:47, Kai Uwe Broulik wrote:
> > The One Mix 2S is a mini laptop with a 1200x1920 portrait screen
> > mounted in a landscape oriented clamshell case. Because of the too
> > generic DMI strings this entry is also doing bios-date matching.
> > 
> > Signed-off-by: Kai Uwe Broulik <foss-linux@broulik.de>
> > ---
> > Changes since v1:
> > * Got two more BIOS dates reported
> 
> Thanks, patch still looks good to me:
> 
> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
> 
> drm-misc maintainers, I'm currently traveling can
> one of you push this to drm-misc-fixes please?

Done. Have a safe trip.

Best regards,
Liviu

> 
> Regards,
> 
> Hans
> 
> 
> 
> 
> > 
> >  drivers/gpu/drm/drm_panel_orientation_quirks.c | 16 ++++++++++++++++
> >  1 file changed, 16 insertions(+)
> > 
> > diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> > index 0cb646cb04ee..d5c15292ae93 100644
> > --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> > +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> > @@ -38,6 +38,14 @@ static const struct drm_dmi_panel_orientation_data gpd_micropc = {
> >  	.orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
> >  };
> >  
> > +static const struct drm_dmi_panel_orientation_data gpd_onemix2s = {
> > +	.width = 1200,
> > +	.height = 1920,
> > +	.bios_dates = (const char * const []){ "05/21/2018", "10/26/2018",
> > +		"03/04/2019", NULL },
> > +	.orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
> > +};
> > +
> >  static const struct drm_dmi_panel_orientation_data gpd_pocket = {
> >  	.width = 1200,
> >  	.height = 1920,
> > @@ -401,6 +409,14 @@ static const struct dmi_system_id orientation_data[] = {
> >  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "LTH17"),
> >  		},
> >  		.driver_data = (void *)&lcd800x1280_rightside_up,
> > +	}, {	/* One Mix 2S (generic strings, also match on bios date) */
> > +		.matches = {
> > +		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Default string"),
> > +		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Default string"),
> > +		  DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Default string"),
> > +		  DMI_EXACT_MATCH(DMI_BOARD_NAME, "Default string"),
> > +		},
> > +		.driver_data = (void *)&gpd_onemix2s,
> >  	},
> >  	{}
> >  };
> 

-- 
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯

      reply	other threads:[~2023-10-03 11:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-01 11:47 Kai Uwe Broulik
2023-10-01 12:21 ` Hans de Goede
2023-10-03 11:10   ` Liviu Dudau [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZRv2qLU_zHqCLJJs@e110455-lin.cambridge.arm.com \
    --to=liviu.dudau@arm.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=foss-linux@broulik.de \
    --cc=hdegoede@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mripard@kernel.org \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®