]> git.itanic.dy.fi Git - linux-stable/commitdiff
drm/amd/display: Change default Z8 watermark values
authorLeo Chen <sancchen@amd.com>
Thu, 13 Apr 2023 21:34:24 +0000 (17:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:53:56 +0000 (11:53 +0200)
[ Upstream commit 8f586cc16c1fc3c2202c9d54563db8c7ed365f82 ]

[Why & How]
Previous Z8 watermark values were causing flickering and OTC underflow.
Updating Z8 watermark values based on the measurement.

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Leo Chen <sancchen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c

index 2c99193b63fa63f6b10e2ae51fb8265f9a738333..4f91e64754239c537c04b78d48534ef15670d370 100644 (file)
@@ -148,8 +148,8 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_14_soc = {
        .num_states = 5,
        .sr_exit_time_us = 16.5,
        .sr_enter_plus_exit_time_us = 18.5,
-       .sr_exit_z8_time_us = 210.0,
-       .sr_enter_plus_exit_z8_time_us = 310.0,
+       .sr_exit_z8_time_us = 268.0,
+       .sr_enter_plus_exit_z8_time_us = 393.0,
        .writeback_latency_us = 12.0,
        .dram_channel_width_bytes = 4,
        .round_trip_ping_latency_dcfclk_cycles = 106,