summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRay Wu <ray.wu@amd.com>2026-09-18 11:05:46 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-10-01 17:17:47 -0400
commit51cc916648d1421e0271090fb4fa86550a7a96d9 (patch)
treea2cd200d769bfa2d164083f67d5ba01cfdf32043 /tools/perf/scripts/python/stackcollapse.py
parenteaeac1498b289b342449b678a567a9012360f91a (diff)
downloadlinux-next-51cc916648d1421e0271090fb4fa86550a7a96d9.tar.gz
linux-next-51cc916648d1421e0271090fb4fa86550a7a96d9.zip
drm/amd/display: map PWM brightness through custom backlight curve
[Why/How] On the PWM path, convert the userspace brightness to an input signal and derive the target luminance from the custom backlight curve, then pass the resulting millipercent to the power module. This keeps PWM programming and backlight curve mapping in the power module, aligning the Linux path with the Windows behavior. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/5723 Fixes: 3c108046e1d6 ("drm/amd/display: Add power module on Linux") Assisted-by: Cursor:Claude-Opus-4.8 Signed-off-by: Ray Wu <ray.wu@amd.com> Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com> Reviewed-by: ChiaHsuan (Tom) Chung <chiahsuan.chung@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit bc4e099caa85e8d4c3555851a0feb07058c4a1fe) Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions