]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Don't allow OLED to go down to fully off
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 19 Jun 2025 14:29:13 +0000 (09:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Jun 2025 18:01:05 +0000 (14:01 -0400)
commit39d81457ad3417a98ac826161f9ca0e642677661
tree285ee989da15fc641aa85a56785a683ec5a48384
parent84f2902bfcfe79e94adf5dfe9bf85ad334a4c63a
drm/amd/display: Don't allow OLED to go down to fully off

[Why]
OLED panels can be fully off, but this behavior is unexpected.

[How]
Ensure that minimum luminance is at least 1.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4338
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 51496c7737d06a74b599d0aa7974c3d5a4b1162e)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c