]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52bd8f201d27faa150196d2dfc27ca1cc4eca18f
treeb083803242e6146e0f810159ad4512148c35b9fc
parentc60e7e886fa73e455411caa9208b421475bc09c9
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