drm/amd/display: Fix TMDS 4K@60Hz YCbCr420 corruption issue
authorDaniel Miess <Daniel.Miess@amd.com>
Tue, 19 Jul 2022 15:43:28 +0000 (11:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Aug 2022 19:11:51 +0000 (15:11 -0400)
commit9bd110ab06e93fd01938dedd8b6015940418f0fb
treed5232356ef13dfe0c8cf2fa0c9ff85b117be150c
parent0cd34ce82b0a9ce503d35a51bff47ba3b6715557
drm/amd/display: Fix TMDS 4K@60Hz YCbCr420 corruption issue

[Why]
DIG_FIFO_OUTPUT_PIXEL_MODE not being set for dcn314
resulting in incorrect timing for YCbCr4:2:0

[How]
Copy the implementation of set_pixels_per_cycle from dcn32
over to dcn314

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Daniel Miess <Daniel.Miess@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/dcn314/dcn314_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.h
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_init.c