diff mbox

drm/i915: Add HP Convertible 360 to OpRegion quirk list

Message ID 20170805010128.5225-1-radhakrishna.sripada@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sripada, Radhakrishna Aug. 5, 2017, 1:01 a.m. UTC
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 mbox

Patch

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"),
+		},
+	},
 	{ }
 };