From: Daniel Vetter <daniel@ffwll.ch>
To: Patrick Thompson <ptf@google.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm: Add orientation quirk for Lenovo ideapad D330-10IGL
Date: Thu, 5 Jan 2023 15:38:37 +0100 [thread overview]
Message-ID: <Y7bg7WQs0OtMLmAW@phenom.ffwll.local> (raw)
In-Reply-To: <20221220205826.178008-1-ptf@google.com>
On Tue, Dec 20, 2022 at 03:58:26PM -0500, Patrick Thompson wrote:
> Panel is 800x1280 but mounted on a detachable form factor sideways.
>
> Signed-off-by: Patrick Thompson <ptf@google.com>
Applied to drm-misc-fixes, thanks for your patch.
-Daniel
> ---
>
> 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 52d8800a8ab86..3659f0465a724 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -304,6 +304,12 @@ static const struct dmi_system_id orientation_data[] = {
> DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"),
> },
> .driver_data = (void *)&lcd1200x1920_rightside_up,
> + }, { /* Lenovo Ideapad D330-10IGL (HD) */
> + .matches = {
> + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGL"),
> + },
> + .driver_data = (void *)&lcd800x1280_rightside_up,
> }, { /* Lenovo Yoga Book X90F / X91F / X91L */
> .matches = {
> /* Non exact match to match all versions */
> --
> 2.39.0.314.g84b9a713c41-goog
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
WARNING: multiple messages have this Message-ID (diff)
From: Daniel Vetter <daniel@ffwll.ch>
To: Patrick Thompson <ptf@google.com>
Cc: Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm: Add orientation quirk for Lenovo ideapad D330-10IGL
Date: Thu, 5 Jan 2023 15:38:37 +0100 [thread overview]
Message-ID: <Y7bg7WQs0OtMLmAW@phenom.ffwll.local> (raw)
In-Reply-To: <20221220205826.178008-1-ptf@google.com>
On Tue, Dec 20, 2022 at 03:58:26PM -0500, Patrick Thompson wrote:
> Panel is 800x1280 but mounted on a detachable form factor sideways.
>
> Signed-off-by: Patrick Thompson <ptf@google.com>
Applied to drm-misc-fixes, thanks for your patch.
-Daniel
> ---
>
> 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 52d8800a8ab86..3659f0465a724 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -304,6 +304,12 @@ static const struct dmi_system_id orientation_data[] = {
> DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"),
> },
> .driver_data = (void *)&lcd1200x1920_rightside_up,
> + }, { /* Lenovo Ideapad D330-10IGL (HD) */
> + .matches = {
> + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGL"),
> + },
> + .driver_data = (void *)&lcd800x1280_rightside_up,
> }, { /* Lenovo Yoga Book X90F / X91F / X91L */
> .matches = {
> /* Non exact match to match all versions */
> --
> 2.39.0.314.g84b9a713c41-goog
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
next prev parent reply other threads:[~2023-01-05 14:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-20 20:58 [PATCH] drm: Add orientation quirk for Lenovo ideapad D330-10IGL Patrick Thompson
2022-12-20 20:58 ` Patrick Thompson
2023-01-05 14:38 ` Daniel Vetter [this message]
2023-01-05 14:38 ` Daniel Vetter
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=Y7bg7WQs0OtMLmAW@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ptf@google.com \
--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 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.