drm/amd/display: program k1/k2 divider for virtual signal for DCN32
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Tue, 9 Aug 2022 21:07:14 +0000 (17:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:34:40 +0000 (13:34 -0400)
commite6cf22ef5fae493a99e162c3f2e7233448d2b970
tree6aafeebc664738019f43a807e821673dce6b8dff
parent28c042707bf23436d4fa3ecc1eab1a62dd1f6d7d
drm/amd/display: program k1/k2 divider for virtual signal for DCN32

[Why&How]
When using IGT, kms_bw multi display tests trigger an assert since
we ignore virtual signal type. k1/k2 dividers should be correctly
programmed if VSYNC needs to be correct. Add the appropriate condition
to the if arm to fix this.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c