intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Anisse Astier <anisse@astier.eu>
To: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com>,
	"Hans de Goede" <hdegoede@redhat.com>,
	"Uma Shankar" <uma.shankar@intel.com>,
	"Jani Nikula" <jani.nikula@intel.com>,
	"Daniel Dadap" <ddadap@nvidia.com>,
	"Anisse Astier" <anisse@astier.eu>
Subject: [Intel-gfx] [PATCH v3 2/2] drm: Add orientation quirk for GPD Win Max
Date: Tue, 17 Aug 2021 22:43:29 +0200	[thread overview]
Message-ID: <20210817204329.5457-3-anisse@astier.eu> (raw)
In-Reply-To: <20210817204329.5457-1-anisse@astier.eu>

Panel is 800x1280, but mounted on a laptop form factor, sideways.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Anisse Astier <anisse@astier.eu>
---
 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 4e965b0f5502..643b55f9a9d1 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -160,6 +160,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "MicroPC"),
 		},
 		.driver_data = (void *)&lcd720x1280_rightside_up,
+	}, {	/* GPD Win Max */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1619-01"),
+		},
+		.driver_data = (void *)&lcd800x1280_rightside_up,
 	}, {	/*
 		 * GPD Pocket, note that the the DMI data is less generic then
 		 * it seems, devices with a board-vendor of "AMI Corporation"
-- 
2.31.1


  parent reply	other threads:[~2021-08-17 20:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 20:43 [Intel-gfx] [PATCH v3 0/2] GPD Win Max display fixes Anisse Astier
2021-08-17 20:43 ` [Intel-gfx] [PATCH v3 1/2] drm/i915/opregion: add support for mailbox #5 EDID Anisse Astier
2021-08-31  9:30   ` Jani Nikula
2021-09-01 12:06     ` Anisse Astier
2021-08-17 20:43 ` Anisse Astier [this message]
2021-08-17 21:30 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for GPD Win Max display fixes (rev4) Patchwork
2021-08-17 21:32 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2021-08-17 22:01 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-08-17 23:22 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2021-08-30 13:49 ` [Intel-gfx] [PATCH v3 0/2] GPD Win Max display fixes Anisse Astier
2021-08-31  9:33 ` Jani Nikula
2021-08-31  9:51   ` Anisse Astier

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=20210817204329.5457-3-anisse@astier.eu \
    --to=anisse@astier.eu \
    --cc=ddadap@nvidia.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hdegoede@redhat.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=uma.shankar@intel.com \
    --cc=ville.syrjala@linux.intel.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;
as well as URLs for NNTP newsgroup(s).