drm/amd/display: Add CRC support for DCN
authorDavid Francis <David.Francis@amd.com>
Tue, 26 Jun 2018 18:58:15 +0000 (14:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:51:39 +0000 (14:51 -0500)
commit99a100ae327c2d9c89740bd556cc128f666ba71b
tree74462e763039a9314e9dd300acfe3a43b1601e22
parent4e18814eeec946fa864723423c9a607815ede5cb
drm/amd/display: Add CRC support for DCN

[Why]
Regamma/CTM tests require CRC support

[How]
The CRC registers that were used in DCE exist under different
names in DCN.  The code was copied from DCE (in
dc/dce110/dce110_timing_generator.c) into DCN, and changed to
use the DCN register access helper functions.

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h