]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Fix DML2 watermark calculation
authorOvidiu Bunea <ovidiu.bunea@amd.com>
Tue, 19 Dec 2023 02:40:45 +0000 (21:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Jan 2024 23:35:38 +0000 (18:35 -0500)
commit2254ab45dab22a18fdd29fe0e471706872c00093
tree8ed21335cd1fe3a2bcba3d1a3199f8676fe2bc03
parentb4e05bb1dec53fe28c3c88425aded824498666e5
drm/amd/display: Fix DML2 watermark calculation

[Why]
core_mode_programming in DML2 should output watermark calculations
to locals, but it incorrectly uses mode_lib

[How]
update code to match HW DML2

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: Alex Hung <alex.hung@amd.com>
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@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/display_mode_core.c