summaryrefslogtreecommitdiff
path: root/drivers/acpi/osi.c
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@canonical.com>2018-03-01 06:27:55 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-03-19 01:42:33 +0300
commit9251a71db62ca9cc7e7cf364218610b0f018c291 (patch)
treecef7f5f820fd248e67f2b594a36dddb8adebcefc /drivers/acpi/osi.c
parent0c8efd610b58cb23cefdfa12015799079aef94ae (diff)
downloadlinux-9251a71db62ca9cc7e7cf364218610b0f018c291.tar.xz
ACPI / OSI: Add OEM _OSI strings to disable NVidia RTD3
A number of Dell systems require an OEM _OSI string "Linux-Dell-Video" as a BIOS workaround to disable RTD3 which causes systems hangs when NVidia graphics cards are installed. The affected Dell systems are with system IDs: 0818, 0819, 0820, 0850, 0851, 086F, 0870, 0885 and 0886. The form of the OEM _OSI strings is defined by each OEMs and is discussed in Documentation/acpi/osi.txt. Signed-off-by: Alex Hung <alex.hung@canonical.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/osi.c')
-rw-r--r--drivers/acpi/osi.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/acpi/osi.c b/drivers/acpi/osi.c
index 76998a51bf99..8a8f43568510 100644
--- a/drivers/acpi/osi.c
+++ b/drivers/acpi/osi.c
@@ -57,6 +57,15 @@ osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = {
{"Processor Device", true},
{"3.0 _SCP Extensions", true},
{"Processor Aggregator Device", true},
+ /*
+ * Linux-Dell-Video is used by BIOS to disable RTD3 for NVidia graphics
+ * cards as RTD3 is not supported by drivers now. Systems with NVidia
+ * cards will hang without RTD3 disabled.
+ *
+ * Once NVidia drivers officially support RTD3, this _OSI strings can
+ * be removed if both new and old graphics cards are supported.
+ */
+ {"Linux-Dell-Video", true},
};
static u32 acpi_osi_handler(acpi_string interface, u32 supported)