drm/amd/display: Implement interface for CRC on CRTC
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Mon, 18 Dec 2017 19:20:39 +0000 (14:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:36 +0000 (14:17 -0500)
commit31aec354f92ca811df79439233130dbd232162a9
tree1b99b1672dd517481f50e488d709d53d07988618
parent8cb1545caddb4416f12c43adba4657e48a14e0fc
drm/amd/display: Implement interface for CRC on CRTC

Add interfaces in DC for per CRTC CRC configuration and fetching.
Also implement amdgpu_dm functions to hook onto DRM.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/Makefile
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_crc.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc_stream.h
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h