]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Fix gamma 2.2 colorop TFs
authorAlex Hung <alex.hung@amd.com>
Wed, 11 Mar 2026 21:18:37 +0000 (15:18 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Mar 2026 16:08:46 +0000 (12:08 -0400)
commitb49814033cb5224c818cfb04dccb3260da10cc4f
treee37bc0f41ed95fdea986fd505f5a19082af2af74
parentf338e77383789c0cae23ca3d48adcc5e9e137e3c
drm/amd/display: Fix gamma 2.2 colorop TFs

Use GAMMA22 for degamma/blend and GAMMA22_INV for shaper so
curves match the color pipeline.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/5016
Tested-by: Xaver Hugl <xaver.hugl@kde.org>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d8f9f42effd767ffa7bbcd7e05fbd6b20737e468)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.c