ACPI: OSI: Remove Linux-Dell-Video _OSI string
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 23 Aug 2022 18:51:31 +0000 (13:51 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 25 Aug 2022 18:18:17 +0000 (20:18 +0200)
commit24867516f06dabedef3be7eea0ef0846b91538bc
treee981a24dc93ea199406d3944b545f0e389db6d37
parent1c23f9e627a7b412978b4e852793c5e3c3efc555
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 <lyude@redhat.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/osi.c