Hi Sasha,
On 2025-01-26 09:54:18-0500, Sasha Levin wrote:
From: Thomas Weißschuh linux@weissschuh.net
[ Upstream commit 22e5c7ae12145af13785e3ff138395d5b1a22116 ]
Panels using a PWM-controlled backlight source do not have a standard way to communicate their valid PWM ranges. On x86 the ranges are read from ACPI through driver-specific tables. The built-in ranges are not necessarily correct, or may grow stale if an older device can be retrofitted with newer panels.
Add a quirk infrastructure with which the minimum valid backlight value can be maintained as part of the kernel.
This series [0] has been applied to the 6.12 and 6.13 stable trees. However it is introducing new functionality and not fixing any bug. Furthermore, for 6.12 the patch for drm/amd/display enabling the new functionality was not even applied, making all of it dead code.
[0] https://lore.kernel.org/lkml/20241111-amdgpu-min-backlight-quirk-v7-0-f66285...
Patches: drm: Add panel backlight quirks drm/amd/display: Add support for minimum backlight quirk drm: panel-backlight-quirks: Add Framework 13 matte panel drm: panel-backlight-quirks: Add Framework 13 glossy and 2.8k panels
Regards, Thomas