drm/amd/display: watermark latencies is not enough on DCN31
authorPaul Hsieh <paul.hsieh@amd.com>
Fri, 28 Jan 2022 14:03:57 +0000 (22:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 17:34:05 +0000 (18:34 +0100)
commit7ff0ed88e4eb6bd7ccd7cf422ab855032ed0528c
tree4e171b1652cd4b590541a7cc7172ec7ad8611aa8
parent4f4c77ad5a13ac39d38cc3f1b963e85ecf9d528f
drm/amd/display: watermark latencies is not enough on DCN31

commit f5fa54f45ab41cbb1f99b1208f49554132ffb207 upstream.

[Why]
The original latencies were causing underflow in some modes.
Resolution: 2880x1620@60p when HDR enable

[How]
1. Replace with the up-to-date watermark values based on new measurments
2. Correct the ddr_wm_table name to DDR5 on DCN31

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Paul Hsieh <paul.hsieh@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c