Re: [PATCH 1/4] ACPI: OSI: Remove Linux-Dell-Video _OSI string

From: Rafael J. Wysocki
Date: Thu Aug 25 2022 - 14:20:42 EST


On Wed, Aug 24, 2022 at 8:28 PM Limonciello, Mario
<Mario.Limonciello@xxxxxxx> wrote:
>
> [Public]
>
>
>
> > -----Original Message-----
> > From: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
> > Sent: Wednesday, August 24, 2022 09:17
> > To: Limonciello, Mario <Mario.Limonciello@xxxxxxx>
> > Cc: rafael@xxxxxxxxxx; Len Brown <lenb@xxxxxxxxxx>;
> > nouveau@xxxxxxxxxxxxxxxxxxxxx; hdegoede@xxxxxxxxxx;
> > ddadap@xxxxxxxxxx; Dell.Client.Kernel@xxxxxxxx; kherbst@xxxxxxxxxx;
> > Lyude Paul <lyude@xxxxxxxxxx>; linux-acpi@xxxxxxxxxxxxxxx; linux-
> > kernel@xxxxxxxxxxxxxxx
> > Subject: Re: [PATCH 1/4] ACPI: OSI: Remove Linux-Dell-Video _OSI string
> >
> > On Wed, Aug 24, 2022 at 2:51 AM Mario Limonciello
> > <mario.limonciello@xxxxxxx> wrote:
> > >
> > > This string was introduced because drivers for NVIDIA hardware
> > > had bugs supporting RTD3 in the past. Thoes bugs have been fixed
> > > by commit 5775b843a619 ("PCI: Restore config space on runtime resume
> > > despite being unbound"). so vendors shouldn't be using this string
> > > to modify ASL anymore.
> >
> > Add some backgrounds on what happened.
> >
> > Before proprietary NVIDIA driver supports RTD3, Ubuntu has a mechanism
> > that can switch PRIME on and off, though it requires to logout/login
> > to make the library switch happen.
> > When the PRIME is off, the mechanism unload NVIDIA driver and put the
> > device to D3cold, but GPU never came back to D0 again. So ODM use the
> > _OSI to expose an old _DSM method to switch the power on/off.
> >
> > The issue is fixed by the said commit so we can discard the workaround now.
> >
>
> Thanks for that. If this series needs to spin I'll roll that into the commit message.
> Otherwise perhaps Rafael can pick up some of it if he thinks it makes sense to include.

I've applied the series (as 6.1 material) and included the information
above into the changelog of the first patch. I've also edited the
changelogs of the other patches somewhat.

Thanks!