hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/drivers/acpi/osi.c
....@@ -1,22 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * osi.c - _OSI implementation
34 *
45 * Copyright (C) 2016 Intel Corporation
56 * Author: Lv Zheng <lv.zheng@intel.com>
6
- *
7
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or (at
12
- * your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful, but
15
- * WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
- * General Public License for more details.
18
- *
19
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 */
218
229 /* Uncomment next line to get verbose printout */
....@@ -74,6 +61,13 @@
7461 * a BIOS workaround.
7562 */
7663 {"Linux-Lenovo-NV-HDMI-Audio", true},
64
+ /*
65
+ * Linux-HPI-Hybrid-Graphics is used by BIOS to enable dGPU to
66
+ * output video directly to external monitors on HP Inc. mobile
67
+ * workstations as Nvidia and AMD VGA drivers provide limited
68
+ * hybrid graphics supports.
69
+ */
70
+ {"Linux-HPI-Hybrid-Graphics", true},
7771 };
7872
7973 static u32 acpi_osi_handler(acpi_string interface, u32 supported)
....@@ -479,9 +473,9 @@
479473 */
480474
481475 /*
482
- * Without this this EEEpc exports a non working WMI interface, with
483
- * this it exports a working "good old" eeepc_laptop interface, fixing
484
- * both brightness control, and rfkill not working.
476
+ * Without this EEEpc exports a non working WMI interface, with
477
+ * this it exports a working "good old" eeepc_laptop interface,
478
+ * fixing both brightness control, and rfkill not working.
485479 */
486480 {
487481 .callback = dmi_enable_osi_linux,