]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Enable DEGAMMA and reject COLOR_PIPELINE+DEGAMMA_LUT
authorAlex Hung <alex.hung@amd.com>
Fri, 27 Feb 2026 19:30:38 +0000 (12:30 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Mar 2026 21:35:17 +0000 (16:35 -0500)
commit196a6aa727f1f15eb54dda5e60a41543ea9397ee
tree485050231f4576bd68ff6ec917396b1a4eb04ae0
parent43175f6164d32cb96362d16e357689f74298145c
drm/amd/display: Enable DEGAMMA and reject COLOR_PIPELINE+DEGAMMA_LUT

[WHAT]
Create DEGAMMA properties even if color pipeline is enabled, and enforce
the mutual exclusion in atomic check by rejecting any commit that
attempts to enable both COLOR_PIPELINE on the plane and DEGAMMA_LUT on
the CRTC simultaneously.

Fixes: 18a4127e9315 ("drm/amd/display: Disable CRTC degamma when color pipeline is enabled")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4963
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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c