]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/display: update DML2 policy EnhancedPrefetchScheduleAccelerationFinal DCN35
authorYihan Zhu <Yihan.Zhu@amd.com>
Sat, 7 Sep 2024 17:25:19 +0000 (13:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2024 21:29:07 +0000 (17:29 -0400)
[WHY & HOW]
Mismatch in DCN35 DML2 cause bw validation failed to acquire unexpected DPP pipe to cause
grey screen and system hang. Remove EnhancedPrefetchScheduleAccelerationFinal value override
to match HW spec.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Yihan Zhu <Yihan.Zhu@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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/dml2_policy.c

index c4c52173ef2240d181fef8309891cc921535fc4e..11c904ae29586d8b6b179a4011894bb58d6dcc8b 100644 (file)
@@ -303,7 +303,6 @@ void build_unoptimized_policy_settings(enum dml_project_id project, struct dml_m
        if (project == dml_project_dcn35 ||
                project == dml_project_dcn351) {
                policy->DCCProgrammingAssumesScanDirectionUnknownFinal = false;
-               policy->EnhancedPrefetchScheduleAccelerationFinal = 0;
                policy->AllowForPStateChangeOrStutterInVBlankFinal = dml_prefetch_support_uclk_fclk_and_stutter_if_possible; /*new*/
                policy->UseOnlyMaxPrefetchModes = 1;
        }