drm/amd/display: Update color props when modeset is required
authorLeo (Sunpeng) Li <[email protected]>
Thu, 31 May 2018 14:23:37 +0000 (10:23 -0400)
committerAlex Deucher <[email protected]>
Thu, 31 May 2018 18:08:26 +0000 (13:08 -0500)
commitbc13f2f88eae63af943ab967cb14bb602f8f2eeb
treeb083803242e6146e0f810159ad4512148c35b9fc
parenta9e8d27574f26700575473011cb607d4abdbda5f
drm/amd/display: Update color props when modeset is required

This fixes issues where color management properties don't persist
over DPMS on/off, or when the CRTC is moved across connectors.

Signed-off-by: Leo (Sunpeng) Li <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Cc: [email protected]
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c