Re: [PATCH] drm/amd/display: Validate backlight caps are sane

2024-09-14 Thread Thomas Weißschuh
On 2024-09-13 15:48:55+, Mario Limonciello wrote: > On 9/13/2024 15:36, Alex Deucher wrote: > > On Fri, Sep 13, 2024 at 2:51 PM Mario Limonciello > > wrote: > > > > > > On 9/13/2024 13:47, Harry Wentland wrote: > > > > > > > > > > > > On 2024-09-13 14:00, Mario Limonciello wrote: > > > > >

Re: [PATCH] drm/amd/display: Validate backlight caps are sane

2024-09-13 Thread Mario Limonciello
On 9/13/2024 15:36, Alex Deucher wrote: On Fri, Sep 13, 2024 at 2:51 PM Mario Limonciello wrote: On 9/13/2024 13:47, Harry Wentland wrote: On 2024-09-13 14:00, Mario Limonciello wrote: Currently amdgpu takes backlight caps provided by the ACPI tables on systems as is. If the firmware sets

Re: [PATCH] drm/amd/display: Validate backlight caps are sane

2024-09-13 Thread Alex Deucher
On Fri, Sep 13, 2024 at 2:51 PM Mario Limonciello wrote: > > On 9/13/2024 13:47, Harry Wentland wrote: > > > > > > On 2024-09-13 14:00, Mario Limonciello wrote: > >> Currently amdgpu takes backlight caps provided by the ACPI tables > >> on systems as is. If the firmware sets maximums that are too

Re: [PATCH] drm/amd/display: Validate backlight caps are sane

2024-09-13 Thread Harry Wentland
On 2024-09-13 14:51, Mario Limonciello wrote: > On 9/13/2024 13:47, Harry Wentland wrote: >> >> >> On 2024-09-13 14:00, Mario Limonciello wrote: >>> Currently amdgpu takes backlight caps provided by the ACPI tables >>> on systems as is.  If the firmware sets maximums that are too low >>> this me

Re: [PATCH] drm/amd/display: Validate backlight caps are sane

2024-09-13 Thread Mario Limonciello
On 9/13/2024 13:47, Harry Wentland wrote: On 2024-09-13 14:00, Mario Limonciello wrote: Currently amdgpu takes backlight caps provided by the ACPI tables on systems as is. If the firmware sets maximums that are too low this means that users don't get a good experience. To avoid having to mai

Re: [PATCH] drm/amd/display: Validate backlight caps are sane

2024-09-13 Thread Harry Wentland
On 2024-09-13 14:00, Mario Limonciello wrote: > Currently amdgpu takes backlight caps provided by the ACPI tables > on systems as is. If the firmware sets maximums that are too low > this means that users don't get a good experience. > > To avoid having to maintain a quirk list of such systems

[PATCH] drm/amd/display: Validate backlight caps are sane

2024-09-13 Thread Mario Limonciello
Currently amdgpu takes backlight caps provided by the ACPI tables on systems as is. If the firmware sets maximums that are too low this means that users don't get a good experience. To avoid having to maintain a quirk list of such systems, do a sanity check on the values. Check that the spread i