summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-06-23 12:11:13 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-06-24 10:39:13 -0400
commit66abb996999de0d440a02583a6e70c2c24deab45 (patch)
tree9091137796be5b8703d75439d1b0d77c90b03b28 /scripts/lib/kdoc/kdoc_parser.py
parent31135cc99c40247bec924dcdcd74a58e866c52d8 (diff)
drm/amd/display: Fix AMDGPU_MAX_BL_LEVEL value
[Why] commit 16dc8bc27c2a ("drm/amd/display: Export full brightness range to userspace") adjusted the brightness range to scale to larger values, but missed updating AMDGPU_MAX_BL_LEVEL which is needed to make sure that scaling works properly with custom brightness curves. [How] As the change for max brightness of 0xFFFF only applies to devices supporting DC, use existing DC define MAX_BACKLIGHT_LEVEL. Fixes: 16dc8bc27c2a ("drm/amd/display: Export full brightness range to userspace") Acked-by: Alex Deucher <alexander.deucher@amd.com> Link: https://lore.kernel.org/r/20250623171114.1156451-1-mario.limonciello@amd.com Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 5b852044eb0d3e1f1c946d32e05fcb068e0a20a0) Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions