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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@xxxxxxxxx>
Cc: Jani Nikula <jani.nikula@xxxxxxxxx>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux