drm/amd/display: Set color_mgmt_changed to true on unsuspend
authorjsg <jsg@openbsd.org>
Sat, 15 Jun 2024 03:38:25 +0000 (03:38 +0000)
committerjsg <jsg@openbsd.org>
Sat, 15 Jun 2024 03:38:25 +0000 (03:38 +0000)
From Joshua Ashton
17f689f10fc0095df305c7ee6291dbd9cb30330b in linux-6.6.y/6.6.33
2eb9dd497a698dc384c0dd3e0311d541eb2e13dd in mainline linux

sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index ff3730c..ab5cdb0 100644 (file)
@@ -2960,6 +2960,7 @@ static int dm_resume(void *handle)
                        dc_stream_release(dm_new_crtc_state->stream);
                        dm_new_crtc_state->stream = NULL;
                }
+               dm_new_crtc_state->base.color_mgmt_changed = true;
        }
 
        for_each_new_plane_in_state(dm->cached_state, plane, new_plane_state, i) {