From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding via dri-devel Subject: Re: [PATCH] drm: panel-orientation-quirks: Add quirk for Lenovo Ideapad D330 Date: Wed, 13 Feb 2019 13:43:56 +0100 Message-ID: <20190213124356.GH647@ulmo> References: Reply-To: Thierry Reding Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1803583594==" Return-path: Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC3D56E720 for ; Wed, 13 Feb 2019 12:43:59 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id m1so2302345wml.2 for ; Wed, 13 Feb 2019 04:43:59 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: David =?utf-8?Q?Santamar=C3=ADa?= Rogado Cc: David Airlie , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1803583594== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4C6bbPZ6c/S1npyF" Content-Disposition: inline --4C6bbPZ6c/S1npyF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 13, 2019 at 11:14:51AM +0100, David Santamar=C3=ADa Rogado wrot= e: > Lenovo Ideapad D330 Pentium CPU version has 1920x1200 LCD. Console > ouput gets rotated at boot as Miix 310. >=20 > Signed-off-by: David Santamar=C3=ADa Rogado Is something obfuscating your email address here? > --- > drivers/gpu/drm/drm_panel_orientation_quirks.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) >=20 > diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c > b/drivers/gpu/drm/drm_panel_orientation_quirks.c > index 61d3361381b73..835574e2d5bf7 100644 > --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c > +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c > @@ -80,6 +80,12 @@ static const struct drm_dmi_panel_orientation_data > lcd800x1280_rightside_up =3D { > .orientation =3D DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, > }; >=20 > +static const struct drm_dmi_panel_orientation_data > lcd1200x1920_rightside_up =3D { > + .width =3D 1200, > + .height =3D 1920, > + .orientation =3D DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, > +}; > + Looks like that something may be messing up the whitespace in your patch as well. Thierry > static const struct dmi_system_id orientation_data[] =3D { > { /* Acer One 10 (S1003) */ > .matches =3D { > @@ -130,6 +136,13 @@ static const struct dmi_system_id orientation_data[]= =3D { > DMI_EXACT_MATCH(DMI_BOARD_NAME, "TW891"), > }, > .driver_data =3D &itworks_tw891, > + }, { /* Lenovo Ideapad D330 */ > + .matches =3D { > + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"), > + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "81H3"), > + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"), > + }, > + .driver_data =3D &lcd1200x1920_rightside_up, > }, { /* > * Lenovo Ideapad Miix 310 laptop, only some production batches > * have a portrait screen, the resolution checks makes the quirk --4C6bbPZ6c/S1npyF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlxkEQwACgkQ3SOs138+ s6H2rw//a+Yi3/bpYpfoXO4dmhUviynh7eg2JBvpBwAbG5bg3NIjb33ozzzG56MH jfQ/xq3UNMcRVojV8w4ESsjWNq/fQqKtL/MtSRCrgUGo4DLdA6bN8kV+QwL1YGkw SQoV/FKI/Y73oaN8tQORyE9m5u9dlCu4aPyp9P4t1xEsMWvNMzTReZDlSZQo6V7x u1RzOkBDrHaWW/302j/1x4GRW+DRjNrJ+gMLDPBrtgnDsUiBwk2grFGPHg2MUrCE w0Y9tDh014AWHBOl6bggjmFNcbUO8fmWBTCvsJikMGPBdZEwLng7m0POVbUGKXqr idCSVPUHCvNrAEZ5TfqJtIUxDCCUoVlSX9bnto1c6lSSCK+ua0jBgvmDHicD9fqR fRJfPwyEE1RKY1YqixJwECAV3TK0IxF1v7lFnDDkBi8BC0Y48vuz8cxdUo9De083 DFcVLUXXSFOQVpVRtLP2KCeWWDTXpbYQCQatPuhFGXCWfjQkbREwwxQScR3y8+bn EDfCOg/+Fkp9Ap+iFx1DzTcFQlWkVOTrngX/pSQkIWYI+91kXawvoxMBw0wpidE1 ojC9qfCinm2t2XyuC99aXLO00pS+ihrBbijNbJfnXm5uz2kZi4h3mtPEMOYJsRws ARlTdIa4G/oGXGqtggc3ybKXGARRpBWLsNhV/Zp9pyoSgoEjXrs= =feB3 -----END PGP SIGNATURE----- --4C6bbPZ6c/S1npyF-- --===============1803583594== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1803583594==--