drm/amd/display: Set color_mgmt_changed to true on unsuspend
authorJoshua Ashton <joshua@froggi.es>
Thu, 2 Nov 2023 04:21:55 +0000 (04:21 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Apr 2024 03:17:29 +0000 (23:17 -0400)
commit2eb9dd497a698dc384c0dd3e0311d541eb2e13dd
treef0c9c9e9f2214e58636ba420e27f52d0c414e726
parented30a4a51bb196781c8058073ea720133a65596f
drm/amd/display: Set color_mgmt_changed to true on unsuspend

Otherwise we can end up with a frame on unsuspend where color management
is not applied when userspace has not committed themselves.

Fixes re-applying color management on Steam Deck/Gamescope on S3 resume.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c