public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>,
	Jani Nikula <jani.nikula@intel.com>,
	Nicholas Stommel <nicholas.stommel@gmail.com>
Subject: [PATCH] drm/i915: Add HP Convertible 360 to OpRegion quirk list
Date: Fri,  4 Aug 2017 18:01:28 -0700	[thread overview]
Message-ID: <20170805010128.5225-1-radhakrishna.sripada@intel.com> (raw)

The quirklist for OpRegion panel type got introduced in
commit c8ebfad7a063 ("drm/i915: Ignore OpRegion panel
type except on select machines"). Adding the entry for
HP Convertible 360 to the white list.

Fixes: a05628195a0d ("drm/i915: Get panel_type from OpRegion panel details")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101111
Cc: Nicholas Stommel <nicholas.stommel@gmail.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
---
 drivers/gpu/drm/i915/intel_opregion.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c
index 2bd03001cc70..a2ef4d4957d8 100644
--- a/drivers/gpu/drm/i915/intel_opregion.c
+++ b/drivers/gpu/drm/i915/intel_opregion.c
@@ -1035,6 +1035,20 @@ static const struct dmi_system_id intel_use_opregion_panel_type[] = {
 			    DMI_MATCH(DMI_PRODUCT_NAME, "IX45GM2"),
 		},
 	},
+	{
+		.callback = intel_use_opregion_panel_type_callback,
+		.ident = "HP Spectre x360 Convertible",
+		.matches = {DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+			    DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible"),
+		},
+	},
+	{
+		.callback = intel_use_opregion_panel_type_callback,
+		.ident = "HP Spectre x360 Convertible",
+		.matches = {DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+			    DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible 13"),
+		},
+	},
 	{ }
 };
 
-- 
2.9.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2017-08-05  0:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-05  1:01 Radhakrishna Sripada [this message]
2017-08-05  1:18 ` ✓ Fi.CI.BAT: success for drm/i915: Add HP Convertible 360 to OpRegion quirk list Patchwork

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=20170805010128.5225-1-radhakrishna.sripada@intel.com \
    --to=radhakrishna.sripada@intel.com \
    --cc=dhinakaran.pandiyan@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=nicholas.stommel@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