diff mbox

[V3] ACPI / osi: add OEM _OSI strings to disable nvidia RTD3

Message ID 1519874875-26281-1-git-send-email-alex.hung@canonical.com (mailing list archive)
State Accepted, archived
Delegated to: Rafael Wysocki
Headers show

Commit Message

Alex Hung March 1, 2018, 3:27 a.m. UTC
A number of Dell systems require an OEM _OSI string "Linux-Dell-Video"
as a BIOS workaround to disable RTD3 which causes systems hangs when
nvidia graphics cards are installed. The affected Dell systems are with
system IDs: 0818, 0819, 0820, 0850, 0851, 086F, 0870, 0885 and 0886.

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>
---
 drivers/acpi/osi.c | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Alex Hung March 19, 2018, 5:01 p.m. UTC | #1
Is the V3 patch meet the expectation or is there anything I need to refine?

On Wed, Feb 28, 2018 at 7:27 PM, Alex Hung <alex.hung@canonical.com> wrote:
> A number of Dell systems require an OEM _OSI string "Linux-Dell-Video"
> as a BIOS workaround to disable RTD3 which causes systems hangs when
> nvidia graphics cards are installed. The affected Dell systems are with
> system IDs: 0818, 0819, 0820, 0850, 0851, 086F, 0870, 0885 and 0886.
>
> 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>
> ---
>  drivers/acpi/osi.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/drivers/acpi/osi.c b/drivers/acpi/osi.c
> index 76998a5..a22fe3a 100644
> --- a/drivers/acpi/osi.c
> +++ b/drivers/acpi/osi.c
> @@ -57,6 +57,14 @@ osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = {
>         {"Processor Device", true},
>         {"3.0 _SCP Extensions", true},
>         {"Processor Aggregator Device", true},
> +       /* Linux-Dell-Video is used by BIOS to disable RTD3 for nvidia graphics
> +        * cards as RTD3 is not supported by drivers now. Systems with nvidia
> +        * cards will hang without RTD3 disabled.
> +        *
> +        * Once nvidia drivers officially support RTD3, this _OSI strings can
> +        * be removed if both new and old graphics cards are supported.
> +        */
> +       {"Linux-Dell-Video", true},
>  };
>
>  static u32 acpi_osi_handler(acpi_string interface, u32 supported)
> --
> 2.7.4
>
Rafael J. Wysocki March 19, 2018, 10:14 p.m. UTC | #2
On Mon, Mar 19, 2018 at 6:01 PM, Alex Hung <alex.hung@canonical.com> wrote:
> Is the V3 patch meet the expectation or is there anything I need to refine?

It has been tentatively queued up for 4.17.

Thanks!

> On Wed, Feb 28, 2018 at 7:27 PM, Alex Hung <alex.hung@canonical.com> wrote:
>> A number of Dell systems require an OEM _OSI string "Linux-Dell-Video"
>> as a BIOS workaround to disable RTD3 which causes systems hangs when
>> nvidia graphics cards are installed. The affected Dell systems are with
>> system IDs: 0818, 0819, 0820, 0850, 0851, 086F, 0870, 0885 and 0886.
>>
>> 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>
>> ---
>>  drivers/acpi/osi.c | 8 ++++++++
>>  1 file changed, 8 insertions(+)
>>
>> diff --git a/drivers/acpi/osi.c b/drivers/acpi/osi.c
>> index 76998a5..a22fe3a 100644
>> --- a/drivers/acpi/osi.c
>> +++ b/drivers/acpi/osi.c
>> @@ -57,6 +57,14 @@ osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = {
>>         {"Processor Device", true},
>>         {"3.0 _SCP Extensions", true},
>>         {"Processor Aggregator Device", true},
>> +       /* Linux-Dell-Video is used by BIOS to disable RTD3 for nvidia graphics
>> +        * cards as RTD3 is not supported by drivers now. Systems with nvidia
>> +        * cards will hang without RTD3 disabled.
>> +        *
>> +        * Once nvidia drivers officially support RTD3, this _OSI strings can
>> +        * be removed if both new and old graphics cards are supported.
>> +        */
>> +       {"Linux-Dell-Video", true},
>>  };
>>
>>  static u32 acpi_osi_handler(acpi_string interface, u32 supported)
>> --
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/acpi/osi.c b/drivers/acpi/osi.c
index 76998a5..a22fe3a 100644
--- a/drivers/acpi/osi.c
+++ b/drivers/acpi/osi.c
@@ -57,6 +57,14 @@  osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = {
 	{"Processor Device", true},
 	{"3.0 _SCP Extensions", true},
 	{"Processor Aggregator Device", true},
+	/* Linux-Dell-Video is used by BIOS to disable RTD3 for nvidia graphics
+	 * cards as RTD3 is not supported by drivers now. Systems with nvidia
+	 * cards will hang without RTD3 disabled.
+	 *
+	 * Once nvidia drivers officially support RTD3, this _OSI strings can
+	 * be removed if both new and old graphics cards are supported.
+	 */
+	{"Linux-Dell-Video", true},
 };
 
 static u32 acpi_osi_handler(acpi_string interface, u32 supported)