Lines Matching +full:pre +full:- +full:determined
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * osi.c - _OSI implementation
48 * Linux-Dell-Video is used by BIOS to disable RTD3 for NVidia graphics
55 {"Linux-Dell-Video", true},
57 * Linux-Lenovo-NV-HDMI-Audio is used by BIOS to power on NVidia's HDMI
58 * audio device which is turned off for power-saving in Windows OS.
63 {"Linux-Lenovo-NV-HDMI-Audio", true},
65 * Linux-HPI-Hybrid-Graphics is used by BIOS to enable dGPU to
70 {"Linux-HPI-Hybrid-Graphics", true},
120 osi->enable = false; in acpi_osi_setup()
132 if (!strcmp(osi->string, str)) { in acpi_osi_setup()
133 osi->enable = enable; in acpi_osi_setup()
135 } else if (osi->string[0] == '\0') { in acpi_osi_setup()
136 osi->enable = enable; in acpi_osi_setup()
137 strncpy(osi->string, str, OSI_STRING_LENGTH_MAX); in acpi_osi_setup()
166 * From pre-history through Linux-2.6.22, Linux responded TRUE upon a BIOS
171 * ill-conceived and opening the door to an un-bounded number of BIOS
174 * For example, OSI(Linux) was used on resume to re-POST a video card on
177 * capability, Linux has no way to tell the BIOS to skip the time-consuming
178 * POST -- putting Linux at a permanent performance disadvantage. On
185 * Linux-2.6.23 onward we respond FALSE.
214 * otherwise string is added to list, augmenting built-in strings
234 str = osi->string; in acpi_osi_setup_late()
237 if (osi->enable) { in acpi_osi_setup_late()
282 pr_notice("DMI detected to setup _OSI(\"Linux\"): %s\n", d->ident); in acpi_osi_dmi_linux()
296 pr_notice("DMI detected: %s\n", d->ident); in dmi_disable_osi_vista()
306 pr_notice("DMI detected: %s\n", d->ident); in dmi_disable_osi_win7()
314 pr_notice("DMI detected: %s\n", d->ident); in dmi_disable_osi_win8()
321 * Linux default _OSI response behavior is determined by this DMI table.
323 * Note that _OSI("Linux")/_OSI("Darwin") determined here can be overridden
348 DMI_MATCH(DMI_SYS_VENDOR, "Micro-Star International"),
354 .ident = "Sony VGN-NS10J_S",
357 DMI_MATCH(DMI_PRODUCT_NAME, "VGN-NS10J_S"),
362 .ident = "Sony VGN-SR290J",
365 DMI_MATCH(DMI_PRODUCT_NAME, "VGN-SR290J"),
370 .ident = "VGN-NS50B_L",
373 DMI_MATCH(DMI_PRODUCT_NAME, "VGN-NS50B_L"),
378 .ident = "VGN-SR19XN",
381 DMI_MATCH(DMI_PRODUCT_NAME, "VGN-SR19XN"),