From f11fa0684392046dd43d8c613e2e669c72dcaaaf Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 15 Jun 2024 03:38:25 +0000 Subject: [PATCH] drm/amd/display: Set color_mgmt_changed to true on unsuspend 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c index ff3730cd7f4..ab5cdb0ab1c 100644 --- a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -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) { -- 2.20.1