drm/amd/display: Add missing shifts and masks for dpp registers on dcn2
authorJoshua Aberback <joshua.aberback@amd.com>
Fri, 6 Sep 2019 21:34:19 +0000 (17:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:31:42 +0000 (19:31 -0500)
commitd56eaa7cfb098598abcee1fb1fe23ad2f08e1e30
tree8313cf2d41cd00cb3570739bac0cbd20adfd1bfc
parentdeb79818e1b420ee593443230eafb932094f0674
drm/amd/display: Add missing shifts and masks for dpp registers on dcn2

[Why]
The register CM_TEST_DEBUG_DATA is used in dpp1_program_input_csc, which is
called from dpp2_cnv_setup, but the shifts and masks for the fields of that
register are not initialized for dcn2. This causes all reads of that register
to return 0.

Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Reviewed-by: Jaehyun Chung <Jaehyun.Chung@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c