drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue
authorFangzhi Zuo <jerry.zuo@amd.com>
Thu, 11 Jan 2024 19:46:01 +0000 (14:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jan 2024 22:33:11 +0000 (17:33 -0500)
commitfaf51b201bc42adf500945732abb6220c707d6f3
tree88b6ee67e78949afc3b2484a595bcdcf471ca5fd
parent191cb4ed33a61c90feed8bda0f0df3a419604fc8
drm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue

[why]
odm calculation is missing for pipe split policy determination
and cause Underflow/Corruption issue.

[how]
Add the odm calculation.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@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/dml2/dml2_translation_helper.c
drivers/gpu/drm/amd/display/dc/inc/core_types.h