summaryrefslogtreecommitdiff
path: root/drivers/acpi/osi.c
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@canonical.com>2018-12-18 07:00:54 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-12-18 13:06:05 +0300
commit28586a51eea666d5531bcaef2f68e4abbd87242c (patch)
treed82117098b4bccba5cac85cff1fafcf43d83be4d /drivers/acpi/osi.c
parent7566ec393f4161572ba6f11ad5171fd5d59b0fbd (diff)
downloadlinux-28586a51eea666d5531bcaef2f68e4abbd87242c.tar.xz
ACPI / OSI: Add OEM _OSI string to enable dGPU direct output
For HP Inc. mobile workstation with hybrid graphics support, dGPU can directly output to external monitors; however, Nvidia and AMD's Linux drivers aren't able to support this feature. The OEM _OSI string "Linux-HPI-Hybrid-Graphics" is used by BIOS to implement dGPU direct output to external monitors. 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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/acpi/osi.c b/drivers/acpi/osi.c
index b2a16ed7e81a..efd2ce099893 100644
--- a/drivers/acpi/osi.c
+++ b/drivers/acpi/osi.c
@@ -74,6 +74,13 @@ osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = {
* a BIOS workaround.
*/
{"Linux-Lenovo-NV-HDMI-Audio", 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)