From: Takashi Iwai <tiwai@suse.de>
Subject: drm/i915: Add HP EliteBook to LVDS-temporary-disable list
Patch-mainline: TBD
References: bnc#763717

HP EliteBook with Samsung LCD also suffers from the same problem
as found in some other HP ProBooks.  The same workaround (temporarily
disable LVDS at mode-switching) has to be applied to these machines.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

---
 drivers/gpu/drm/i915/intel_lvds.c |    8 ++++++++
 1 file changed, 8 insertions(+)

--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -414,6 +414,14 @@ static const struct dmi_system_id intel_
 			DMI_MATCH(DMI_PRODUCT_NAME, "HP ProBook"),
 		},
 	},
+	{
+		.callback = intel_disable_at_modeset_callback,
+		.ident = "HP ProBook",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "HP EliteBook"),
+		},
+	},
 
 	{ }	/* terminating entry */
 };
