diff options
| author | 2025-08-29 16:55:37 +0200 | |
|---|---|---|
| committer | 2025-09-03 10:22:52 -0500 | |
| commit | 6eee1ef9e59853a49e926d116a004c53a9819dfd (patch) | |
| tree | 61d4c273cf9a58c569cbe306d51288b09572069d /drivers/cdx/controller/cdx_controller.c | |
| parent | drm: panel-backlight-quirks: Make EDID match optional (diff) | |
| download | linux-rng-6eee1ef9e59853a49e926d116a004c53a9819dfd.tar.xz linux-rng-6eee1ef9e59853a49e926d116a004c53a9819dfd.zip | |
drm: panel-backlight-quirks: Convert brightness quirk to generic structure
Currently, the brightness quirk is limited to minimum brightness only.
Refactor it to a structure, so that more quirks can be added in the
future. Reserve 0 value for "no quirk", and use u16 to allow minimum
brightness up to 255.
Tested-by: Philip Müller <philm@manjaro.org>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://lore.kernel.org/r/20250829145541.512671-3-lkml@antheas.dev
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
