diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-06-15 03:38:26 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-06-15 03:38:26 +0000 |
commit | f8efd3e19f1eb74a0d26c6afef4b34a9fc5b4cd4 (patch) | |
tree | 81c7ec32d2c0511950efac5c1bc3884e314cd175 | |
parent | f9fccb3f9a3b2f99b7f65977c29e420a5e761b66 (diff) |
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
-rw-r--r-- | sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |