]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1de8d4a0291071a1ac6298a303bed8542c53d7a8
tree74462e763039a9314e9dd300acfe3a43b1601e22
parent83023d1803eeca02058281a4d8e9c70a5ed80492
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