From: jsg Date: Sat, 15 Jun 2024 03:38:25 +0000 (+0000) Subject: drm/amd/display: Set color_mgmt_changed to true on unsuspend X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f11fa0684392046dd43d8c613e2e669c72dcaaaf;p=openbsd 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 --- 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) {