drm/amd/display: Use two pixel per container for k1/k2 div
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 14 Jun 2022 20:38:01 +0000 (16:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jul 2022 20:11:15 +0000 (16:11 -0400)
commit2b2b3a751b29a09942a15bc0c4fed940b7ce1857
treec95ed9de1dc0a71fa03c3740752225cc8de90df6
parent88ef4c5bb36bf60b317b74d8652c7766c9272a7e
drm/amd/display: Use two pixel per container for k1/k2 div

Currently, we check if pixel_encoding is equal to
PIXEL_ENCODING_YCBCR422 to get the k1/k2 div parameters. This commit
changes this logic slightly by checking if two pixels per container are
used.

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@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