]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ACPI / OSI: Add OEM _OSI strings to disable NVidia RTD3
authorAlex Hung <alex.hung@canonical.com>
Mon, 28 May 2018 03:29:24 +0000 (20:29 -0700)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 19:44:10 +0000 (15:44 -0400)
BugLink: https://bugs.launchpad.net/bugs/1773299
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>
(cherry picked from commit 9251a71db62ca9cc7e7cf364218610b0f018c291)
Signed-off-by: Alex Hung <alex.hung@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/acpi/osi.c

index c2ef3e6c21ba822b4e3e26636b663581666d7b93..081e25e66e1c95789c5c165188de176d63bc6b4c 100644 (file)
@@ -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)