drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
authorjsg <jsg@openbsd.org>
Mon, 3 Oct 2022 11:59:53 +0000 (11:59 +0000)
committerjsg <jsg@openbsd.org>
Mon, 3 Oct 2022 11:59:53 +0000 (11:59 +0000)
From Nathan Chancellor
1c26968caf181add92bbf556e3eb3c14ccbe7fa2 in linux 5.15.y/5.15.71
41012d715d5d7b9751ae84b8fb255e404ac9c5d0 in mainline linux

sys/dev/pci/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c

index 9964b5b..43b6c69 100644 (file)
@@ -6660,8 +6660,7 @@ static double CalculateUrgentLatency(
        return ret;
 }
 
-
-static void UseMinimumDCFCLK(
+static noinline_for_stack void UseMinimumDCFCLK(
                struct display_mode_lib *mode_lib,
                int MaxInterDCNTileRepeaters,
                int MaxPrefetchMode,