]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amd/display: Disable Z8 minimum stutter period check for DCN35
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 20 Mar 2024 19:36:09 +0000 (15:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 02:04:15 +0000 (22:04 -0400)
[Why]
The threshold is no longer useful for blocking suboptimal power states
for DCN35 based on real measurement.

[How]
Reduce to the minimum threshold duration, 1us.

Reviewed-by: Gabe Teeger <gabe.teeger@amd.com>
Acked-by: Roman Li <roman.li@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/resource/dcn35/dcn35_resource.c

index f1efce1bfbec36cd4436ec93e59554cc35e72a4f..479641fedcd4ee4fbb7e3323c25040f99d0f7abf 100644 (file)
@@ -764,7 +764,7 @@ static const struct dc_debug_options debug_defaults_drv = {
        },
        .seamless_boot_odm_combine = DML_FAIL_SOURCE_PIXEL_FORMAT,
        .enable_z9_disable_interface = true, /* Allow support for the PMFW interface for disable Z9*/
-       .minimum_z8_residency_time = 2100,
+       .minimum_z8_residency_time = 1, /* Always allow when other conditions are met */
        .using_dml2 = true,
        .support_eDP1_5 = true,
        .enable_hpo_pg_support = false,