All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David Santamaría Rogado" <howl.nsp@gmail.com>
To: Jani Nikula <jani.nikula@linux.intel.com>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	Thierry Reding <thierry.reding@gmail.com>,
	 dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm: panel-orientation-quirks: 320 FHD and D330 HD
Date: Fri, 27 Mar 2020 03:49:01 +0100	[thread overview]
Message-ID: <CAD4j4=AdUtyoiwenzT5moAdHcR_maM91kJfDQM0AuT2bnM=D9Q@mail.gmail.com> (raw)
In-Reply-To: <20190730194911.28453-1-howl.nsp@gmail.com>

This patch is still valid as no changes to panel orientation quirks
have been done. Someone can review this to merge?

El mar., 30 jul. 2019 a las 21:49, David Santamaría Rogado
(<howl.nsp@gmail.com>) escribió:
>
> This adds the HD version of Lenovo Ideapad D330
> and FHD version of Lenovo Ideapad Miix 320.
>
> This should work despite the dmi data is the same because
> the resolution checks.
>
> Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
> ---
>  drivers/gpu/drm/drm_panel_orientation_quirks.c | 18 ++++++++++++++++--
>  1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> index ffd95bfeaa94..896c783ce135 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -191,14 +191,28 @@ static const struct dmi_system_id orientation_data[] = {
>                   DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "MIIX 310-10ICR"),
>                 },
>                 .driver_data = (void *)&lcd800x1280_rightside_up,
> -       }, {    /* Lenovo Ideapad Miix 320 */
> +       }, {    /* Lenovo Ideapad Miix 320 (HD) */
>                 .matches = {
>                   DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
>                   DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "80XF"),
>                   DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo MIIX 320-10ICR"),
>                 },
>                 .driver_data = (void *)&lcd800x1280_rightside_up,
> -       }, {    /* Lenovo Ideapad D330 */
> +       }, {    /* Lenovo Ideapad Miix 320 (FHD) */
> +               .matches = {
> +                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "80XF"),
> +                 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo MIIX 320-10ICR"),
> +               },
> +               .driver_data = (void *)&lcd1200x1920_rightside_up,
> +       }, {    /* Lenovo Ideapad D330 (HD) */
> +               .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 = (void *)&lcd800x1280_rightside_up,
> +       }, {    /* Lenovo Ideapad D330 (FHD) */
>                 .matches = {
>                   DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
>                   DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "81H3"),
> --
> 2.21.0
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2020-03-27  8:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30 19:49 [PATCH] drm: panel-orientation-quirks: 320 FHD and D330 HD David Santamaría Rogado
2019-07-30 19:52 ` David Santamaría Rogado
2020-03-27  2:49 ` David Santamaría Rogado [this message]
2020-03-31 16:44   ` Jani Nikula
2020-03-31 17:07     ` Hans de Goede
2020-04-26 19:35       ` David Santamaría Rogado
2020-04-26 19:37         ` 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='CAD4j4=AdUtyoiwenzT5moAdHcR_maM91kJfDQM0AuT2bnM=D9Q@mail.gmail.com' \
    --to=howl.nsp@gmail.com \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.