diff options
| author | Mario Limonciello <[email protected]> | 2025-05-29 14:46:32 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-06-18 16:19:17 +0000 |
| commit | 8dbd72cb790058ce52279af38a43c2b302fdd3e5 (patch) | |
| tree | 9a2bac366f857cfb67ccbd43f29cd9f72c68d41f /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/amd/display: Only read ACPI backlight caps once (diff) | |
| download | kernel-8dbd72cb790058ce52279af38a43c2b302fdd3e5.tar.gz kernel-8dbd72cb790058ce52279af38a43c2b302fdd3e5.zip | |
drm/amd/display: Export full brightness range to userspace
[WHY]
Userspace currently is offered a range from 0-0xFF but the PWM is
programmed from 0-0xFFFF. This can be limiting to some software
that wants to apply greater granularity.
[HOW]
Convert internally to firmware values only when mapping custom
brightness curves because these are in 0-0xFF range. Advertise full
PWM range to userspace.
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Reviewed-by: Roman Li <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
