]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Update min Z8 residency time to 2100 for DCN314
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 8 Nov 2023 15:59:00 +0000 (10:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2023 23:04:19 +0000 (18:04 -0500)
[Why]
Some panels with residency period of 2054 exhibit flickering with
Z8 at the end of the frame.

[How]
As a workaround, increase the limit to block these panels.

Cc: stable@vger.kernel.org # 6.1+
Reviewed-by: Syed Hassan <syed.hassan@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c

index 677361d74a4ecf26f8bc1032512c2aa7610f8fa3..c97391edb5ff7a43e437901004db526c31fdd54c 100644 (file)
@@ -871,7 +871,7 @@ static const struct dc_plane_cap plane_cap = {
 static const struct dc_debug_options debug_defaults_drv = {
        .disable_z10 = false,
        .enable_z9_disable_interface = true,
-       .minimum_z8_residency_time = 2000,
+       .minimum_z8_residency_time = 2100,
        .psr_skip_crtc_disable = true,
        .replay_skip_crtc_disabled = true,
        .disable_dmcu = true,