]> exis.tech > repos - linux.git/commit
drm/amd/display: use plane color_mgmt_changed to track colorop changes
authorMelissa Wen <mwen@igalia.com>
Tue, 9 Jun 2026 10:20:21 +0000 (12:20 +0200)
committerMelissa Wen <melissa.srw@gmail.com>
Wed, 10 Jun 2026 10:13:37 +0000 (07:13 -0300)
commitd79716401a954677a93c4dd51fec65beccb38296
treeafffed2d3f386137b5e8dfbdb6dec0a111edcf91
parent2e235e2a2784b12b735321e5b42240ca51c49b0f
drm/amd/display: use plane color_mgmt_changed to track colorop changes

Ensure the driver tracks changes in any colorop property of a plane
color pipeline by using the same mechanism of CRTC color management and
update plane color blocks when any colorop property changes. It fixes an
issue observed on gamescope settings for night mode which is done via
shaper/3D-LUT updates.

Fixes: 9ba25915efba ("drm/amd/display: Add support for sRGB EOTF in DEGAM block")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patch.msgid.link/20260609110420.1298352-5-mwen@igalia.com
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c