diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-05-29 09:46:32 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-06-18 13:08:18 -0400 |
commit | 16dc8bc27c2aa3c93905d3e885e27f1e3535f09a (patch) | |
tree | 4458bf14f0b822994d060553cef6c9cb527a593a /scripts/gdb/linux/utils.py | |
parent | ffcaed1d7ecef31198000dfbbea791f30f7ca437 (diff) |
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 <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 8dbd72cb790058ce52279af38a43c2b302fdd3e5)
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions