| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * osi.c - _OSI implementation |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2016 Intel Corporation |
|---|
| 5 | 6 | * 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 | | - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 20 | 7 | */ |
|---|
| 21 | 8 | |
|---|
| 22 | 9 | /* Uncomment next line to get verbose printout */ |
|---|
| .. | .. |
|---|
| 74 | 61 | * a BIOS workaround. |
|---|
| 75 | 62 | */ |
|---|
| 76 | 63 | {"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}, |
|---|
| 77 | 71 | }; |
|---|
| 78 | 72 | |
|---|
| 79 | 73 | static u32 acpi_osi_handler(acpi_string interface, u32 supported) |
|---|
| .. | .. |
|---|
| 479 | 473 | */ |
|---|
| 480 | 474 | |
|---|
| 481 | 475 | /* |
|---|
| 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. |
|---|
| 485 | 479 | */ |
|---|
| 486 | 480 | { |
|---|
| 487 | 481 | .callback = dmi_enable_osi_linux, |
|---|