[Intel-gfx] [PATCH] drm/i915: Add HP Convertible 360 to OpRegion quirk list

Radhakrishna Sripada radhakrishna.sripada at intel.com
Sat Aug 5 01:01:28 UTC 2017


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 at gmail.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
Cc: Jani Nikula <jani.nikula at intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada at 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



More information about the Intel-gfx mailing list