drm/amd/display: Update color props when modeset is required
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Thu, 31 May 2018 14:23:37 +0000 (10:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
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 <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c