mbox series

[0/7] ACPI: video: Prefer native over vendor + quirk updates

Message ID 20221114144459.455519-1-hdegoede@redhat.com
Headers show
Series ACPI: video: Prefer native over vendor + quirk updates | expand

Message

Hans de Goede Nov. 14, 2022, 2:44 p.m. UTC
Hi Rafael, et. al.,

As mentioned already in the RFC:

"""
Here is a second attempt at always registering only a single
/sys/class/backlight device per panel.

This first round of testing has shown that native works well even on
systems so old that the don't have acpi_video backlight control support.

This patch series makes native be preferred over vendor, which should
avoid the problems seen with the 6.1 changes before the fixes.
"""

The 2 base patches (last 2 patches of the series now) are unchanged from
the RFC. New is a bunch of video_detect DMI quirk updates, 3 small fixes to
existing quirks + 2 new quirks. 1 of the new quirks is necessary to avoid
a known regression with preferring native over vendor on 1 model,
the other DMI quirk is unrelated to the other changes.

This series applies on top of the platform-drivers-x86-v6.1-3 tag from:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/

So either you will need to merge that tag (or merge v6.1-rc5 from Linus)
before applying these patches, or I can merge this through my for-next
branch which already has these changes. Either way works for me.

Regards,

Hans


Hans de Goede (7):
  ACPI: video: Add a few bugtracker links to DMI quirks
  ACPI: video: Change GIGABYTE GB-BXBT-2807 quirk to force_none
  ACPI: video: Change Sony Vaio VPCEH3U1E quirk to force_native
  ACPI: video: Add force_vendor quirk for Sony Vaio PCG-FRV35
  ACPI: video: Add force_native quirk for Sony Vaio VPCY11S1E
  ACPI: video: Simplify __acpi_video_get_backlight_type()
  ACPI: video: Prefer native over vendor

 drivers/acpi/video_detect.c | 110 ++++++++++++++++++++----------------
 1 file changed, 62 insertions(+), 48 deletions(-)

Comments

Rafael J. Wysocki Nov. 14, 2022, 3:27 p.m. UTC | #1
On Mon, Nov 14, 2022 at 3:45 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> Hi Rafael, et. al.,
>
> As mentioned already in the RFC:
>
> """
> Here is a second attempt at always registering only a single
> /sys/class/backlight device per panel.
>
> This first round of testing has shown that native works well even on
> systems so old that the don't have acpi_video backlight control support.
>
> This patch series makes native be preferred over vendor, which should
> avoid the problems seen with the 6.1 changes before the fixes.
> """
>
> The 2 base patches (last 2 patches of the series now) are unchanged from
> the RFC. New is a bunch of video_detect DMI quirk updates, 3 small fixes to
> existing quirks + 2 new quirks. 1 of the new quirks is necessary to avoid
> a known regression with preferring native over vendor on 1 model,
> the other DMI quirk is unrelated to the other changes.
>
> This series applies on top of the platform-drivers-x86-v6.1-3 tag from:
> https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/
>
> So either you will need to merge that tag (or merge v6.1-rc5 from Linus)
> before applying these patches, or I can merge this through my for-next
> branch which already has these changes. Either way works for me.

I'll apply them on top of the -rc5.

> Hans de Goede (7):
>   ACPI: video: Add a few bugtracker links to DMI quirks
>   ACPI: video: Change GIGABYTE GB-BXBT-2807 quirk to force_none
>   ACPI: video: Change Sony Vaio VPCEH3U1E quirk to force_native
>   ACPI: video: Add force_vendor quirk for Sony Vaio PCG-FRV35
>   ACPI: video: Add force_native quirk for Sony Vaio VPCY11S1E
>   ACPI: video: Simplify __acpi_video_get_backlight_type()
>   ACPI: video: Prefer native over vendor
>
>  drivers/acpi/video_detect.c | 110 ++++++++++++++++++++----------------
>  1 file changed, 62 insertions(+), 48 deletions(-)
>
> --

Thanks!
Rafael J. Wysocki Nov. 16, 2022, 7 p.m. UTC | #2
On Mon, Nov 14, 2022 at 5:12 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> Hi,
>
> On 11/14/22 16:27, Rafael J. Wysocki wrote:
> > On Mon, Nov 14, 2022 at 3:45 PM Hans de Goede <hdegoede@redhat.com> wrote:
> >>
> >> Hi Rafael, et. al.,
> >>
> >> As mentioned already in the RFC:
> >>
> >> """
> >> Here is a second attempt at always registering only a single
> >> /sys/class/backlight device per panel.
> >>
> >> This first round of testing has shown that native works well even on
> >> systems so old that the don't have acpi_video backlight control support.
> >>
> >> This patch series makes native be preferred over vendor, which should
> >> avoid the problems seen with the 6.1 changes before the fixes.
> >> """
> >>
> >> The 2 base patches (last 2 patches of the series now) are unchanged from
> >> the RFC. New is a bunch of video_detect DMI quirk updates, 3 small fixes to
> >> existing quirks + 2 new quirks. 1 of the new quirks is necessary to avoid
> >> a known regression with preferring native over vendor on 1 model,
> >> the other DMI quirk is unrelated to the other changes.
> >>
> >> This series applies on top of the platform-drivers-x86-v6.1-3 tag from:
> >> https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/
> >>
> >> So either you will need to merge that tag (or merge v6.1-rc5 from Linus)
> >> before applying these patches, or I can merge this through my for-next
> >> branch which already has these changes. Either way works for me.
> >
> > I'll apply them on top of the -rc5.
>
> Great, thank you.

Applied now, thanks!