]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90701e53b6d283378abcbf0f1baeb6864059c6c8
treec757a0e8d5c4344b91383b57c171a07ffb815874
parent8e711415461960b467f568bdb76c9552f416f14a
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