]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Fix default DC and AC levels
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 14 May 2025 21:06:40 +0000 (16:06 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jun 2025 19:33:38 +0000 (15:33 -0400)
commit8b5f3a229a70d242322b78c8e13744ca00212def
tree3aa7039f58b046a69fc700981452811320bb3053
parent4b61b8a390511a1864f26cc42bab72881e93468d
drm/amd/display: Fix default DC and AC levels

[Why]
DC and AC levels are advertised in a percentage, not a luminance.

[How]
Scale DC and AC levels to supported values.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4221
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c