drm/amd/display: Hookup color management functions
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Fri, 2 Feb 2018 15:18:56 +0000 (10:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:20:07 +0000 (14:20 -0500)
commite277adc5a06cfc95ad3e1a6b80bcd97ab4b01ea6
treec757a0e8d5c4344b91383b57c171a07ffb815874
parent303afd2dbf1b556bf9c5d3220c167c925b06a2c7
drm/amd/display: Hookup color management functions

Hookup new color management functions into amdgpu_dm:

- Notify DRM that we support CRTC color management during CRTC init
- Call color management functions within atomic check to update dc
  states in preparation for a commit

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
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
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c