From: Thierry Reding via dri-devel <dri-devel@lists.freedesktop.org>
To: "David Santamaría Rogado" <howl.nsp@gmail.com>
Cc: David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm: panel-orientation-quirks: Add quirk for Lenovo Ideapad D330
Date: Wed, 13 Feb 2019 13:43:56 +0100 [thread overview]
Message-ID: <20190213124356.GH647@ulmo> (raw)
In-Reply-To: <CAD4j4=Dw6Mnz1bkFYDdiKB2oE6pwpZPus5w2iqB3SeJD-Fr1sA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1890 bytes --]
On Wed, Feb 13, 2019 at 11:14:51AM +0100, David Santamaría Rogado wrote:
> Lenovo Ideapad D330 Pentium CPU version has 1920x1200 LCD. Console
> ouput gets rotated at boot as Miix 310.
>
> Signed-off-by: David Santamaría Rogado <howl.nsp at gmail.com>
Is something obfuscating your email address here?
> ---
> drivers/gpu/drm/drm_panel_orientation_quirks.c | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> 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 = {
> .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
> };
>
> +static const struct drm_dmi_panel_orientation_data
> lcd1200x1920_rightside_up = {
> + .width = 1200,
> + .height = 1920,
> + .orientation = 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[] = {
> { /* Acer One 10 (S1003) */
> .matches = {
> @@ -130,6 +136,13 @@ static const struct dmi_system_id orientation_data[] = {
> DMI_EXACT_MATCH(DMI_BOARD_NAME, "TW891"),
> },
> .driver_data = &itworks_tw891,
> + }, { /* Lenovo Ideapad D330 */
> + .matches = {
> + 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 = &lcd1200x1920_rightside_up,
> }, { /*
> * Lenovo Ideapad Miix 310 laptop, only some production batches
> * have a portrait screen, the resolution checks makes the quirk
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2019-02-13 12:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-13 10:14 [PATCH] drm: panel-orientation-quirks: Add quirk for Lenovo Ideapad D330 David Santamaría Rogado via dri-devel
2019-02-13 12:43 ` Thierry Reding via dri-devel [this message]
2019-02-13 17:18 ` David Santamaría Rogado via dri-devel
2019-02-14 10:53 ` Thierry Reding via dri-devel
-- strict thread matches above, loose matches on Subject: below --
2019-01-03 20:40 David Santamaría Rogado
2019-01-21 1:12 ` David Santamaría Rogado
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=20190213124356.GH647@ulmo \
--to=dri-devel@lists.freedesktop.org \
--cc=airlied@linux.ie \
--cc=howl.nsp@gmail.com \
--cc=thierry.reding@gmail.com \
/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