[PATCH 3/4] ACPI: OSI: Remove Linux-HPI-Hybrid-Graphics _OSI string

From: Mario Limonciello
Date: Tue Aug 23 2022 - 15:48:33 EST


This string was introduced because drivers for NVIDIA hardware
didn't handle mux control properly. This was fixed by commit 8e55f99c510f
("drm/i915: Invoke another _DSM to enable MUX on HP Workstation laptops").
So vendors shouldn't be using this string to modify ASL anymore.

Suggested-by: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
Reviewed-by: Lyude Paul <lyude@xxxxxxxxxx>
Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>
---
drivers/acpi/osi.c | 7 -------
1 file changed, 7 deletions(-)

diff --git a/drivers/acpi/osi.c b/drivers/acpi/osi.c
index 0d635eec87c4..d4405e1ca9b9 100644
--- a/drivers/acpi/osi.c
+++ b/drivers/acpi/osi.c
@@ -44,13 +44,6 @@ osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = {
{"Processor Device", true},
{"3.0 _SCP Extensions", true},
{"Processor Aggregator Device", true},
- /*
- * Linux-HPI-Hybrid-Graphics is used by BIOS to enable dGPU to
- * output video directly to external monitors on HP Inc. mobile
- * workstations as Nvidia and AMD VGA drivers provide limited
- * hybrid graphics supports.
- */
- {"Linux-HPI-Hybrid-Graphics", true},
};

static u32 acpi_osi_handler(acpi_string interface, u32 supported)
--
2.34.1