diff options
| author | Mario Limonciello <[email protected]> | 2025-06-23 17:11:13 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-06-24 14:04:41 +0000 |
| commit | 5b852044eb0d3e1f1c946d32e05fcb068e0a20a0 (patch) | |
| tree | 0c418192103b2e1389091d6194dd92154a7d4ea4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | drm/amd: Fix spelling mistake "correctalbe" -> "correctable" (diff) | |
| download | kernel-5b852044eb0d3e1f1c946d32e05fcb068e0a20a0.tar.gz kernel-5b852044eb0d3e1f1c946d32e05fcb068e0a20a0.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
