From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751091AbdBUAg4 (ORCPT ); Mon, 20 Feb 2017 19:36:56 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36829 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbdBUAgy (ORCPT ); Mon, 20 Feb 2017 19:36:54 -0500 From: Tobias Schumacher To: rjw@rjwysocki.net, lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Tobias Schumacher Subject: [PATCH] Fix lock up when switching off discrete graphics card in Dell XPS 9560 https://bugzilla.kernel.org/show_bug.cgi?id=156341 Date: Tue, 21 Feb 2017 01:36:25 +0100 Message-Id: <20170221003625.17551-1-tobe.schumacher@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Tobias Schumacher --- drivers/acpi/blacklist.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 4421f7c..7945f2f 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -188,6 +188,20 @@ static struct dmi_system_id acpi_rev_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "Latitude 3350"), }, }, + /* + * Resolves issues that cause the system to lock up + * under certain conditions when the discrete graphics + * card is turned off + */ + { + .callback = dmi_enable_rev_override, + .ident = "DELL XPS 15 (2017)", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "XPS 15 9560"), + }, + }, + #endif {} }; -- 2.9.3