From: Mario Limonciello Date: Tue, 23 Aug 2022 18:51:31 +0000 (-0500) Subject: ACPI: OSI: Remove Linux-Dell-Video _OSI string X-Git-Tag: v6.1-rc5~355^2~4^5~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24867516f06dabedef3be7eea0ef0846b91538bc;p=platform%2Fkernel%2Flinux-starfive.git ACPI: OSI: Remove Linux-Dell-Video _OSI string This string was introduced because drivers for NVIDIA hardware had bugs supporting RTD3 in the past. Before proprietary NVIDIA driver started to support RTD3, Ubuntu had had a mechanism for switching PRIME on and off, though it had required to logout/login to make the library switch happen. When the PRIME had been off, the mechanism had unloaded the NVIDIA driver and put the device into D3cold, but the GPU had never come back to D0 again which is why ODMs used the _OSI to expose an old _DSM method to switch the power on/off. That has been fixed by commit 5775b843a619 ("PCI: Restore config space on runtime resume despite being unbound"). so vendors shouldn't be using this string to modify ASL any more. Reviewed-by: Lyude Paul Signed-off-by: Mario Limonciello Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/osi.c b/drivers/acpi/osi.c index 9f68538..c2f6b2f 100644 --- a/drivers/acpi/osi.c +++ b/drivers/acpi/osi.c @@ -45,15 +45,6 @@ osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = { {"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}, - /* * Linux-Lenovo-NV-HDMI-Audio is used by BIOS to power on NVidia's HDMI * audio device which is turned off for power-saving in Windows OS. * This power management feature observed on some Lenovo Thinkpad