drm/amd/display: Fix Chroma Surface height/width initialization
authorSung Joon Kim <sungkim@amd.com>
Thu, 17 Aug 2023 16:21:55 +0000 (12:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Oct 2023 20:50:59 +0000 (16:50 -0400)
commit969fe903ee2ea8e6a7781608ca2ee72d9b748c00
treeb55bebfedc81b2175004f29e3366f6b932c31457
parent9158920cc87f4352b93ee52862e21c14a9cc953c
drm/amd/display: Fix Chroma Surface height/width initialization

[why]
Surface height/width for Chroma has another variable that it should be
intialized to, chroma_size. Fixing this will help pass DML2.0 validation
for YCbCr420 tests, DCHB006.109,129, DCHB014.011,012.

[how]
Assign SurfaceHeight/WidthC to chroma_size.height/width

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Sung Joon Kim <sungkim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c